facebookarchive / react-native-fbsdk

A React Native wrapper around the Facebook SDKs for Android and iOS. Provides access to Facebook login, sharing, graph requests, app events etc.
https://developers.facebook.com/docs/react-native
Other
2.99k stars 909 forks source link

FBSDKCoreKit/FBSDKCoreKit.modulemap' not found Xcode 12 #801

Closed ahtisham09 closed 3 years ago

ahtisham09 commented 3 years ago

I am running my app on IOS and getting error module map file '/Users/macbook/Library/Developer/Xcode/DerivedData/Connect360-fkvotrokqjgczacuwgznybcvqqnp/Build/Products/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.modulemap' not found my app is running fine on Xcode 11 today i just update Xcode 12 from Xcode 11 and then i am getting this error i tried many things but its not working please help me i am stuck very badly

thanhcuong1990 commented 3 years ago

@ahtisham09 you can try this: On Build Settings search VALID_ARCH then press delete. This should work for me with Xcode 12.0.1

https://stackoverflow.com/questions/63607158/xcode-12-building-for-ios-simulator-but-linking-in-object-file-built-for-ios/64267780#64267780

ahtisham09 commented 3 years ago

@thanhcuong1990 i tried this but its not working

lander854 commented 3 years ago

tried that, not working

arjunkomath commented 3 years ago

Adding arm64 to excluded architectures (for both project and Pods build settings) fixed the issue for me.

Screen Shot 2020-11-21 at 10 03 07 pm
lander854 commented 3 years ago

didnt work :(

ahtisham09 commented 3 years ago

Community needs to look this issue still not reply any collaborate on this issue

shawwal commented 3 years ago

Community needs to look this issue still not reply any collaborate on this issue

Yeah I also having this issue and have been seeing a lot people reporting the same issue, I'm using Mac OS Big Sur version 11.0.1 and Xcode version 12.2 (12B45b).

shawwal commented 3 years ago

Community needs to look this issue still not reply any collaborate on this issue

Yeah I also having this issue and have been seeing a lot people reporting the same issue, I'm using Mac OS Big Sur version 11.0.1 and Xcode version 12.2 (12B45b).

Finally I managed to solve this issue by getting the latest update of MacOS big Sur 11.1 and Xcode 12.3 (12C33))

ahtisham09 commented 3 years ago

@shawwal so your issue is solved?

shawwal commented 3 years ago

@shawwal so your issue is solved?

Yes it's solved after I update XCode to version 12.3

karthikkncs14 commented 3 years ago

Adding arm64 to excluded architectures (for both project and Pods build settings) fixed the issue for me.

Screen Shot 2020-11-21 at 10 03 07 pm

Yes i did same thing in xcode 12.3 & mac os 11.1 and ios 14.

It works very well with physical device above setting is required only in simulator.

matt-dalton commented 3 years ago

I have upgraded to Xcode 12.3 and tried the suggestion above, but I now get:

Check dependencies
No architectures to compile for (ARCHS=arm64, VALID_ARCHS=arm64 arm64e armv7 armv7s, EXCLUDED_ARCHS=(
    arm64
)).

** ARCHIVE FAILED **

Any ideas?

alapanerao commented 3 years ago

Adding arm64 to excluded architectures (for both project and Pods build settings) fixed the issue for me.

Screen Shot 2020-11-21 at 10 03 07 pm

This solution worked for me.

ahtisham09 commented 3 years ago

I solve this Issue by adding $(ARCHS_STANDARD) inVALID_ARCHS and here is the screenshot of my App ARCHS

Screenshot 2021-02-19 at 4 15 42 PM Screenshot 2021-02-19 at 4 15 24 PM