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

你可能感兴趣的:(Xcode正式版和beta共存时pod repo push的问题)