firebase-ios-sdk
firebase-ios-sdk copied to clipboard
M2 Mac , simulator build error: Unsupported Swift architecture
Description
M2 Mac , simulator build error: Unsupported Swift architecture
Reproducing the issue
M2 Mac , simulator build error: Unsupported Swift architecture
Firebase SDK Version
10.23
Xcode Version
15.3
Installation Method
CocoaPods
Firebase Product(s)
Storage
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved
Expand Package.resolved
snippet
Replace this line with the contents of your Package.resolved.
If using CocoaPods, the project's Podfile.lock
Expand Podfile.lock
snippet
Replace this line with the contents of your Podfile.lock!
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
facing the same issue on the M1 machine as well.
Not able to run on the Simulator, but it works fine on the device.
@taimoorsuleman Strange that there are build errors for the x86_64 simulator on an M1 machine. Something might be misconfigured.
@fangyuxi We're not able to reproduce and will likely need more information to help.
Hey @fangyuxi. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
@taimoorsuleman Strange that there are build errors for the x86_64 simulator on an M1 machine. Something might be misconfigured.
@fangyuxi We're not able to reproduce and will likely need more information to help.
@paulb777 I am getting x86_64 error after updating to firebase latest version. in previous version its fine. i checked all relevant setting and looks fine.
Hey @fangyuxi. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
I have the same issue, also running on an M2 chip. For us this happens when trying to build our watch OS app. On the M3 Pro of a coworker the same code runs fine.
Apparently apple differentiates between "via iphone" and a regular watch simulator. I just went with the default Xcode simulators. After creating a fresh simulator that's paired with an iphone simulator, everything works fine. I just need to run it on the watchOS simulator (not the via iphone one).
Hey @fangyuxi. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
Since there haven't been any recent updates here, I am going to close this issue.
@fangyuxi if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.