I’m trying to build an app with the onesignal plugins. Other plugins seems to be downloaded and linked correctly but onesignal will create a runtime error. I have tried to manually move the plugin.onesignal.lua to the corona folder. It’s the same result on xcode simulator and a real device. The app have been on the appstore several years with onesignal working but now when trying to create a new version it fails.
Build settings
[“plugin.OneSignal”] = {
publisherId = “com.onesignal”,
supportedPlatforms = {
iphone= { url=“https://github.com/solar2d/com.onesignal-plugin.OneSignal/releases/download/v3/2019.3510-iphone.tgz” },
–android= { url=“https://github.com/solar2d/com.onesignal-plugin.OneSignal/releases/download/v3/2020.3607-android.tgz”},
},
},
Error message from Xcode
ERROR: Runtime error
module ‘OneSignal’ not found:resource (OneSignal.lu) does not exist in archive
no field package.preload[‘OneSignal’]
no file '/Users/magnus.frejd/Library/Developer/CoreSimulator/Devices/40267CB5-3B75-4304-B19D-4E1F35ECD62C/data/Containers/Bundle/Application/842E53F9-6CAD-4CC8-9738-AA81445AAE95/Laxton Ghost.app/corona-plugins/OneSignal.lua’
no file '/Users/magnus.frejd/Library/Developer/CoreSimulator/Devices/40267CB5-3B75-4304-B19D-4E1F35ECD62C/data/Containers/Bundle/Application/842E53F9-6CAD-4CC8-9738-AA81445AAE95/Laxton Ghost.app/OneSignal.lua’
no file '/Users/magnus.frejd/Library/Developer/CoreSimulator/Devices/40267CB5-3B75-4304-B19D-4E1F35ECD62C/data/Containers/Bundle/Application/842E53F9-6CAD-4CC8-9738-AA81445AAE95/Laxton Ghost.app/OneSignal.lua’
no file '/Users/magnus.frejd/Library/Developer/CoreSimulator/Devices/40267CB5-3B75-4304-B19D-4E1F35ECD62C/data/Containers/Bundle/Application/842E53F9-6CAD-4CC8-9738-AA81445AAE95/Laxton Ghost.app/corona-plugins/OneSignal.so’
no file '.