Running into this error when uploading to the App Store:
ERROR ITMS-90171: "Invalid Bundle Structure - The binary file 'mobile.app/Frameworks/Pods_mobile.framework/Pods_mobile' 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."
I searched all similar posts and tried all of these suggestions:
- Always Embed Swift Standard Library = [true, false, $(inherited)]
- Build Phases -> Copy Bundle Resources -> Ensured its free of frameworks
- Ensured provisioning profile is set correctly.
- Build Active Architecture Only = [true, false]
Build Phases: [CP] Embed Pods Frameworks
& [CP] Copy Pods Resource
seem normal:"${PODS_ROOT}/Target Support Files/Pods-mobile/Pods-mobile-frameworks.sh"
"${PODS_ROOT}/Target Support Files/Pods-mobile/Pods-mobile-resources.sh"
respectively.
Podfile:
platform :ios, '12.0'
use_frameworks!
target 'mobile' do
pod ...
end
I needed to remove Pods_mobile.framework
under Embed Frameworks
as shown below. I'm not sure how it got there, but assumed it had its purpose since I didn't add it in the first place.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With