2014-05-18 174 views
0

我更新了我的应用程序,Dart Clicker到版本1.1的一些错误修复,当我点击开始按钮它崩溃。我看着使用iPhone配置实用程序的崩溃日志,它显示:我的应用程序崩溃,但在模拟器上工作

May 18 13:04:48 Maanits-5S DartClicker[414] <Error>: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSURL initFileURLWithPath:]: nil string parameter' 
     *** First throw call stack: 
     (0x18bdfaf50 0x1983041fc 0x18bdfae90 0x18c8ef180 0x18c8ef0ec 0x1000077d4 0x18ec786b4 0x10000a4c4 0x18edc4670 0x18edc43f4 0x18ee43194 0x18ee430cc 0x18eebb614 0x18eeb9a9c 0x18edf90c8 0x18edf905c 0x18ede2538 0x18edf8a5c 0x18edf86f0 0x18edf3388 0x18edc4b68 0x18edc2c58 0x18bdbb644 0x18bdba9a0 0x18bdb8c38 0x18bcf9c20 0x1919e1c0c 0x18ee2afdc 0x10000a834 0x1988f7aa0) 
    May 18 13:04:48 Maanits-5S ReportCrash[416] <Notice>: ReportCrash acting against PID 414 
    May 18 13:04:48 Maanits-5S backboardd[31] <Error>: HID: The 'Passive' connection 'AdSheet' access to protected services is denied. 
    May 18 13:04:48 Maanits-5S limitadtrackingd[164] <Warning>: Not scheduling a new BTA job; keeping previously scheduled job should run after 82700s from now when the network is available. 
    May 18 13:04:48 Maanits-5S ReportCrash[416] <Notice>: Formulating crash report for process DartClicker[414] 
    May 18 13:04:48 Maanits-5S com.apple.launchd[1] (UIKitApplication:DartClicker.DartClicker[0x6233][414]) <Warning>: (UIKitApplication:DartClicker.DartClicker[0x6233]) Job appears to have crashed: Abort trap: 6 
    May 18 13:04:48 Maanits-5S backboardd[31] <Warning>: Application 'UIKitApplication:DartClicker.DartClicker[0x6233]' exited abnormally with signal 6: Abort trap: 6 
    May 18 13:04:48 Maanits-5S ReportCrash[416] <Notice>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/DartClicker_2014-05-18-130448_Maanits-5S.ips using uid: 0 gid: 0, synthetic_euid: 501 egid: 0 

有没有办法解决这个问题?
谢谢

回答

0

看起来像你通过零至initFileURLWithPath:。我需要看一些代码来找出原因。

+0

我看着它,它的工作。谢谢 – codegirl

+0

我刚刚有一个问题:当我的应用程序在应用程序商店但它在模拟器上正常工作时出现此错误,所以有没有方法来测试它而不提交它,因为它已经在模拟器上工作? – codegirl

+0

@ MadMan30模拟器与实际设备之间存在一定差异。有些比其他更明显,比如相机和加速度计。有些并不明显,这就是苹果鼓励开发者在真实设备上试用他们的应用的原因。不幸的是,如果你没有iOS设备,那么你很幸运,直到你获得一台设备。也许你有一个朋友可以借用?我希望这能回答你的问题。 – vegather

相关问题