-
Notifications
You must be signed in to change notification settings - Fork 585
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
[iOS] Expo EAS Xcode version incompatible with 10.20.0.beta3 #4462
Comments
I'm on a fully upgraded system and unable to verify this, but we should support being built on Xcode 10 and above (just as React Native does). As such I'll close this issue. Please re-open with information on specific versions of Xcode that the build is failing for and ideally exact steps to reproduce this. I have a colleague with a bitcode related issues after upgrading to macOS Monterey which also required an update to Xcode. It might be that the Expo builders have upgraded OS but miss the Xcode upgrade required. |
Based on my conversation with the Expo team here I would assume that they are using Xcode 13.2.1. I would also like to point out that earlier builds that I was using up to EDIT: Based on this table seems like Expo VMs are still using Xcode 13.2.1 with |
Have you tried reverting your upgrade to verify that the |
Yes, I have tried switching between |
Okay - thanks for verifying that! I believe the XCFramework shipped with Depending on what build tools exists on the Expo builder nodes, it might be possible to build the XCFramework from within the
This would produce binaries build with the same version of Xcode that the machines run and would most likely resolve the issue for you 🤞 |
Thanks for the explanation and also the quick replies! I will try it out and worse case we'll just have to disable bitcode until Expo updates their Xcode version which is fine since we are still in the development phase 🙂 |
I just tried this locally and realised a patch is needed to our cmake configuration to enable building from our NPM artifact: 9ad22a7 I'll work towards getting this merged and released, but in the meantime you should be able to apply that patch and build from the NPM package. |
I just had a chat with my colleague on the Realm Swift team and we'll work towards building the XCFramework we release with an older version of Xcode as those binaries will be consumable by newer versions of Xcode perfectly fine. This should make it possible to consume from any Xcode version reasonably used by developers or other services such as Expo EAS. Thanks a lot for bringing this to our attention! |
@kraenhansen My pleasure and happy to contribute in a tiny way to such an awesome project! |
@thespacemanatee I'm pleased to announce that we just released v10.20.0-beta.4 which was built using Xcode 12.4 - hopefully solving your original issue 🤞 Thanks again for reporting this! |
@kraenhansen Just did a build on EAS with bitcode enabled and can verify that it works great, thanks again for resolving it so quickly 😊 |
@thespacemanatee this is great news! |
How frequently does the bug occur?
All the time
Description
With the latest version, I am unable to build my project on Expo EAS build service.
The Expo team says that it is difficult for them to upgrade Xcode on their VMs. Would it be possible to make this library compatible with an older version of Xcode?
Thank you!
Stacktrace & log output
Can you reproduce the bug?
Yes, always
Reproduction Steps
Build project on Expo EAS servers with
[email protected]
.Version
10.20.0.beta3
What SDK flavour are you using?
MongoDB Realm (i.e. Sync, auth, functions)
Are you using encryption?
No, not using encryption
Platform OS and version(s)
iOS
Build environment
No response
Cocoapods version
1.11.3
The text was updated successfully, but these errors were encountered: