iOS App Store Submission Error - ios

I have an iOS app that works fine when I deploy to an iPhone but throws the following error when attempting to submit to the App Store via Xcode.
How would I go about unblocking this?
Any help is greatly appreciated.
Unexpected CFBundleExecutable Key. The bundle at 'Payload/Picsolve.app/GooglePlus.bundle' does not contain a bundle executable. If this bundle intentionally does not contain an executable, consider removing the CFBundleExecutable key from its Info.plist and using a CFBundlePackageType of BNDL. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue.
I have checked what the error suggests... and it looks like the CFBundleExecutable key does not exist and the CFBundlePackageType of BNDL already exists.
I removed the Executable File item, and then did a project clean followed by Archive. I then attempted to validate the new archive for app store submission and the same error message displayed.

I encountered the same problem today with the same exact error message when trying to submit our app (using Xcode 7 beta 5) but instead of the instabug.bundle bit, it was for me TencentOpenApi_IOS_Bundle.bundle.
I solved the problem by finding the named bundle in the project then - just as the error message suggests - edited the Info.plist that is in the bundle by removing the CFBundleExecutable key. The CFBundlePackageType key was already set to BNDL so I didn't touch it.
After these changes, I did Product > Clean and then had no problem submitting the app to the App store.
I hope this helps.

Related

ERROR ITMS-90535: "Unexpected CFBundleExecutable Key. "

I am using apple's Test flight for delivering app to client for testing. I'm facing this error
ERROR ITMS-90535: "Unexpected CFBundleExecutable Key. The bundle at
'Payload/MyAppName.app/GooglePlus.bundle' does not contain a bundle
executable. If this bundle intentionally does not contain an
executable, consider removing the CFBundleExecutable key from its
Info.plist and using a CFBundlePackageType of BNDL. If this bundle is
part of a third-party framework, consider contacting the developer of
the framework for an update to address this issue."
Tried every solution suggested in google like removing CFBundleExecutable key and changing CFBundlePackageType BNDL.When I run the project later in device its showing error as
"missing or invalid CFBundleExecutable in its info.plist"
Here's the screenshot
my info.plist file
Help me out soon with a valid solution.
I had the same issue, with Xcode 11.5, and found the solution in Apple Developer Forum
its Worked for me.
I got this error when I accidentally tried to submit a build to the Appstore from Xcode 10.2 beta 3. When I realized the error and re-archived and re-submitted using the release version of Xcode (10.1), everything worked properly...

iOS build is displayed as invalid at iTunesConnect

iOS build is displayed invalid at iTunesConnect and Apple replies back with the following email:
Dear developer,
We have discovered one or more issues with your recent
delivery for "Appname". To process your delivery, the following issues
must be corrected: Unexpected CFBundleExecutable Key - The bundle at
'/Payload/Appname.app/Desktop/Appname/Info.plist' does not contain a
bundle executable. If this bundle intentionally does not contain an
executable, consider removing the CFBundleExecutable key from its
Info.plist and using a CFBundlePackageType of BNDL. If this bundle is
part of a third-party framework, consider contacting the developer of
the framework for an update to address this issue. Once these issues
have been corrected, you can then redeliver the corrected binary.
Regards, The App Store team
I have tried many solution's but it can't solve my issue. Please suggest if anyone has solution to this problem.
Why is my executable not included in the app bundle?
If your project contain multiple .plist file then just search "CFBundleExecutable" in your project by presing command+shilf+f and remove all then CFBundleExecutable key from all .plist file except your project .plist file

Getting issue in email after upload app on itunes connect, Unexpected CFBundleExecutable Key

Unexpected CFBundleExecutable Key - The bundle at **/Payload/ABCD.app/Base.lproj/Info.plist' does not contain a bundle executable. If this bundle intentionally does not contain an executable, consider removing the CFBundleExecutable key from its Info.plist and using a CFBundlePackageType of BNDL. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue.
I found an answer to this question: Actually accidently info.plist file was moved to some other folder.
I changed the location of info.plist to ProjectName/ProjectName/info.plist, error removed and app become eligible for submission.
I posted this answer because it may save someone time.

ITMS-90535 Unable to publish libgdx iOS app

