https://devforums.apple.com/message/1130381#1130381
I had the same problem as description on the above link. I applied the solution about removing armv7 from valid architecture on both iPhone and Watch extension app, Then did the following steps:
- Build & run your iOS app in the simulator.
- Wait for it to finish launching, then hit the stop button in Xcode.
- Switch your active target to your WatchKit app, build, and run it.
- When the Watch app has finished launching, tap your iOS app's icon in the main simulator window.
- In Xcode's menu bar select Debug > Attach to Process.
- Select your iOS app from the list. Chances are you'll find it under Likely Targets.
But xcode still display complain message "waiting for attach", I would be very appreciate it if someone could help.
Thank you ( :
Hi Dirk,
It doesn't really work for me. I can not fix the problem. It works when I delete the old watchExtension and watch app from the target and recreated everything, the watch app is running normally on the simulator, but I'm afraid if the above problem happens again, I need to delete everything and redo it again...
There must be a solution but I'm still trying to figure out why it causes that watch app deconnected without any reason by unperdicable-randomly chance.
Thanks again for answering my question.🙂