Xcode trying to match frameworks bundle ID when uploading iOS app to App Store
I was receiving this exact error when trying to submit the app to iTunes Connect: "No suitable application records were found. Verify your bundle identifier 'org.cocoapods.Alamofire' is correct".
I finally fixed it by changing the Bundle OS Type code to APPL.
After quite some time struggling with this, I was able to make it work. Basically, only Alamofire was presenting this issue. Here's what I did:
- In the Navigator, click in Pods.
- Under Targets you will see all the frameworks your app is using.
- Click on Alamofire (or the framework that is causing the issue).
- Edit the Bundle Identifier. If your app Bundle Id is
com.company.appName
, writecom.company.appName.Alamofire
in it.
I tried com.company.appName
for the framework, com.company.Alamofire
, nothing worked.
It works perfectly for me. I just located Info.plist right-click open as "source code" and I changed <key>CFBundlePackageType</key>
to string APPL
<key>CFBundlePackageType</key>
<string>APPL</string>