facebook / facebook-ios-sdk

Used to integrate the Facebook Platform with your iOS & tvOS apps.
https://developers.facebook.com/docs/ios
Other
7.8k stars 3.56k forks source link

Invalid bundle structure - Error when validating app in Xcode #2271

Open 1lusca opened 1 year ago

1lusca commented 1 year ago

Checklist before submitting a bug report

Xcode version

15.0.0

Facebook iOS SDK version

16.2.0

Dependency Manager

CocoaPods

SDK Framework

Core

Goals

I'm trying to validade my app so I can deploy it to AppStore.

Expected results

The app is building and generating the Archive correctly, but when I validate, this issue is happening.

Actual results

I'm getting this error on app validation:

Asset validation failed Invalid bundle structure. The “Runner.app/Frameworks/FBSDKCoreKit_Basics.framework/FBSDKCoreKit_Basics” 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: f57e33dc-ac1e-47f6-8179-56a849a7cf7a)

Asset validation failed Invalid bundle structure. The “Runner.app/Frameworks/FBAEMKit.framework/FBAEMKit” 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: 4b730963-b964-46ae-97a8-3b515b1e2065)

Asset validation failed Invalid bundle structure. The “Runner.app/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit” 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: a1daed80-714b-4da4-8230-30b2a4b640f4)

Steps to reproduce

No response

Code samples & details

// INSERT YOUR CODE HERE
var example = "Example code"
stebbi36 commented 1 year ago

Ok

jemantilla commented 1 month ago

1 year still no fix? just encountered this now. HELP