ITMS-90535: Unexpected CFBundleExecutable Key - ios

ITMS-90535: Unexpected CFBundleExecutable Key - The bundle at
'/Payload/Runner.app/Frameworks/App.framework/flutter_assets/ios/Runner/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.
How to resolve this issue? I searched my entire project, I couldn't find this path anywhere In the project, and all the missing CFBundleExecutables CFBundlePackageTypes is in BNDL

Please check Info.plist added to Copy Bundle Resources in Build Phase. If so just remove it from Copy Bundle Resources.

Related

Getting error when Adding app in App store

'/Payload/Runner.app/Frameworks/App.framework/flutter_assets/ios/Runner/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
If you have any idea please tell me
Thanks
Update flutter version, this issue was fixed in version 1.2

ERROR ITMS-90171: "Invalid Bundle Structure - The binary file 'xxxx.app/app/tns_modules/fsevents/lib/binding/Release/node-v47-darwin-x64/fse.node'

I am having issues with Build on X Code. I am getting this error.
ERROR ITMS-90171: "Invalid Bundle Structure - The binary file 'xxxx.app/app/tns_modules/fsevents/lib/binding/Release/node-v47-darwin-x64/fse.node' is not permitted. Your app can’t contain standalone executables or libraries, other than the CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https://developer.apple.com/go/?id=bundle-structure for information on the iOS app bundle structure."
The reason behind this error is that one of my dev Dependencies was inside dependencies object in package.json file.
As fse.node is related with "nativescript-dev-sass": "^1.0.0-rc.2" I just moved it from dependecies to devDependencies and error was gone.

cordova-plugin-fcm - ios upload to app store - Invalid Bundle - Info,plist unreadable - FirebaseCore.framework' does not contain a bundle executable

I create an archive in Xcode, validation and upload to the app store is successful.
But then I get an email with error messages below.
Can I fix this without having the firebase library updated?
If so, how?
I am on Xcode 8.3.3 and it is an ionic 1 app, the app is running fine without errors on Android and Ios.
In use, latest version of cordova-plugin-fcm.
I have an issue ticket open there as well... but no answers so far.
It would be great if anybody could point me in to the right direction.
This bundle is invalid - The Info.plist file for
/Payload/WhatEverAppName.app/www/lib/cordova-plugin-fcm/src/ios/firebase/FirebaseAnalytics.framework
is missing or could not be read.
Invalid Bundle - The bundle at
'/Payload/WhatEverAppName.app/www/lib/cordova-plugin-fcm/src/ios/firebase/FirebaseAnalytics.framework'
does not contain a bundle executable.
This bundle is invalid - The Info.plist file for
/Payload/WhatEverAppName.app/www/lib/cordova-plugin-fcm/src/ios/firebase/FirebaseCore.framework
is missing or could not be read.
Invalid Bundle - The bundle at
'/Payload/WhatEverAppName.app/www/lib/cordova-plugin-fcm/src/ios/firebase/FirebaseCore.framework'
does not contain a bundle executable.
This bundle is invalid - The Info.plist file for
/Payload/WhatEverAppName.app/www/lib/cordova-plugin-fcm/src/ios/firebase/FirebaseInstanceID.framework
is missing or could not be read.
Invalid Bundle - The bundle at
'/Payload/WhatEverAppName.app/www/lib/cordova-plugin-fcm/src/ios/firebase/FirebaseInstanceID.framework'
does not contain a bundle executable.
This bundle is invalid - The Info.plist file for
/Payload/WhatEverAppName.app/www/lib/cordova-plugin-fcm/src/ios/firebase/FirebaseMessaging.framework
is missing or could not be read.
Invalid Bundle - The bundle at
'/Payload/WhatEverAppName.app/www/lib/cordova-plugin-fcm/src/ios/firebase/FirebaseMessaging.framework'
does not contain a bundle executable.
This bundle is invalid - The Info.plist file for
/Payload/WhatEverAppName.app/www/lib/cordova-plugin-fcm/src/ios/firebase/GoogleIPhoneUtilities.framework
is missing or could not be read.
Invalid Bundle - The bundle at
'/Payload/WhatEverAppName.app/www/lib/cordova-plugin-fcm/src/ios/firebase/GoogleIPhoneUtilities.framework'
does not contain a bundle executable.
This bundle is invalid - The Info.plist file for
/Payload/WhatEverAppName.app/www/lib/cordova-plugin-fcm/src/ios/firebase/GoogleInterchangeUtilities.framework
is missing or could not be read.
Invalid Bundle - The bundle at
'/Payload/WhatEverAppName.app/www/lib/cordova-plugin-fcm/src/ios/firebase/GoogleInterchangeUtilities.framework'
does not contain a bundle executable.
This bundle is invalid - The Info.plist file for
/Payload/WhatEverAppName.app/www/lib/cordova-plugin-fcm/src/ios/firebase/GoogleSymbolUtilities.framework
is missing or could not be read.
Invalid Bundle - The bundle at
'/Payload/WhatEverAppName.app/www/lib/cordova-plugin-fcm/src/ios/firebase/GoogleSymbolUtilities.framework'
does not contain a bundle executable.
This bundle is invalid - The Info.plist file for
/Payload/WhatEverAppName.app/www/lib/cordova-plugin-fcm/src/ios/firebase/GoogleUtilities.framework
is missing or could not be read.
Invalid Bundle - The bundle at
'/Payload/WhatEverAppName.app/www/lib/cordova-plugin-fcm/src/ios/firebase/GoogleUtilities.framework'
does not contain a bundle executable.
I was able to fix this issue.
The solution was to upgrade the Firebase library in the cordova-plugin-fcm plugin. https://github.com/fechanique/cordova-plugin-fcm
After that, delete the content from /var/folders, not the directory itself.
And delete xcodes derived data.

