问题
Hey I don't have much to say but I've been trying to upload my app to the App Store/ iTunes connect from Xcode 9 but whenever I do I get the same error message but I'm not 100% sure on how to fix the issue. If it helps I'm using Swift, Xcode, Cocoapods, and Firebase.
Below is the Error Message
No suitable application records were found. Verify your bundle identifier 'org.cocoapods.Protobuf' is correct.
Thanks
回答1:
In my case, it was a problem with app access on appstoreconnect. In App information section, additional information subsection, edit user access option, you can change user access to the app.
We had a developer account configured along with the admin account in xcode. It seems xcode can't access app metadata when a developer account is active.
Either change app access to unlimited or log as admin on xcode. Hope this helps.
回答2:
By removing all of the pods, I figured out this is not related to the pods at all.
The error now became to "Could not find the main bundle or the Info.plist is missing a CFBundleIndentifier in ..."
After several hours debugging, I found in the info.plist
, there's a key named "Bundle OS Type code", my original value was $(PRODUCT_BUNDLE_PACKAGE_TYPE)
, this resulted into the error above.
By changing the value of Bundle OS Type code
to APPL
. I'm able to upload the app binary.
来源:https://stackoverflow.com/questions/47149223/issues-with-uploading-from-xcode-9-to-app-store-itunes-connect