I am adding GameThrive plugins to my iOS app using Enterprise. The build process is successful, but during runtime, I am getting this error:
Runtime error module 'plugin.GameThrivePushNotifications' not found:resource (plugin.GameThrivePushNotifications.lu) does not exist in archive no field package.preload['plugin.GameThrivePushNotifications'] no file '/Users/facv01/Library/Developer/CoreSimulator/Devices/CABB3976-399E-4BB9-BCB3-C77FF7EE1A3E/data/Containers/Bundle/Application/B72A38AB-5216-488D-958D-B6B52C9181E2/Steve Jobs.app/plugin.GameThrivePushNotifications.lua' no file '/Users/facv01/Library/Developer/CoreSimulator/Devices/CABB3976-399E-4BB9-BCB3-C77FF7EE1A3E/data/Containers/Bundle/Application/B72A38AB-5216-488D-958D-B6B52C9181E2/Steve Jobs.app/plugin.GameThrivePushNotifications.lua' no file './plugin.GameThrivePushNotifications.so' no file '/Users/facv01/Library/Developer/CoreSimulator/Devices/CABB3976-399E-4BB9-BCB3-C77FF7EE1A3E/data/Containers/Bundle/Application/B72A38AB-5216-488D-958D-B6B52C9181E2/Steve Jobs.app/plugin.GameThrivePushNotifications.so' no file './plugin.so' no file '/Users/facv01/Library/Developer/CoreSimulator/Devices/CABB3976-399E-4BB9-BCB3-C77FF7EE1A3E/data/Containers/Bundle/Application/B72A38AB-5216-488D-958D-B6B52C9181E2/Steve Jobs.app/plugin.so'plugin.GameThrivePushNotifications stack traceback:
I am following instruction from here and here.
-
Build Phases > Link Binary in Libraries > Add ‘CoronaEnterprise/Plugins/gamethrive/2014.2430/iphone/libplugin_GameThrivePushNotifications.a’
-
Added ObjC to ‘Other Linker Flags’
3. Enable “Background Modes” and check “Remote notifications”
-
Build and run in iOS simulator
-
Got the error above.
What is the problem?