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
Apple silicon + iOs simulator #895
Comments
Hi! Thanks for getting in touch with us! Could you please clarify what version of App Center SDK do you use? |
@AnastasiaKubova I use the latest one (4.0.2) but it actually does not matter - AppCenterReactNativeShared right now compiles into a fat library (take a look to AppCenterReactNativeShared/ios/build-fat-framework.sh) - at the end of the file you'll see If you want your library to work on M1 devices, you need to use .xcframework, just like in AppCenter's: Anyway - I'll try to fix it soon and submit the PR. |
Thanks for mention it. I marked this issue as a bug. |
@AnastasiaKubova |
Thanks for your contribution! Please allow us some time to review and test it. |
Hi I am facing the same issue on a M1 macbook pro, is there a workaround ? |
@JamesBond95470 the only workaround with library like this one (actually there are lots of other libraries in the same condition) it to set "Run in Rosetta" into your Xcode.app settings |
Hi @stephenkoplov the problem is even with Rosetta, I have this issue ! |
Hello @JamesBond95470 , I had the same problem, turns out I had to This is still a workaround though, not a real solution |
Hey! |
I tried with latest but still having issues, is there something setup error or? tried with clean build folder. Package version:
xcode error:
|
@Oskang09 please, share Podfile.lock file. |
Here you go
|
@Oskang09 recently we had a similar issue, so I'll reference it here: In general, you need to perform |
Hello!
Description
Now it's not possible to use AppCenterReactNativeShared on M1 macbooks - because AppCenterReactNativeShared.framework doesn't contain arm64/iphonesimulatorsdk library
Repro Steps
Details
I have the same issue with my own library - I had to create .xcframework and include simulator's arm64-library
/Pods/AppCenterReactNativeShared/AppCenterReactNativeShared/AppCenterReactNativeShared.framework/AppCenterReactNativeShared' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The text was updated successfully, but these errors were encountered: