-
Notifications
You must be signed in to change notification settings - Fork 375
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
arm64 problem on Mac M1 #1157
Comments
+1 |
I'm stuck with this issue, even I'm able to run it on the simulator in debug mode |
+1 |
Unfortunately no :( No answers on this topic from OneSignal |
Howdy,
as so in your "dependencies": {
"react": "16.13.1",
"react-native": "0.63.3",
"react-native-onesignal": "OneSignal/react-native-onesignal#5e7380a4"
}, Enjoy! Edit: If you're wondering what this is doing, it is pulling a specific commit from a branch in the Github repository. That branch updates the podspec file to use the |
After trying this, I have started getting the following error
|
I have the same error after your edit @rgomezp
|
Same error here |
Same to me... Any idea to fix this problem? |
Hello, I created a new React Native project with only one dependence, the OneSignal. I has some issues with Flipper, but after revolved it, all worked fine. So I did the upgrade of the my real project and find that other dependences had some issues. Below the steps that I followed to do all work:
|
Disable Flipper and run Xcode using Rosetta 2 works for me! |
Thanks for your workarounds y'all. Since there hasn't been any further activity. I'm going to go ahead and close out this issue. Please comment if you have any further questions. Enjoy! |
I check all the solutions that was provided here, but anyway problem is still not resolved |
Having the same problem here. Noticed that the issue is very similar to that raised for the cordova sdk (see this issue) where @rgomezp's last (2 days old) comment mentioned that the "The Cordova major release is just around the corner". What is the situation for react-native ? |
UPD: Solve this error 2 days ago by add Exclude Architecture option in Build settings & custom option VALID_ARCHS. Also, now I'm launching Xcode with Rosetta. |
Still not working for me. I can run my app on my real device and now it's not working on a simulator. I know we can't send push notification to simulator but I still need to test my app on simulator. /Users/MyName/work/MyProject/ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/OneSignal(OneSignal-arm64-master.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/MyName/work/MyProject/ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/OneSignal' |
Happens the same error even using the branch that is mentioned by @rgomezp. |
Same error.. Can anyone has solution? /Users/MyHost/Documents/MyProjects/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/OneSignal(OneSignal-arm64-master.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/MyHost/Documents/MyProjects/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/OneSignal' |
Still happens the same error by using XCFramework branch @rgomezp. Anyone has a solution? |
Howdy @oguzhnatly , Somebody from a different but similar issue said:
Make sure you are using the latest SDK and that you update the pods. Hope that works for you. |
I was able to get ride of the error. What I did you may ask !! . I use to open xcodeproj file but instead open xcworkspace file and it worked. |
I faced this issue #1260 (comment) |
Description:
Hi i am getting this error when I try to compile my react-native app on my mac M1
in /Users/MyName/work/MyProject/ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/OneSignal(OneSignal-arm64-master.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/MyName/work/MyProject/ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/OneSignal'
Environment
Mac M1
Xcode 12.4
React : 16.13.1
React native : 0.63.4
react-native-onesignal: 4.0.3
Steps to Reproduce Issue:
The text was updated successfully, but these errors were encountered: