应用程序终止,无法解决原因

时间:2014-09-04 13:01:53

标签: ios cordova

我有一个手机应用程序已经工作了很长时间但突然间我不断被强行退出。我不能说什么时候第一次进来(所以我不知道自从它发生了什么后我发生了变化)。

基本上,应用程序加载正常,然后在强制退出且没有错误的情况下大约10秒后达到一个点。

更糟糕的是,我正在使用phonegap构建,因此调试提供了正确的痛苦。我不能不在phonegap构建中这样做,因为我太依赖于使用的插件。

这是我设法摆脱iphone控制台

Sep  4 13:54:14 Haydens-iPhone AppName[529] <Warning>: THREAD WARNING: ['org.apache.cordova.facebook.Connect'] took '65.408936' ms. Plugin should use a background thread.
Sep  4 13:54:14 Haydens-iPhone AppName[529] <Warning>: THREAD WARNING: ['InAppPurchase'] took '33.147217' ms. Plugin should use a background thread.
Sep  4 13:54:15 Haydens-iPhone AppName[529] <Warning>: THREAD WARNING: ['Geolocation'] took '31.754883' ms. Plugin should use a background thread.
Sep  4 13:54:15 Haydens-iPhone AppName[529] <Warning>: InAppPurchase[objc]: Getting products data
Sep  4 13:54:15 Haydens-iPhone AppName[529] <Warning>: InAppPurchase[objc]: Set has 2 elements
Sep  4 13:54:15 Haydens-iPhone AppName[529] <Warning>: InAppPurchase[objc]:  - newpet002
Sep  4 13:54:15 Haydens-iPhone AppName[529] <Warning>: InAppPurchase[objc]:  - instantpet001
Sep  4 13:54:15 Haydens-iPhone AppName[529] <Warning>: InAppPurchase[objc]: Starting product request...
Sep  4 13:54:15 Haydens-iPhone AppName[529] <Warning>: InAppPurchase[objc]: Product request started

Sep  4 13:54:15 Haydens-iPhone AppName[529] <Error>: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSRegularExpression enumerateMatchesInString:options:range:usingBlock:]: nil argument'
    *** First throw call stack:
    (0x2e8aaf83 0x39125ccf 0x2e8aaec5 0x2f22522b 0x2f225115 0x9067b 0x906ff 0x9406d 0xb9f49 0xb91af 0xb71f7 0xbb6e7 0xbb621 0xbbc5b 0x2f1eafc3 0x2f1eaf07 0x2f1eae21 0x2e5110e7 0x2e50fcf7 0x2e7de8f1 0x2e4a76bb 0x2e4a7579 0x2e4a740d 0x2e87620b 0x2e8756db 0x2e873ecf 0x2e7deebf 0x2e7deca3 0x33738663 0x3112b14d 0x9323f 0x39632ab7)

1 个答案:

答案 0 :(得分:0)

好的,我弄清楚它是什么。 Phoneagp 3.5.0版本似乎与Facebook Connect插件0.4.0无关。我在http://www.tiag.me/phonegap-crashing-suddenly-second-time-loaded-iphone/

写了更多