firebase-ios-sdk icon indicating copy to clipboard operation
firebase-ios-sdk copied to clipboard

M2 Mac , simulator build error: Unsupported Swift architecture

Open fangyuxi opened this issue 10 months ago • 9 comments

Description

M2 Mac , simulator build error: Unsupported Swift architecture

Reproducing the issue

M2 Mac , simulator build error: Unsupported Swift architecture 111

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!

fangyuxi avatar Mar 28 '24 03:03 fangyuxi

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

google-oss-bot avatar Mar 28 '24 03:03 google-oss-bot

facing the same issue on the M1 machine as well. Screenshot 2024-03-28 at 2 28 40 PM

Not able to run on the Simulator, but it works fine on the device.

taimoorsuleman avatar Mar 28 '24 09:03 taimoorsuleman

@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 avatar Mar 29 '24 23:03 paulb777

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!

google-oss-bot avatar Apr 05 '24 01:04 google-oss-bot

@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.

taimoorsuleman avatar Apr 08 '24 09:04 taimoorsuleman

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!

google-oss-bot avatar Apr 15 '24 01:04 google-oss-bot

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.

ciriousjoker avatar Apr 18 '24 18:04 ciriousjoker

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).

CleanShot 2024-04-18 at 20 43 17@2x

ciriousjoker avatar Apr 18 '24 18:04 ciriousjoker

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!

google-oss-bot avatar Apr 25 '24 01:04 google-oss-bot

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.

google-oss-bot avatar May 02 '24 01:05 google-oss-bot