I just submitted my latest app update. In this update I am using the admob plugin for the first time. Not sure if that is relevant.
Apple rejected the update and sent me a screenshot of the runtime error they are getting. I am unable to replicate this error in the simulator.
At the top of the screenshot it alludes to a resource called “gameDataFile.lu” and says it doesn’t exist. I’m puzzled by this, since the file in my bundle is “gameDataFile.lua”. I searched the whole bundle for “gameDataFile.lu” and couldn’t find it. I’ve attached the screenshot that Apple sent me.
I’m using version Corona version 2018.3326 (2018.6.25) on a Macbook Air running Mac OS Mojave 10.14.1
Did you test your app on an actual device before submitting it? .lu is a valid extension and it’s just saying the file couldn’t be found by any valid extension.
The reason I ask about testing on an actual device is that device’s have case-sensitive file names where the Simulator doesn’t because macOS is not case-sensitive (nor is Windows).
Make sure your file is really called: gameDataFile.lua and not something like GameDataFile.lua, or gameDatafile.lua or gameDataFile.LUA
Make sure to test it on a real device before submitting to the store.
Did you test your app on an actual device before submitting it? .lu is a valid extension and it’s just saying the file couldn’t be found by any valid extension.
The reason I ask about testing on an actual device is that device’s have case-sensitive file names where the Simulator doesn’t because macOS is not case-sensitive (nor is Windows).
Make sure your file is really called: gameDataFile.lua and not something like GameDataFile.lua, or gameDatafile.lua or gameDataFile.LUA
Make sure to test it on a real device before submitting to the store.