Open sipersso opened 3 years ago
We're having this same problem. The app builds locally, but fails with No Such Module when building on Bitrise.
Facing same issue any solution Xcode 13.2.1 Chip Apple M1
same issue here with Bitrise. I tried Xcode 13.1.x, 13.2.x and 13.3.x ... nothing works. Any ideas? The local build works.
same issue here with Bitrise. I tried Xcode 13.1.x, 13.2.x and 13.3.x ... nothing works. Any ideas? The local build works.
Try setting to manual build order.
@dsmailes doesn't work but I found a solution. I am using branch = "release-3.10.0" now
yes, @ortinteractive it's work for me
any updates to this?
What it work for me, I have change the version, attached message for Reference
Than follow below step it will work:
Hi @neha275 , can you please provide more information or a screenshot for this step? "-> Use product OneSignal for your app target, and product OneSignalExtension for your Notification Service Extension target."
How do you change the targets?
Thanks!
Same issue with Xcode 14.0.1
Can build and run on device in debug mode
No such module 'OneSignal'
when create an archive
Ty to clean the build, derived data and SwiftPM caches
Use OneSignal-XCFramework 3.11.2
Fixed this archive issue for Xcode 14.0.1 as following After adding the package,
This worked for me.
Fixed this archive issue for Xcode 14.0.1 as following After adding the package,
- Open project settings
- Tap on OneSignalNotificationServiceExtension target
- In Frameworks and Libraries, add 'OneSignalExtension'
- Clean all and try to archive again 🎉
This worked for me as well. Thanks!!
Late for the party but they included it in the official troubleshooting: https://documentation.onesignal.com/docs/troubleshooting-ios#no-such-module-onesignal
Hi!
I am new to OneSignal and just added the SDK via SPM (OneSignal-XCFramework). The build works fine when building for a simulator. But when archiving for release, build fails, with a "No Such Module" compiler error. This seems to be a common error with other swift packages as well. Is this an issue you are aware of?