My app works fine on the Corona simulator but crashes on the device.
this is the error log:
Apr 11 16:33:43 unknown amfid[318] <error>: entitlement 'application-identifier' has value not permitted by a provisioning profile<br>Apr 11 16:33:44 unknown UIKitApplication:NavTrainer[0xabf3][317] <notice>: AudioStreamBasicDescription: 2 ch, 44100 Hz, 'lpcm' (0x00000C2C) 8.24-bit little-endian signed integer, deinterleaved<br>Apr 11 16:33:44 unknown kernel[0] <debug>: launchd[317] Builtin profile: container (sandbox)<br>Apr 11 16:33:44 unknown kernel[0] <debug>: launchd[317] Container: /private/var/mobile/Applications/20986498-01D4-4A2F-BEF2-22FA3CA5E215 [69] (sandbox)<br>
I isolated the problem to an area of my code where a sprite sheet is created:<br>require "sprite"<br>local data = require ("windsock").getSpriteSheetData()<br><br>local sheet = sprite.newSpriteSheetFromData("windsock.png", data)<br>local set = sprite.newSpriteSet (sheet, 1, 12)<br>local windsock = sprite.newSprite(set)<br><br>windsock:play()<br>
when I replace that block of code with a simple rectangle display object instead of the sprite, the app does not crash, however I need the object to be animated.
I read that these problems often occur because of IOS being case-sensitive. I checked the spelling over and over of windsock.png and windsock.lua (created with imagePacker) and they are identical in case to my code.
Help anyone?
thanks [import]uid: 33608 topic_id: 8786 reply_id: 308786[/import]