Xcode-beta (7A152u): Can’t Test WatchKit App or Framework
||Date Originated:||09-Jul-2015 11:50 PM|
||Product Version:||Xcode-beta (7A152u)|
In Xcode 7, you can’t make a unit testing target that targets a WatchKit 2 app or watchOS Framework.
Steps to Reproduce:
1. Create a WatchKit Extension in your iPhone app.
2. Create a new Unit Testing target.
3. Try to set the WatchKit Extension as the target of the Unit Testing target.
You can unit test your watchOS app.
You can’t choose the WatchKit Extension (or the watch app, for that matter) as the target of the test target.
Also not possible with WatchKit 1
UI Testing for the watch would be AMAZING.
Reports posted here will not necessarily be seen by Apple.
All problems should be submitted at bugreport.apple.com before they are posted here.
Please only post information for Radars that you have filed yourself, and please do
not include Apple confidential information in your posts. Thank you!