何時もお世話になっております。
##今回起こったこと
アプリを提出して、iPadに対応し切れていないというリジェクトされた部分の
修正をかけるためスクロールビュー内に今まであった入力欄を入れ直し、
IBの接続が切れていたため、接続のし直しをして
iPadのシミュレータで実行して画面はどうなるかのチェックをしたところ
エラーが起こりました。
##エラーメッセージ
次のように出ました
objc[5260]: Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x111dcbcc0) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x111be26f0). One of the two will be used. Which one is undefined. 2017-06-14 10:47:41.390 SplitTB[5260:681753] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<SplitTB.ViewController 0x7f9201707a40> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key scrollView.' *** First throw call stack: ( 0 CoreFoundation 0x0000000107a51b0b __exceptionPreprocess + 171 1 libobjc.A.dylib 0x0000000107146141 objc_exception_throw + 48 2 CoreFoundation 0x0000000107a51a59 -[NSException raise] + 9 3 Foundation 0x0000000106c5c00b -[NSObject(NSKeyValueCoding) setValue:forKey:] + 292 4 UIKit 0x0000000108b34994 -[UIViewController setValue:forKey:] + 87 5 UIKit 0x0000000108da1a09 -[UIRuntimeOutletConnection connect] + 109 6 CoreFoundation 0x00000001079f7e8d -[NSArray makeObjectsPerformSelector:] + 269 7 UIKit 0x0000000108da03bf -[UINib instantiateWithOwner:options:] + 1856 8 UIKit 0x0000000108b3afc3 -[UIViewController _loadViewFromNibNamed:bundle:] + 381 9 UIKit 0x0000000108b3b8d9 -[UIViewController loadView] + 177 10 UIKit 0x0000000108b3bc0a -[UIViewController loadViewIfRequired] + 195 11 UIKit 0x0000000108b3c45a -[UIViewController view] + 27 12 UIKit 0x0000000108a0498a -[UIWindow addRootViewControllerViewIfPossible] + 65 13 UIKit 0x0000000108a05070 -[UIWindow _setHidden:forced:] + 294 14 UIKit 0x0000000108a17ebe -[UIWindow makeKeyAndVisible] + 42 15 UIKit 0x000000010899137f -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 4346 16 UIKit 0x00000001089975e4 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1709 17 UIKit 0x00000001089947f3 -[UIApplication workspaceDidEndTransaction:] + 182 18 FrontBoardServices 0x000000010f0eb5f6 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 24 19 FrontBoardServices 0x000000010f0eb46d -[FBSSerialQueue _performNext] + 186 20 FrontBoardServices 0x000000010f0eb7f6 -[FBSSerialQueue _performNextFromRunLoopSource] + 45 21 CoreFoundation 0x00000001079f7c01 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 22 CoreFoundation 0x00000001079dd0cf __CFRunLoopDoSources0 + 527 23 CoreFoundation 0x00000001079dc5ff __CFRunLoopRun + 911 24 CoreFoundation 0x00000001079dc016 CFRunLoopRunSpecific + 406 25 UIKit 0x000000010899308f -[UIApplication _run] + 468 26 UIKit 0x0000000108999134 UIApplicationMain + 159 27 SplitTB 0x00000001062cc247 main + 55 28 libdyld.dylib 0x000000010ba7765d start + 1 29 ??? 0x0000000000000001 0x0 + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException
コードなどを見てる段階では何もエラーはありませんし、接続を見て見ましたが、接続先が二重になっているような箇所もありませんでした。
どういう点でこのエラーメッセージは起きているのでしょうか。
ご教示宜しくお願い致します。
##補足
Xcode8.3.3
Swift3でおこなっております。
プログラムに問題がありそうでしたら、そちらも載せます。
宜しくお願い致します。
回答1件
あなたの回答
tips
プレビュー