After spending some time googling, something tells me that the issue is new.
We had a fully functional project supporting iOS7-8. Of course it was multiple times successfully submitted to AppStore.
We use pods, lots of tracking and monitoring, like GA and Instabug.
Now we decided to submit a version of the app built on Xcode 7 on iOS 9 to TestFlight.
We disabled bitcode, since many pods, like Flurry and other prebuilt libraries does not include it.
The build was successful, after the submission to iTunesConnect we get this:
We had same for GoogleAppIndexing library (in pods too), but we removed it, just to make it work. Now - Instabug. It is going too far, so I am trying to understand what is going on in iOS 9 and what are the changes that made a fully working project to start throwing such errors.
Any thoughts and ideas are welcomed! Please share your experience, and if I missed something, I will gladly share my steps.
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.
Encountered this with AviarySDK
on Xcode 7 GM, while submitting to the App Store.
First I'd check to see whether you're on the latest version of your library - the vendor may have fixed this already. If you are still facing this problem however, as Sleiman describes you need to remove the CFBundleExecutable
key from the plist file for the offending library.
Cmd + Shift + O and type "Info.plist", you can then find the appropriate file:
Once editing the plist, you may be seeing descriptive names (instead of the CFBundleExecutable
and other keys. I couldn't edit this file in an external editor, so I had to switch to view raw keys/values by right-clicking on the list:
You can now see the CFBundleExecutable
key (which has a description of "Executable file") which you can delete.
For AviarySDK I did this twice, once for each Info.plist
seen in the above image, and was then able to successfully submit.
I solve this problem as follows: We have to remove all the "Executable files" of the following packages:
- GooglePlus.bundle
- GPPCommonSharedResources.bundle
- GPPShareboxSharedResources.bundle
Be sure that "Bundle type code" is equal BNDL
Important: Do not edit anything in the info.plist the main project.
Attached screens as they should be his "info.plist" listed above each package.
If the build is submitted through Less than(<) Xcode 7.0 then it will be submitted and also I have solved it by following way for Xcode 7:
Searched for info.plist
in the projects Project Navigator as like following image:
Now opened these info.plist
files one by one and deleted the BundleExecutable
key EXCEPT the target's info.plist
Now cleaned the project and achieved and It is submitted with No issue.
Just check your Build Settings => Enable Bitcode, and set it NO
One additional note: sometimes if you have additional targets there will be target properties that may also include the key (in the "Info" section), so make sure to check those and remove it from there also. I discovered this with one of the bundles I was trying to include. I deleted the info from the plist, but kept getting the error.
If you're seeing this error from a library installed via CocoaPods, try a pod update <OFFENDING POD NAME>
That solved the problem for me.
I just added word "BNDL" to appropriate place in plist
"Bundle creator OS Type code".
In my case I just Drag and Drop The SDK
In folder include info.plist
file which is not in use. That's create the issue for me. So find the unused info.plist
file and delete it from the Source code.
来源:https://stackoverflow.com/questions/32096130/unexpected-cfbundleexecutable-key