2

新しい App iBeat をリリースしたばかりですが、リリース前は私と私の友人にとっては問題なく機能していました。

現在、多くの顧客が同じクラッシュを経験しているように見えますが、それは常に同じような段階で発生しています。

(シンボリック化された) サンプルのクラッシュ レポートを次に示します。

Exception Type:  SIGTRAP
Exception Codes: #0 at 0x30d7c2d4
Crashed Thread:  0

Application Specific Information:
*** Terminating app due to uncaught exception \'NSInternalInconsistencyException\', reason: \'Could not load NIB in bundle: \'NSBundle </var/mobile/Applications/5BBE8B5E-ECF5-4CA8-97A6-1F5BF8AC7792/iBeat.app> (loaded)\' with name \'SettingsVC_iPad\'\'

Thread 0 Crashed:
0   libSystem.B.dylib                   0x000792d4 __kill + 8
1   libSystem.B.dylib                   0x000792bd raise + 17
2   iBeat                               0x0003f301 uncaught_exception_handler (PLCrashReporter.m:137)
3   CoreFoundation                      0x000a0adf __handleUncaughtException + 239
4   libobjc.A.dylib                     0x00006593 _objc_terminate + 103
5   libstdc++.6.dylib                   0x00042df9 __cxxabiv1::__terminate(void (*)()) + 53
6   libstdc++.6.dylib                   0x00042e4d std::terminate() + 17
7   libstdc++.6.dylib                   0x00042f1d __cxa_throw + 85
8   libobjc.A.dylib                     0x000054cb objc_exception_throw + 71
9   CoreFoundation                      0x000a07c9 +[NSException raise:format:arguments:] + 69
10  CoreFoundation                      0x000a0803 +[NSException raise:format:] + 35
11  UIKit                               0x001e9783 -[UINib instantiateWithOwner:options:] + 1111
12  UIKit                               0x001eab39 -[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:] + 93
13  UIKit                               0x0013e8e5 -[UIViewController _loadViewFromNibNamed:bundle:] + 37
14  UIKit                               0x0013dcb9 -[UIViewController loadView] + 81
15  UIKit                               0x0003e227 -[UIViewController view] + 31
16  UIKit                               0x0004ad0b -[UIViewController contentScrollView] + 23
17  UIKit                               0x0004ab7b -[UINavigationController _computeAndApplyScrollContentInsetDeltaForViewController:] + 31
18  UIKit                               0x0004aa79 -[UINavigationController _layoutViewController:] + 25
19  UIKit                               0x0004a551 -[UINavigationController _startTransition:fromViewController:toViewController:] + 381
20  UIKit                               0x0004a35f -[UINavigationController _startDeferredTransitionIfNeeded] + 183
21  UIKit                               0x0004a2a3 -[UINavigationController viewWillLayoutSubviews] + 15
22  UIKit                               0x0004a23f -[UILayoutContainerView layoutSubviews] + 139
23  UIKit                               0x000130cf -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 27
24  CoreFoundation                      0x0003ebbf -[NSObject(NSObject) performSelector:withObject:] + 23
25  QuartzCore                          0x0000f685 -[CALayer layoutSublayers] + 121
26  QuartzCore                          0x0000f43d CALayerLayoutIfNeeded + 185
27  QuartzCore                          0x0000f377 -[CALayer layoutIfNeeded] + 79
28  UIKit                               0x0008c48f -[UIView(Hierarchy) layoutIfNeeded] + 23
29  UIKit                               0x000d0ec1 -[UIViewController window:willAnimateRotationToInterfaceOrientation:duration:] + 357
30  UIKit                               0x00110e49 -[UIWindow _setRotatableClient:toOrientation:updateStatusBar:duration:force:] + 3101
31  UIKit                               0x000cf6db -[UIWindowController transition:fromViewController:toViewController:target:didEndSelector:] + 679
32  UIKit                               0x000cefc7 -[UIViewController presentModalViewController:withTransition:] + 2139
33  UIKit                               0x000ce6a3 -[UIViewController presentModalViewController:animated:] + 59
34  iBeat                               0x000044f3 -[MetronomeVC settingsTapped] (MetronomeVC.m:956)

このクラッシュは、SettingsVC_iPad、InfoVC_iPhone、または Settings_VC_iPhone の異なる nib ファイルを使用する、サポートされているすべての iOS バージョンで発生します。

問題は、iPod でも iPad でも、このエラーを再現できないことです。

助言がありますか?(このクラッシュは非常に一般的なようです。これについては、既に 200 件のクラッシュ レポートを取得しています)

編集: 明確にするために、App Store からダウンロードしたバージョンで実験を行ったので、エラーが発生した正確なバージョンで再作成しようとしました。

4

2 に答える 2

1

ご不便をおかけして申し訳ありませんが、それは完全に私のせいでした。

開発の本当に早い段階でフランス語版を作成する予定だったので、削除したことのないfr.lprojフォルダーがありました。どうやら、フランス語で開始したとき、アプリはまだ私のIBファイルのフランス語バージョンを探していました。

「n'ajamaisfinid'apprendreについて。」

于 2010-12-06T15:25:11.687 に答える
1

それがあなたの問題を解決するかどうかはわかりません..しかし、これが間違いであることを強く疑っています...

あなたがアプリケーションをパッケージ化したとき、あなたはあなたのnibファイルをあなたのプロジェクトにコピーせず、そこには参照しかないと思います..

おそらく開発用 Mac からアプリを取得しており、そこに nib ファイルの参照が存在するため、このエラーは発生しません。

iPhoneからアプリを削除し、アプリストアからアプリをダウンロードしてみてください..

于 2010-12-06T05:54:46.440 に答える