卸载Xcode 9.1

时间:2019-06-21 05:43:56

标签: xcode xcode10.1 xcode9.1

我使用过Xcode 9.1,然后又安装了Xcode 10.1并使用了最新版本。

几天后,我从计算机上卸载了Xcode 9.1。所以我得到了

找到了Xcode工作区Fashion.xcworkspace xcrun:错误:活动的开发人员路径(“ /Users/name/Downloads/Xcode.app/Contents/Developer”)不存在 使用sudo xcode-select --switch path/to/Xcode.app指定要用于命令行开发人员工具的Xcode,或使用xcode-select --install安装独立的命令行开发人员工具。 有关更多详细信息,请参见man xcode-select

命令失败:xcrun Instruments -s xcrun:错误:活动的开发人员路径(“ /Users/name/Downloads/Xcode.app/Contents/Developer”)不存在 使用sudo xcode-select --switch path/to/Xcode.app指定要用于命令行开发人员工具的Xcode,或使用xcode-select --install安装独立的命令行开发人员工具。 有关更多详细信息,请参见man xcode-select

我再次运行以上命令(sudo xcode-select --switch path / to / Xcode.app。)现在我得到了这些错误

找到了Xcode工作区Fashion.xcworkspace 2019-06-21 10:29:13.176 Instruments [10344:365540] * NSDictionary中的断言失败* _Nullable rock_XPCObjectToNSDictionary(xpc_object_t _Nonnull __strong,ROCKSessionManager * _Nullable __strong,NSError * _Nullable __autoreleasing * / _ Nullable(/) Library / Caches / com.apple.xbs / Sources / ROCKit / ROCKit-24 / ROCKit / NSDictionary + ROCK.m:172 2019-06-21 10:29:13.184 Instruments [10344:365540] InstrumentsException:API违规:rock_XPCObjectToNSDictionary将返回nil且未设置错误。 2019-06-21 10:29:13.184 Instruments [10344:365540] * 由于未捕获的异常'NSInternalInconsistencyException'终止了应用程序,原因:'API违规:rock_XPCObjectToNSDictionary将返回nil且未设置错误。' ***首先抛出调用堆栈: (     0 CoreFoundation 0x00007fff3d603ecd __exceptionPreprocess + 256     1个libobjc.A.dylib 0x00007fff696bf720 ob​​jc_exception_throw + 48     2 CoreFoundation 0x00007fff3d61eb2a + [NSException提高:格式:参数:] + 98     3基础0x00007fff3fa11eed-[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] + 166     4 ROCKit 0x00007fff60c5ffc4 rock_XPCObjectToNSDictionary + 1979     5 CoreSimulator 0x000000010fbc9d3c __50- [SimDeviceSet subscriptionToNotificationsWithError:] _ block_invoke + 44     6 libxpc.dylib 0x00007fff6a9c05dd xpc_array_apply + 57     7 CoreSimulator 0x000000010fbc99ae-[SimDeviceSet subscriptionToNotificationsWithError:] + 866     8 CoreSimulator 0x000000010fb999cd __45- [SimServiceContext deviceSetWithPath:error:] _ block_invoke + 741     9 libdispatch.dylib 0x00007fff6a73fdcf _dispatch_client_callout + 8     10 libdispatch.dylib 0x00007fff6a74ba2c _dispatch_lane_barrier_sync_invoke_and_complete + 60     11 CoreSimulator 0x000000010fb99516-[SimServiceContext deviceSetWithPath:error:] + 249     12 CoreSimulator 0x000000010fb993f9-[SimServiceContext defaultDeviceSetWithError:] + 71     13 XRMobileDeviceDiscoveryPlugIn 0x000000010fa51a30 XRMobileDeviceDiscoveryPlugIn + 23088     14 libdispatch.dylib 0x00007fff6a73fdcf _dispatch_client_callout + 8     15 libdispatch.dylib 0x00007fff6a741515 _dispatch_once_callout + 20     16 XRMobileDeviceDiscoveryPlugIn 0x000000010fa518bb XRMobileDeviceDiscoveryPlugIn + 22715     17 XRMobileDeviceDiscoveryPlugIn 0x000000010fa500ea XRMobileDeviceDiscoveryPlugIn + 16618     18种乐器插件0x0000000106d4472d _startListening + 148     19 libdispatch.dylib 0x00007fff6a73fdcf _dispatch_client_callout + 8     20 libdispatch.dylib 0x00007fff6a74ba2c _dispatch_lane_barrier_sync_invoke_and_complete + 60     21 InstrumentsPlugIn 0x0000000106d444bf __47 + [XRDeviceDiscovery _faultDeviceDiscoveryImpls] _block_invoke + 683     22 libdispatch.dylib 0x00007fff6a73fdcf _dispatch_client_callout + 8     23 libdispatch.dylib 0x00007fff6a741515 _dispatch_once_callout + 20     24 InstrumentsPlugIn 0x0000000106d44212 + [XRDeviceDiscovery _faultDeviceDiscoveryImpls] + 86     25台仪器插件0x0000000106d45b52 + [XRDeviceDiscovery allKnownDevices] + 24     26台仪器0x000000010699e2da仪器+ 4826     27个仪器0x00000001069a0c2b仪器+ 15403     28台仪器0x00000001069a39ac仪器+ 27052     29 libdyld.dylib 0x00007fff6a78ded9开始+ 1 ) libc ++ abi.dylib:以类型为NSException的未捕获异常终止

如何启动没有任何错误的Xcode 10.1,以及如何解决这些错误。我需要构建没有任何错误的应用程序

0 个答案:

没有答案