大佬教程收集整理的这篇文章主要介绍了ios – (模拟器iPhone 4s不可用.)在验证期间,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
pod spec lint BSTableViewReorder.podspec
它会产生错误:
-> BSTableViewReorder (1.3) - ERROR | [iOS] unkNown: Encountered an unkNown error (/Applications/Xcode.app/Contents/Developer/usr/bin/xcrun simctl list devices 2016-08-25 11:58:10.561 simctl[34169:531955] CoreSimulator is attempTing to unload a stale CoreSimulatorservice job. Detected Xcode.app reLOCATIOn or CoreSimulatorservice version change. Framework path (/Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework) and version (209.19) does not match exisTing job path (/Users/kuna/Downloads/Xcode-beta.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCservices/com.apple.CoreSimulator.CoreSimulatorservice.xpc/Contents/MacOS/com.apple.CoreSimulator.CoreSimulatorservicE) and version (303.7). 2016-08-25 11:58:10.819 simctl[34169:531955] Failed to locate a valid instance of CoreSimulatorservice in the bootstrap. Adding it Now. 2016-08-25 11:58:10.839 simctl[34169:531955] *** Assertion failure in -[SimserviceContext reloadserviceIfMovedOrAbortIfWeAreInvalid],/buildroot/Library/Caches/com.apple.xbs/sources/CoreSimulator/CoreSimulator-209.19/CoreSimulator/SimserviceContext.m:536 2016-08-25 11:58:10.857 simctl[34169:531955] *** TerminaTing app due to uncaught exception 'NSInternalInconsistencyException',reason: 'The loaded com.apple.CoreSimulator.CoreSimulatorservice job does not match our expectations: pathOfLoadedJob: /Users/kuna/Downloads/Xcode-beta.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCservices/com.apple.CoreSimulator.CoreSimulatorservice.xpc/Contents/MacOS/com.apple.CoreSimulator.CoreSimulatorservice,our frameworkPath: /Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework' *** First throw call stack: ( 0 CoreFoundation 0x00007fff87a934f2 __exceptionPreprocess + 178 1 libobjc.A.dylib 0x00007fff93c8973c objc_exception_throw + 48 2 CoreFoundation 0x00007fff87a981ca +[NSException raise:format:arguments:] + 106 3 Foundation 0x00007fff8aaa8856 -[NSAssertionHandler handleFailureInMethod:object:file:linenumber:description:] + 198 4 CoreSimulator 0x00000001099953e9 -[SimserviceContext reloadserviceIfMovedOrAbortIfWeAreInvalid] + 1313 5 CoreSimulator 0x0000000109995d01 -[SimserviceContext connect] + 41 6 CoreSimulator 0x00000001099947a6 -[SimserviceContext initWithDeveloperDir:connectionType:] + 1108 7 CoreSimulator 0x0000000109994071 __63+[SimserviceContext sharedserviceContextForDeveloperDir:error:]_block_invoke_2 + 127 8 libdispatch.dylib 0x00007fff923fb40b _dispatch_client_callout + 8 9 libdispatch.dylib 0x00007fff923fc9f2 _dispatch_barrier_sync_f_invoke + 74 10 CoreSimulator 0x0000000109993ea6 +[SimserviceContext sharedserviceContextForDeveloperDir:error:] + 226 11 CoreSimulator 0x00000001099941ee +[SimserviceContext sharedserviceContext] + 51 12 simctl 0x0000000109982a71 simctl + 31345 13 libdyld.dylib 0x00007fff95ba65ad start + 1 14 ??? 0x0000000000000003 0x0 + 3 ) libc++abi.dylib: terminaTing with uncaught exception of type NSException ) during validation.
更新:
在我将Xcode的名称从Xcode beta切换到Xcode之后,出现以下错误:
如何解决这个问题?
以上是大佬教程为你收集整理的ios – (模拟器iPhone 4s不可用.)在验证期间全部内容,希望文章能够帮你解决ios – (模拟器iPhone 4s不可用.)在验证期间所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。