XCode模拟器运行时出错,提示error: failed to attach to process ID xxx,
解决方法:
Open only XCode without opening project -> Go to Window -> organizer -> [ProjectName] and delete it completely -> Quit XCode -> Open iPhone simulator and reset settings -> Quit iPhone simulator -> reboot Mac -> reopen XCode and run application