I received the following error after trying to upload my app to AppStore Connect.
Asset validation failed (90171)
Invalid bundle structure. The “Runner.app/PlugIns/ImageNotification.appex/Frameworks/Pods_ImageNotification.framework/Pods_ImageNotification” binary file is not permitted. Your app cannot contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles. For details, visit: https://developer.apple.com/documentation/bundleresources/placing_content_in_a_bundle (ID: 9022756e-defb-44d9-ba55-70e01abeab11)
Asset validation failed (90206)
Invalid Bundle. The bundle at 'Runner.app/PlugIns/ImageNotification.appex' contains disallowed file 'Frameworks'. (ID: b889e1b7-84e5-4cdd-b011-c5ef51a78daa)
Asset validation failed (90205)
Invalid Bundle. The bundle at 'Runner.app/PlugIns/ImageNotification.appex' contains disallowed nested bundles. (ID: 6a71e1d9-4c46-4528-aa04-05fcb4bf6fe0)
I was able to solve it by deleting podfile.lock and podfile folder + flutter clean.
An error of mutiple produce came up and i added below line to my podfile
pod 'GoogleUtilities'
And everything works fine afterwards.
Related
I have built an archive of my app and tried uploading it to the App Store via the Transporter app and received the following errors:
Asset validation failed (90125) The binary is invalid. The encryption
info in the LC_ENCRYPTION_INFO load command is either missing or
invalid, or the binary is already encrypted. This binary does not
seem to have been built with Apple's linker. (ID:
bc23e124-393d-4d76-808a-bc6210ed3ec6)
Asset validation failed (90124) The binary is invalid. The executable
'SpartanTutors.app/Frameworks/GoogleAppMeasurementOnDeviceConversion.framework/GoogleAppMeasurementOnDeviceConversion'
has type 'OBJECT' that is not valid. Only 'EXECUTE' is permitted.
(ID: 72f0c893-5a3c-44e3-a3df-a99a865da148)
Asset validation failed (90635) Invalid Mach-O Format. The Mach-O in
bundle
"SpartanTutors.app/Frameworks/GoogleAppMeasurementOnDeviceConversion.framework"
isn’t consistent with the Mach-O in the main bundle. The main bundle
Mach-O contains arm64(bitcode), while the nested bundle Mach-O
contains armv7(machine code) and arm64(machine code). Verify that all
of the targets for a platform have a consistent value for the
ENABLE_BITCODE build setting. (ID:
ec0e4719-e744-494f-b06a-728fa3f452bc)
Asset validation failed (90360) Missing Info.plist value. A value for
the key 'MinimumOSVersion' in bundle
SpartanTutors.app/Frameworks/GoogleAppMeasurementOnDeviceConversion.framework
is required. (ID: 1eb5a712-e7eb-45ca-b03a-5dc6a910b709)
Asset validation failed (90210) Missing load commands. The executable
at
'SpartanTutors.app/Frameworks/GoogleAppMeasurementOnDeviceConversion.framework'
does not have the necessary load commands. Try rebuilding the app
with the latest Xcode version. If you are using third party
development tools, contact the provider. (ID:
62b18a6c-5b1b-4864-b502-4f37b19369b1)
Asset validation failed (90125) The binary is invalid. The encryption
info in the LC_ENCRYPTION_INFO load command is either missing or
invalid, or the binary is already encrypted. This binary does not
seem to have been built with Apple's linker. (ID:
0165171c-7862-40c9-b556-35e18aaeef76)
Asset validation failed (90208) Invalid Bundle. The bundle
SpartanTutors.app/Frameworks/GoogleAppMeasurementOnDeviceConversion.framework
does not support the minimum OS Version specified in the Info.plist.
(ID: 8dbc7abc-78ff-4574-aa81-15bebe78c34b)
Asset validation failed (90124) The binary is invalid. The executable
'SpartanTutors.app/Frameworks/GoogleAppMeasurementOnDeviceConversion.framework/GoogleAppMeasurementOnDeviceConversion'
has type 'OBJECT' that is not valid. Only 'EXECUTE' is permitted.
(ID: 753f8e15-45a7-406c-a1c5-e03762302ace)
Asset validation failed (90081) This bundle is invalid. Applications
built for more than one architecture require an iOS Deployment Target
of 3.0 or later. (ID: 7c68b55d-79ce-46cd-93a4-2469416da09e)
Asset validation failed (90171) Invalid Bundle Structure - The binary
file
'SpartanTutors.app/Frameworks/GoogleAppMeasurementOnDeviceConversion.framework/GoogleAppMeasurementOnDeviceConversion'
is not permitted. Your app can’t contain standalone executables or
libraries, other than a valid 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. (ID:
e9e049e3-a2a2-4f92-9fa5-1155fcc3caeb)
I know there are a ton of errors but if anyone knows how to solve even a single one of them, help me out. It would be greatly appreciated :)
Thank you,
Have a nice day!
ERROR ITMS-90171: "Invalid Bundle Structure - The binary file 'School Diary.app/NewEventsCustomTableViewCell.o' is not permitted. Your app can’t contain standalone executables or libraries, other than a valid 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."
while uploading app to app store in Xcode12 getting this error.
You have to copy all the content of the NewEventsCustomTableViewCell.swift file. Delete the file. Make a new file give same name and paste in the copied text of the deleted file.
This will solve your problem.
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.
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:
In my Swift iOS application I've just added Flurry Analytics by creating a briding-header.h and importing Flurry.h. I then added SystemConfiguration.framework, CFNetwork.framework, and Security.framework.
I then added libFlurry_6.5.0.a via Targets -> Build Phases -> Link Binary with Libraries after instruction from a Stack Overflow question because it wouldn't build.
After archiving the app I tried to upload it and received this error:
ERROR ITMS-90171: “Invalid Bundle Structure - The binary file
‘APPNAME.app/Flurry/libFlurry_6.5.0.a’ is not permitted. Your app
can’t contain standalone executables or libraries...
Open the Build Phases tab in the target settings for your project.
Make sure that Flurry.framework is not included under Copy Bundle Resources.
From Invalid Bundle Structure.
My case was a bit different. I added an static library to "Embed Frameworks" and I got a couple of errors when I uploaded the app to the app store:
The binary X is not permitted. Your app can't contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles
Invalid Swift Support - Doesn't have the correct file type for this location
I removed this dependency and the problem was solved