module not found in IOS Build

App works fine on the simulator but when built for IOS device we get a runtime error:

module ‘pList’ not found:resource (pList.lu) does not exist in archive
        no field package.preload[‘pList’]

This file is in the directory being built so…Has this to do with the name used for this file - pList.lua?

Hi @kilopop,

Issues of “works in the Simulator but not on device” is usually a case-sensitive mismatch. If you’re sure that the cases match, then it’s possible (although I would be surprised) that iOS chokes on that specific name of “pList” or “plist”. In that case, try renaming it to something like “preflist.lua” and see what happens.

Brent

Appreciate that Brent. Yes, it was a case-sensitive issue in IOS.

Thanks.

Hi @kilopop,

Issues of “works in the Simulator but not on device” is usually a case-sensitive mismatch. If you’re sure that the cases match, then it’s possible (although I would be surprised) that iOS chokes on that specific name of “pList” or “plist”. In that case, try renaming it to something like “preflist.lua” and see what happens.

Brent

Appreciate that Brent. Yes, it was a case-sensitive issue in IOS.

Thanks.