Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-34761

Can not submit Build, as ResourceRules.plist is deprecated.

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • xcode-plugin
    • None
    • Mac OS X 10.11 / Xcode 7.2

      Currently when doing an Xcode build, you'll get the following error, when trying to submit the app to the App Store:

      ERROR ITMS-90339: "This bundle is invalid. The Info.plist contains an invalid key 'CFBundleResourceSpecification' in bundle myApp [myApp.app]"

      This is caused by the deprecated CFBundleResourceSpecification / ResourceRules.plist.
      It seems that Apple suggests to use xcodebuild instead of PackageApplication now.

      When I remove the ResourceList.plist from "Custom xcodebuild arguments", I get the following error:
      /var/folders/7q/9zh9m0fx4631vm0y_jdrgmnw00007q/T/ziGbi_t11S/Payload/myApp.app/ResourceRules.plist: cannot read resources

      See also:
      https://forums.developer.apple.com/thread/19832
      http://stackoverflow.com/questions/32763288

          [JENKINS-34761] Can not submit Build, as ResourceRules.plist is deprecated.

          Martin Straub created issue -
          Martin Straub made changes -
          Description Original: Currently when doing an Xcode build, you'll get the following error, when trying to submit the app to the App Store:

          {{ERROR ITMS-90339: "This bundle is invalid. The Info.plist contains an invalid key 'CFBundleResourceSpecification' in bundle myApp [myApp.app]"}}

          This is caused by the deprecated CFBundleResourceSpecification / ResourceRules.plist.
          It seems that Apple suggests to use xcodebuild instead of PackageApplication now.

          See also:
          https://forums.developer.apple.com/thread/19832
          http://stackoverflow.com/questions/32763288
          New: Currently when doing an Xcode build, you'll get the following error, when trying to submit the app to the App Store:

          {{ERROR ITMS-90339: "This bundle is invalid. The Info.plist contains an invalid key 'CFBundleResourceSpecification' in bundle myApp [myApp.app]"}}

          This is caused by the deprecated CFBundleResourceSpecification / ResourceRules.plist.
          It seems that Apple suggests to use xcodebuild instead of PackageApplication now.

          When I remove the ResourceList.plist from "Custom xcodebuild arguments", I get the following error:
          {{/var/folders/7q/9zh9m0fx4631vm0y_jdrgmnw00007q/T/ziGbi_t11S/Payload/myApp.app/ResourceRules.plist: cannot read resources}}

          See also:
          https://forums.developer.apple.com/thread/19832
          http://stackoverflow.com/questions/32763288

          Luis Ferro added a comment -

          Note: on xcode 6.4 this was a warning (and doesn't break the build). On xcode7 this is an error (and breaks the build).

          Luis Ferro added a comment - Note: on xcode 6.4 this was a warning (and doesn't break the build). On xcode7 this is an error (and breaks the build).
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 170944 ] New: JNJira + In-Review [ 184103 ]
          Martin Straub made changes -
          Priority Original: Critical [ 2 ] New: Major [ 3 ]

            Unassigned Unassigned
            d4rk Martin Straub
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: