Xcode正式版和beta共存时pod repo push的问题

报错:

ERROR | [iOS] unknown: Encountered an unknown error (743: unexpected token at '2017-08-16 14:12:34.578 simctl[49071:6346926] CoreSimulator detected Xcode.app relocation or CoreSimulatorService version change.Framework path (/Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework) and version (375.21) does not match existing job path (/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple.CoreSimulator.CoreSimulatorService.xpc) and version (494.12).Attempting to remove the stale service in order to add the expected version.

用一行命令就可以解决

launchctl remove com.apple.CoreSimulator.CoreSimulatorService || true
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容