App store submission error Invalid Bundle Structure

I am receiving the following error from XCode 8.1 when trying to submit a previously successful submitted app version upgrade:
ERROR ITMS-90171: "Invalid Bundle Structure - The binary file 'Particle.app/Particle_armv7' is not permitted. Your app can’t contain standalone executables or libraries, other than the CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https://developer.apple.com/go/?id=bundle-structure for information on the iOS app bundle structure."
ERROR ITMS-90171: "Invalid Bundle Structure - The binary file 'Particle.app/Particle_armv7' is not permitted. Your app can’t contain standalone executables or libraries, other than the CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https://developer.apple.com/go/?id=bundle-structure for information on the iOS app bundle structure."
I did not modify anything in regards to architectures this build.
Any idea where I should look to solve this problem?
This error occurs when a static library file is mistakenly copied into the app bundle.
You should link the libYourLibrary.a static library via a Link Binary with Libraries build phase.
It should NOT be added to the target's Copy Bundle Resources build phase.
Ok, the problem was that there was an extra build variant specified as "armv7" in the build settings. No idea why. Reverting to "normal" only fixed this issue.
from project.pbxproj:
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
- BUILD_VARIANTS = (
- armv7,
- normal,
- );
+ BUILD_VARIANTS = normal;
removed lines marked with - added lines with +
Issue - two binaries were included in bundle:
Fix - make sure only "normal" is under Build variants:

App Processing Error: Unexpected CFBundleExecutable Key

I am trying to submit to Apple with bitCode enabled. Everytime i submit I am getting this email.
We have discovered one or more issues with your recent delivery for "MyAPPP". To process your delivery, the following issues must be corrected:
Unexpected CFBundleExecutable Key - The bundle at '/Payload/MyAPPP.app/Base.lproj' 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.
My application's info.plist has following.
Cocoa Pods for every pod has info.plist as
All Pods are here.
I faced the same issue. Finally I got a solution.
In my case, Info.plist file was added to Copy Bundle Resources in Build Phase. I just remove it from Copy Bundle Resources and it worked!

Resources