ios – (模拟器iPhone 4s不可用.)在验证期间

ios – (模拟器iPhone 4s不可用.)在验证期间,第1张

概述我尝试将我的pod更新为 Xcode 8和 Swift 3语法,我确实运行了以下项目命令: pod spec lint BSTableViewReorder.podspec 它会产生错误: -> BSTableViewReorder (1.3) - ERROR | [iOS] unknown: Encountered an unknown error (/Applications/Xc 我尝试将我的pod更新为 Xcode 8和 Swift 3语法,我确实运行了以下项目命令:

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 devices2016-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:5362016-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之后,出现以下错误:

Encountered an unkNown error (Simulator iPhone 4s is not available.) during valIDation.

如何解决这个问题?

解决方法 只需安装iOS 9.3模拟器

总结

以上是内存溢出为你收集整理的ios – (模拟器iPhone 4s不可用.)在验证期间全部内容,希望文章能够帮你解决ios – (模拟器iPhone 4s不可用.)在验证期间所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/web/1009782.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-22
下一篇 2022-05-22

发表评论

登录后才能评论

评论列表(0条)

保存