facebook / facebook/facebook-ios-sdk
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
- Dominant language
- Swift
- Stars
- 8.1k
- Forks
- 3.7k
- PR merge metrics
- No merged PRs in 30d
Description
### Checklist before submitting a bug report
- [X] I've updated to the latest released version of the SDK
- [X] I've searched for existing [GitHub issues](https://github.com/facebook/facebook-ios-sdk/issues)
- [X] I've looked for existing answers on [Stack Overflow](https://facebook.stackoverflow.com), the [Facebook Developer Community Forum](https://developers.facebook.com/community/) and the [Facebook Developers Group](https://www.facebook.com/groups/fbdevelopers)
- [X] I've read the [Code of Conduct](https://github.com/facebook/facebook-ios-sdk/blob/main/CODE_OF_CONDUCT.md)
- [X] This issue is not security related and can safely be disclosed publicly on GitHub
### 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
```swift
// INSERT YOUR CODE HERE
var example = "Example code"
```
Contributor guide
Assessment
This issue has not been assessed yet.