September 16, 2015
"Unexpected CFBundleExecutable Key" or "Unexpected CFBundleSupportedPlatforms value"
We have received a few reports that apps submitting to the app store have had their bundle rejected by Apple with the following error message (or one similar):
To fix this, do the following:
Manually modify the Info.plist contained in your TapjoyResources.bundle as follows:
Set the following key:
CFBundleSupportedPlatforms = iPhoneOS
And REMOVE the following key entirely:
If you are using Adobe AIR, you will have to unpack the ANE file, do the modification mentioned above, and then repack the ANE file. To do so, follow these instructions:
unzip TapjoyExtension.ane -d temp
- Modify TapjoyResources.bundle found at temp/META-INF/ANE/iPhone-ARM/Tapjoy.embeddedframework/Resources/ as explained above.
mv iPhone-ARM/platform.xml ios_platform.xml
mv Android-ARM/platform.xml android_platform.xml
<air_sdk_home>/bin/adt -package -target ane ../../../TapjoyExtension.ane extension.xml -swc ../../../TapjoyExtension.swc -platform iPhone-ARM -C iPhone-ARM -platformoptions ios_platform.xml . -platform Android-ARM -C Android-ARM -platformoptions android_platform.xml . -platform default -C default library.swf
If you have further questions, please contact support.