I get the this errors when I try to publish my libgdx app to apple app store.
I'm using Xcode 7.1.1 and installed latest Google Play Games/Google SignIn Robopods (1.9.1-SNAPSHOT)
1 package(s) were not uploaded because they had problems:
/var/folders/n8/2_pl6r9x61vbm3mz4jm8ykz40000gn/T/884F2253-C7E5-4E8C-B429-5C4551C6306F/982835004.itmsp
- Error Messages: ERROR ITMS-90535: "Unexpected CFBundleExecutable Key. The bundle at 'Payload/IOSLauncher.app/GooglePlus.bundle' does
not contain a bundle executable. If this bundle intentionally does not
contain an executable, consider removing the CFBundleExecutable key
from its Info.plist and using a CFBundlePackageType of BNDL. If this
bundle is part of a third-party framework, consider contacting the
developer of the framework for an update to address this issue." ERROR
ITMS-90535: "Unexpected CFBundleExecutable Key. The bundle at
'Payload/IOSLauncher.app/GooglePlus.bundle/GPPCommonSharedResources.bundle'
does not contain a bundle executable. If this bundle intentionally
does not contain an executable, consider removing the
CFBundleExecutable key from its Info.plist and using a
CFBundlePackageType of BNDL. If this bundle is part of a third-party
framework, consider contacting the developer of the framework for an
update to address this issue." ERROR ITMS-90535: "Unexpected
CFBundleExecutable Key. The bundle at
'Payload/IOSLauncher.app/GooglePlus.bundle/GPPShareboxSharedResources.bundle'
does not contain a bundle executable. If this bundle intentionally
does not contain an executable, consider removing the
CFBundleExecutable key from its Info.plist and using a
CFBundlePackageType of BNDL. If this bundle is part of a third-party
framework, consider contacting the developer of the framework for an
update to address this issue." ERROR ITMS-90535: "Unexpected
CFBundleExecutable Key. The bundle at
'Payload/IOSLauncher.app/gpg.bundle' does not contain a bundle
executable. If this bundle intentionally does not contain an
executable, consider removing the CFBundleExecutable key from its
Info.plist and using a CFBundlePackageType of BNDL. If this bundle is
part of a third-party framework, consider contacting the developer of
the framework for an update to address this issue."
Try removing the CFBundleExecutable from the offending info.plist inside the bundle.
From Armend answers
You have to delete the key "CFBundleExecutable" from
"Pods/Pods/GooglePlayGames/Resources/gpg.bundle/info.plist".
but to show the Key "CFBundleExecutable" in this file
First press right click and switch "show Raw Keys/Values".
Then Right Click and cut CFBundleExecutable.
Then it will work fine.
Otherwise, you can use updated PlayGames plugin 0.9.30. It will also help.
Related Link: ERROR ITMS-90535 gpg.bundle #863
I just fixed a similar issue on mine. I didn't realize that the Info.plist file with the problem was one created by a cocoa pod (I had on first instinct deleted the CFBundleKey from my main Info.plist which will only give you another error).
For instance, yours references the Payload/IOSLauncher.app/GooglePlus.bundle, so go to the offending place and fix that plist by deleting the CFBundleKey like the error says. Mine was pointing to a plist within one of the pods.

Invalid Bundle - A nested bundle doesn't have the right platforms listed in CFBundleSupportedPlatforms Info.plist key

I uploaded an app to the iOS App Store testflight.
I received the following email in response from iOS App Store:
Invalid Bundle - A nested bundle doesn't have the right platforms listed in CFBundleSupportedPlatforms Info.plist key. Once these issues
have been corrected, you can then redeliver the corrected binary.
What should I do to resolve this and get my App approved?
Archiving and submitting my app with older xcode version (6.3.1) solved the problem for me. I think it's xcode 7 bug.
I had the same problem here, I solve it by searching for key CFBundleSupportedPlatforms and delete it from any info.plist file I found.
using Xcode 7.0.1
update: After I fixed this error I uploaded new binary and it got finish the processing right away, and the old binary (with Invalid Bundle error) still processing until now.
I updated to Xcode7.1 and I'm no longer receiving any of those Invalid Bundle emails from iTunes connect. Beforehand I contacted apple and they verified there was nothing wrong with the IPA:
I’ve looked at your IPA, and there is nothing that I see which will
cause a CFBundleSupportedPlatforms error as you are seeing.
Could you please try uploading your app one more time to see if it still fails? It’s possible iTunes Connect had an intermittent problem in validating your app.
If this upload still fails, please let me know. The next step will be for me to escalate this to iTunes Connect to understand why your app is failing validation. This step can take some time, which is why I want to rule out an intermittent problem first.
After that mail I retried by creating a new archive in Xcode7.1 and uploading it to the app store. And all went well
Some plist file in your app (it could be also a framework's file) has CFBundleSupportedPlatforms key with wrong value. You should find it and change it to "iPhoneOS". To do it you could use a grep command. Open Terminal and run:
grep -r "CFBundleSupportedPlatforms" /YourProjectPathHere
It will show you all files that have a CFBundleSupportedPlatforms string

Resources