-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Could not build arm64 contains xcframework for iOS simulator by Carthage. #7151
Comments
Hi @r-plus, |
@pavel-ship-it That issue is already resolved by xcframeworks. Latest carthage already supported to building xcframeworks. |
@r-plus, you right. My bad. I'll take a deeper look in to this problem. |
@edfanhouse nice! that it! Remaining issue but maybe this is not blocking
Users can workaround issue about simulator arm64 slice conflict by this https://github.com/Carthage/Carthage/blob/master/Documentation/Xcode12Workaround.md#workaround-script workaround script, therefore, adding a workaround on the framework side is not suitable now that carthage supports the xcframework. |
@r-plus , @edfanhouse thanks for help. I'll create a pull request to enable arm64 builds |
for link: #7158 |
Fixed in #7158 |
Carthage built xcframework for realm will not contains arm64 slice for ios simulator, thus I could not build my project for ios simulator on M1 mac.
Goals
carthage bootstrap --platform iOS --use-xcframeworks --no-use-binaries realm-cocoa
command will compile arm64, i386 and x86_64 contains xcframework for ios simulator.
Expected Results
built xcframework contains
ios-arm64_i386_x86_64-simulator
directory.Actual Results
contains
ios-i386_x86_64-simulator
Steps for others to Reproduce
Code Sample
n/a
Version of Realm and Tooling
Realm framework version: v10.7.0
Realm Object Server version: n/a
Xcode version: 12.4
iOS/OSX version: n/a, using mac is M1 mac 11.2.0
Dependency manager + version: Carthage 0.37.0
The text was updated successfully, but these errors were encountered: