emo*_*ssi 21 teamcity continuous-integration xcodebuild xcode8
我在teamcity的构建日志中有一个警告.我已经将我的CI-Server上的Xcode从7.3.1更新到8.步骤成功运行但我有:
[Step 3/3] Starting: /Users/teamcity/local/teamcity-build-agent/temp/agentTmp/custom_scriptxxxxxxx
[Step 3/3] in directory: /Users/teamcity/local/teamcity-build-agent/work/yyyy
[Step 3/3] 2016-10-11 09:04:41.706 xcodebuild[18180:5010256] CoreSimulator is attempting to unload a stale CoreSimulatorService job. Detected Xcode.app relocation or CoreSimulatorService version change. Framework path (/Applications/Xcodes/Xcode_8.0.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework) and version (303.8) does not match existing job path (/Applications/Xcodes/Xcode-7.3.1.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple.CoreSimulator.CoreSimulatorService.xpc) and version (209.19).
[Step 3/3] 2016-10-11 09:04:41.961 xcodebuild[18180:5010256] Failed to locate a valid instance of CoreSimulatorService in the bootstrap. Adding it now.
Run Code Online (Sandbox Code Playgroud)
我该如何修复此警告?
Luc*_*lla 61
我遇到过同样的问题.我要在我的Jenkins服务器上运行Xcode 7(构建旧版本)和Xcode 8(构建当前的开发分支),我一直都在遇到这个问题.
解:
launchctl remove com.apple.CoreSimulator.CoreSimulatorService || true
Run Code Online (Sandbox Code Playgroud)
这是因为,即使您退出模拟器应用程序,该服务仍在运行.删除调用的服务需要上面的命令com.apple.CoreSimulator.CoreSimulatorService.这|| true是为了避免在该服务未运行时出现故障.
| 归档时间: |
|
| 查看次数: |
6978 次 |
| 最近记录: |