facebook / facebook-ios-sdk

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

Build failed because FacebookCore.swiftmodule is not built for arm64. Please try a run destination with a different architecture. #2411

Open nadeemworkspace opened 2 months ago

nadeemworkspace commented 2 months ago

Checklist before submitting a bug report

Xcode version

15.3

Facebook iOS SDK version

17.0.0

Dependency Manager

SPM

SDK Framework

Core

Goals

we have arm64 dependency for other SDKs

Expected results

run on Xcode Simulator

Actual results

Build failed because FacebookCore.swiftmodule is not built for arm64. Please try a run destination with a different architecture. Ensure all targets are configured to build for standard architectures. If your project uses external dependencies, contact those vendors to provide updated copies built to support all architectures.

Steps to reproduce

No response

Code samples & details

// INSERT YOUR CODE HERE
var example = "Example code"
mqaiserbutt commented 1 month ago

Happening for me as well. Any fix ?

nadeemworkspace commented 1 month ago

@mqaiserbutt Try running it on Rosetta.