Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Apple Silicon ARM simulators #16

Closed
jmagman opened this issue Oct 29, 2020 · 3 comments
Closed

Support Apple Silicon ARM simulators #16

jmagman opened this issue Oct 29, 2020 · 3 comments

Comments

@jmagman
Copy link

jmagman commented Oct 29, 2020

The simulator binary is missing the arm64 slice needed to run on Apple Silicon arm64 simulators.

ios-i386_x86_64-simulator/FirebaseFirestore.framework/FirebaseFirestore: Mach-O universal binary with 2 architectures: [i386:current ar archive] [x86_64]
ios-i386_x86_64-simulator/FirebaseFirestore.framework/FirebaseFirestore (for architecture i386):	current ar archive
ios-i386_x86_64-simulator/FirebaseFirestore.framework/FirebaseFirestore (for architecture x86_64):	current ar archive

I think it creates a ios-arm64_x86_64-simulator directory in the bundle though I'm not 100% sure on the name.

@jmagman
Copy link
Author

jmagman commented Oct 29, 2020

Note CocoaPods currently has ffi issues CocoaPods/CocoaPods#9907. You can test by directly embedding the xcframework, targeting a simulator, and swap ONLY_ACTIVE_ARCH to NO.

@Salakar
Copy link
Member

Salakar commented Nov 6, 2020

Tracking upstream; firebase/firebase-ios-sdk#6520

@mikehardy
Copy link
Collaborator

@jmagman I think this may work now, the upstream issue is closed. Can you confirm current status with current version (v7.2.0 should work but v7.3.0 just came out and is current now)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants