-
Notifications
You must be signed in to change notification settings - Fork 374
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
OneSignalNotificationExtension build fail #1510
Comments
@gurbela have you by chance found a workaround for this? These same errors started happening for me after upgrading to xcode 14.3. Is that the same case with you? |
Yes. 14.3 has a problem |
Hi @gurbela and @coderdave, Thanks for reporting, Did anything else change before this error started appearing? |
I started getting these errors after upgrading macOS to 13.3 and Xcode to 14.3. FWIW, I still get these errors when changing the "Command Line Tools" to "Xcode 14.2" |
Having same problem (did not upgrade macOS, but did update to xcode 14.3). Downgrading and changing cli tools to 14.2 did not resolve either. I removed Onesignal from Frameworks and libraries and it builds all of a sudden. Still need to test if Onesignal works - I doubt it. |
What is interesting, I was able to get the app to run on a physical device. However, I have noticed under "App Groups" the text is in red and when I click the "refresh button", I get "Unable to log in" with my account. Is this related? |
It looks like libPods-OneSignalNotificationServiceExtension.a gets linked correctly for the physical device but not for the simulator. When you go to it in The Target -> General -> Frameworks and Libraries and open in finder, it will open for the device, but not for the simulator. |
Figured it out. Launching Xcode 14.3 in Rosetta is no longer allowed. In the new menu command Product → Destination → Destination Architectures → Show Rosetta Destinations or Show Both. Then set your destination explicitly as a Rosetta simulator and it should work. Though it would be nice to update react-native-onesignal to work without rosetta... |
Thanks for the update, @ray-holland-es! Glad to hear that explicitly setting the destination worked for you. @coderdave and @gurbela, has this worked for you as well, or are you still having issues? |
The rosetta solution works for now, but it would be great if onesignal could run normally on the non rosetta simulators as well. |
@KylixMedusa I am not able to reproduce on my m1 mac. What version of cocoapods are you using? |
I couldn't solve this problem without updating the React Native version. Now I'm using the latest version of react-native and it's working fine |
This solution works for me
|
still got this error |
any update ? the strange thing is that I'm receiving this error even working with rosetta |
this is what happened to me, I upgraded Xcode to 14.3.1 then downgraded to 14.2. |
What happened?
OneSignalNotificationExtension target build fail:
Error:
Steps to reproduce?
What did you expect to happen?
iOS Development Target 11.1
"react-native": "0.64.4",
I had
"react-native-onesignal": "4.3.11"
version but the new version has the same problem"4.5.1"
.React Native OneSignal SDK version
4.5.1
Which platform(s) are affected?
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: