😝 Following nokiddin's advice I performed the following and am now able to upload the application
and with the helpful script modifications by OutLander
Here's what I did to upload my build to the App Store
In terminal navigate to Archives location of your .xcarchive
cd Library/Developer/Xcode/Archives/2015-10-27
In my error case the issue was surrounding CFBundleShortVersionString (not everyone has issues with the short version string; there are variations of bad .plists occurring with other properties as well)
So I tweaked nokiddin's shell command to search CFBundleShortVersionString
| find . -name 'Info.plist' -not -path "*.storyboard*" | while read file; do |
| echo $file; |
| { plutil -p $file | grep CFBundleShortVersionString; } || echo Failed $file; |
| done; |
Ignoring (storyboard based ones) I scanned Failed Info.plist files
I found the one that definitely should have had a short version
./Products/Applications/smartspot-ios-app-store.app/Frameworks/Alamofire.framework/Info.plist ✅
"CFBundleShortVersionString" => "3.1.0"
./Products/Applications/smartspot-ios-app-store.app/Frameworks/Haneke.framework/Info.plist ✅
"CFBundleShortVersionString" => "1.0"
./Products/Applications/smartspot-ios-app-store.app/Frameworks/JGProgressHUD.framework/Info.plist ✅
"CFBundleShortVersionString" => "1.2.6"
./Products/Applications/smartspot-ios-app-store.app/Frameworks/Mixpanel.framework/Info.plist ✅
"CFBundleShortVersionString" => "1.0"
./Products/Applications/smartspot-ios-app-store.app/Frameworks/Mixpanel.framework/MPNotification.storyboardc/Info.plist IGNORE
Failed ./Products/Applications/smartspot-ios-app-store.app/Frameworks/Mixpanel.framework/MPNotification.storyboardc/Info.plist IGNORE
./Products/Applications/smartspot-ios-app-store.app/Frameworks/Mixpanel.framework/MPSurvey.storyboardc/Info.plist IGNORE
Failed ./Products/Applications/smartspot-ios-app-store.app/Frameworks/Mixpanel.framework/MPSurvey.storyboardc/Info.plist IGNORE
./Products/Applications/smartspot-ios-app-store.app/Frameworks/PromiseKit.framework/Info.plist ✅
"CFBundleShortVersionString" => "3.0.0"
./Products/Applications/smartspot-ios-app-store.app/Frameworks/Stripe.framework/Info.plist ✖
Failed ./Products/Applications/smartspot-ios-app-store.app/Frameworks/Stripe.framework/Info.plist
./Products/Applications/smartspot-ios-app-store.app/Info.plist ✅
"CFBundleShortVersionString" => "1.1.5"
./Products/Applications/smartspot-ios-app-store.app/LaunchScreen.storyboardc/Info.plist IGNORE
I opened the problem .plist file in Xcode via terminal command
open ./Products/Applications/smartspot-ios-app-store.app/Frameworks/Stripe.framework/Info.plist
and added the missing CFBundleShortVersionString giving it some random value.
I didn't really care so I just put in 6.0.0
Going back to Organizer I found the archive and reattempted to upload to App Store.
Success 😁 ✅