2,405
questions
96
votes
35
answers
35k
views
In Xcode I see (no paired Apple Watch) even though the watch is paired and the watch's UDID is registered
My phone is listed as an ineligible target in Xcode and out to the side it says (no paired Apple Watch).
My Apple Watch is registered under iOS Devices. I can see the UDID. The watch has watchOS ...
70
votes
10
answers
46k
views
How to detect Swiping UP, DOWN, LEFT and RIGHT with SwiftUI on a View
I'm getting into building Apple Watch apps.
What I'm currently working on will require me to make use of detecting swipes in the four main directions (UP, DOWN, LEFT and RIGHT)
The problem is I have ...
65
votes
5
answers
34k
views
WatchKit Extension bundle identifiers
I am trying to build my app but it failed. I am shown the message below.
error: WatchKit Extension doesn't contain any WatchKit apps whose bundle identifiers match "com.domain.appname.watchkitapp". ...
65
votes
7
answers
16k
views
WatchKit apps must have a deployment target equal to iOS 8.2 (was 8.3)?
I just downloaded Xcode 6.3 beta 4, and my WatchKit app now fails to build with an error:
Embedded Binary Validation Utility Error
error: WatchKit apps must have a deployment target equal to iOS 8.2 (...
60
votes
25
answers
36k
views
iOS: Watch Kit paired device unavailable for development
I can't run my Apple Watch application in XCode. My phone+watch is listed as a "Unavailable Device" and says "paired device unavailable for development". When I try to launch the app it says the same ...
58
votes
13
answers
28k
views
Invalid Device State - Xcode/iOS Simulator error
Problem: I cannot simulate an Apple watch interface. Whenever I try and test my Apple watch app on the iPhone 6 simulator, Xcode successfully finishes and builds the app, attempts at opening simulator ...
58
votes
5
answers
17k
views
Debug on real Apple Watch: Application Verification Failed
I tried to debug my WatchKit app on a real Apple Watch today. After hitting the Debug button in Xcode, the main iPhone app was installed properly, but the Apple Watch only displayed the message Failed ...
50
votes
3
answers
4k
views
Non-Public Library SockPuppetGizmo
I got an email that my latest binary submission to Apple for an iOS/Watch OS app was invalid due to:
The app links to non-public libraries in PlugIns/iPrayed.appex/iPrayed
WatchKit App.app/...
46
votes
6
answers
16k
views
FBSOpenApplicationErrorDomain Code=3
I just added a Watch app to my project and try :
override func awakeWithContext(context: AnyObject?) {
super.awakeWithContext(context)
let res = WKInterfaceController....
38
votes
9
answers
3k
views
ERROR ITMS-90512: Invalid sdk value... 8.2 is higher than maximum allowed value of 10.3?
Trying to upload a binary, which includes a watch app. The error I'm getting (which I wasn't getting a couple days ago) is the value provided for LC_VERSION_MIN_IPHONEOS for the watchkit extension is ...
37
votes
1
answer
8k
views
iOS WatchOS - what is the difference between WatchKit App and WatchKit App extension?
I'm trying to create an iOS WatchOS5 complication and am seeing a number of tutorials and apple documentation. They talk about:
WatchKit App
WatchKit App extension
What is the difference between ...
35
votes
8
answers
25k
views
Xcode attach to process doesn't display NSLog
I'm just getting started with Apple Watch. I found instructions from "Five Minute Watchkit", on getting the iOS app and the watch kit app both running in the simulator and both processes attached to ...
34
votes
10
answers
19k
views
How to automatically set the version and build number of a Watchkit app target
The version and build number (or version and short version) of a Watchkit app and extension have to be set to the same value as the containing app.
I use environment variables to set the apps version ...
34
votes
7
answers
26k
views
App Icon has Unassigned Image error
I'm getting these errors:
I can't tell exactly which thing it is talking about?
If it is a 42 mm 2x, then I don't have a spot to put that. Can you help? Thanks!
EDIT:
Per comment below, I looked ...
33
votes
3
answers
11k
views
How to hide API keys in GitHub for iOS (SWIFT) projects?
I'm trying to publish a iOS (SWIFT) personal project in GitHub but I'm afraid of sharing my private API keys and secrets with everybody.
I'm using parse so I have in my AppDelegate something like this:...