facebook / facebook-ios-sdk

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

My project code is written in object-c, and the sdk version is 16.2.1. I can run it on a real machine, but when I use the simulator, I get an error, and FBAEMReporter prompts #error unsupported Swift architecture #2358

Open wolimomomo opened 2 months ago

wolimomomo commented 2 months ago

Checklist before submitting a bug report

Xcode version

15.0.1

Facebook iOS SDK version

16.3.1

Dependency Manager

CocoaPods

SDK Framework

Login

Goals

My project code is written in object-c, and the sdk version is 16.2.1. I can run it on a real machine, but when I use the simulator, I get an error, and FBAEMReporter prompts

error unsupported Swift architecture

Expected results

when i build and get an error, and FBAEMReporter prompts

error unsupported Swift architecture

Actual results

The simulator cannot run, but the real machine can

Steps to reproduce

No response

Code samples & details

// INSERT YOUR CODE HERE
var example = "Example code"