简体   繁体   中英

Xcode 7.1 iOS 9.0 watchOS 2 app stops running after install

When I run my watch kit app (WatchOS 2) in Xcode 7, Swift, it installs and then finishes (stops). No error messages, it just stops. I've uninstalled and re-install both the IOS app and the watch app. No luck. Runs fine in the simulator. If I create a new empty project, same behavior. When I check the watch app on the watch, the new build is installed. It just doesn't run from Xcode so I can't get my debug messages. I am using the scheme for the IOS app and the Watch App. Is there anything to look for in the scheme config? I have also recently updated my provisioning profile and development certificates.

I've tried looking at similar questions, but so far they have not helped.

Xcode successfully builds my target, but does not run the product

Debug/Run in Xcode stopped working. Executable settings are wrong and can't be fixed too

and similar to:

"This app contains an app extension with an illegal bundle identifier" issue

There's several people with this problem. I can't give you any tips for iOS 9.0 and XCode 7.1 (Besides, reseting everything and trying again). But, If you update to watchOS 2.1, iOS 9.2 and XCode 7.2, everything works.

连接设备后,关闭我的 iPhone 并观看,然后重新启动即可解决问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM