Ios – After Upgrading, XCode gives “The Package Does Not Contain an Info.plist” error when Archiving

iosiphonexcode

I have an iOS 7 app in the app store which has many in-app purchases. The in-app purchases are simply new .json data structures that I have hosted with Apple. The IAPs used to submit perfectly, but I just upgraded to XCode 6.1 when I upgraded my machine from Mountain Lion to Yosemite. Now whenever I archive a new IAP package or rearchive an old one that submitted properly last week, I get:

"Unable to validate your application. The package does not contain an Info.plist".

When I click on my target (in the Navigator pane), Build Settings | Packaging shows:

  • Info.plist File as "north_carolina.pittsburgh/ContentInfo.plist". (Debug and Release subheadings show the same information).
  • Product Name is "north_carolina.pittsburgh".

The ContentInfo.plist file is in the Supporting Files folder of my target (in the Navigator pane). In it I have keys for

  • ContentVersion (value set to 2.0)
  • IAPProductIdentifier
  • Bundle versions string, short (value set to 2.0)

Finally, in the Products folder of the Navigator, I have north_carolina.pittsburgh next to the red target icon, and the words are in red.

How can I get this archive to validate properly?

Best Answer

The error message is incorrect. What it's really erroring out on is that your "version" and "bundle" number strings probably aren't both set. Make sure you specify both in the Identity section. enter image description here