I made a messages extension and when I run it on the iOS simulator everything runs no problem. When I try to run it on my phone, it compiles and says running for about 5 seconds before crashing and giving me a pop down message in Xcode saying Could not attach to pid
Here is a screenshot:
I am using Xcode 8 beta 4 with iOS 10. Everything runs fine in simulator this is on physical device. I have rebooted and restarted everything. I have even tried on two phones. Anyone know the solution?
Thanks
来源:https://stackoverflow.com/questions/38811591/xcode-8-beta-4-could-not-attach-to-pid-1110-when-running-on-physical-device