I add the same problem : an old Xcode project, Xcode 7 (not the GM, the App Store version) and Cocoapods. I have been tinkering a lot, tried Cocoapds 0.39 b3 and b4 without success, changed params in Build Settings, but finally - for me - the problem was shown by mrezk in https://github.com/CocoaPods/CocoaPods/issues/4021 :
Missing ApplicationProperties in Info.plist
As I'm not used to tinker with Info.plist and these keys, I've found in the Apple Dev forums a very useful answer : https://forums.developer.apple.com/thread/17063
In summary, for info.plist newbies like me ;) :
- Archive your project
- Organizer will show a Generic Xcode Archive
- Right Click, Show in finder
- Right Click, Show Package Contents
- Open the Info.plist file in a XML editor
- As mochs indicates, add these lines in the section :
<key>ApplicationProperties</key> <dict> <key>ApplicationPath</key> <string>Applications/<<APP_NAME>>.app</string> <key>CFBundleIdentifier</key> <string><<BUNDLE_IDENTIFIER>></string> <key>CFBundleShortVersionString</key> <string><<YOUR_MARKETING_NUMBER>></string> <key>CFBundleVersion</key> <string><<YOUR_BUILD_NUMBER>></string> <key>SigningIdentity</key> <string>iPhone Distribution: <<CERTIFICATE_NAME>> (<<CERTIFICATE_ID>>)</string> </dict>
and replace the tags with your own values.
Save, close Xcode, double click the archive : it should open in the Organizer as a iOS Type Archive.
Thanks to mrezk and mochs for the solution.
Products directory includes usr/local/includebecause it shouldn't.