Questions tagged [watchkit]

WatchKit is an integral part of the Apple Watch experience for third-party applications. It contains the classes for creating Apple Watch applications and it ensures that an Apple Watch application can talk to its corresponding WatchKit extension.

WatchKit allows iOS developers to create rich, third-party app extensions with actionable items and notifications for the Apple Watch, as they've built apps for the iPhone and iPad.

More information on WatchKit:

3223 questions
463
votes
25 answers

How can I change image tintColor in iOS and WatchKit

I have an UIImageView called "theImageView", with UIImage in a single color (transparent background) just like the left black heart below. How can I change the tint color of this image programmatically in iOS 7 or above, as per the tint method used…
chewy
  • 8,207
  • 6
  • 42
  • 70
73
votes
2 answers

Prevent deploying (disable) WatchKit App with iOS iPhone App in Xcode

We've got an Xcode project with build configurations for the Apple Watch as well. Our Apple Watch app isn't ready yet, so we'd like to release with it disabled. What's the best way to disable Apple Watch functionality in a build?
Gaurav Sharma
  • 2,680
  • 3
  • 26
  • 36
72
votes
8 answers

Watchkit AppIcon - The app icon set named "AppIcon" did not have any applicable content

There is the Images.xcassets file in my WatchKit App. As soon as I put any icon in that asset build failed with the error message: "The app icon set named "AppIcon" did not have any applicable content."
Ing. Ron
  • 2,005
  • 2
  • 17
  • 33
65
votes
7 answers

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 (was 8.3) The iOS app and the project actually…
UberJason
  • 3,063
  • 2
  • 25
  • 50
64
votes
5 answers

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". Verify that the value of WKAppBundleIdentifier in…
Tom Coomer
  • 6,227
  • 12
  • 45
  • 82
61
votes
7 answers

Watchkit Extension - No matching provisioning profiles found

I have created an iPhone app that also includes a WatchKit extension, I can run this fine in the simulator but when trying to deploy to an iPhone I get a provisioning issue for the WatchKit Extention target: "The provisioning profile specified in…
Edward Jones
  • 733
  • 1
  • 6
  • 6
58
votes
5 answers

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 to install xxx, error: Application Verification…
zavié
  • 4,301
  • 2
  • 34
  • 46
46
votes
6 answers

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.openParentApplication(["key" : "value"]) { (replyInfo, error) ->…
Pierre
  • 10,593
  • 5
  • 50
  • 80
41
votes
2 answers

Using an empty LLDB target which can cause slow memory reads from remote devices

I am using Xcode 12 and I am getting an warning as below: Warning: Error creating LLDB target at path '/Users/ABC/Library/Developer/Xcode/DerivedData/demowatchapp-blfzfuqxehfteaaofqpdlfuurtdr/Build/Products/Debug-watchsimulator/watchapp.app'- using…
Nik
  • 1,679
  • 1
  • 20
  • 36
38
votes
9 answers

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 8.2 which is greater than the maximum allowed…
Adam
  • 1,486
  • 3
  • 20
  • 35
38
votes
17 answers

Can't install WatchKit app on Apple Watch

I have a WatchKit app that runs fine in the Simulator. But when I try to run it on an actual device it never finishes installing and never provides any error message or feedback. The iOS app installs and runs fine. I bring up the Apple Watch app on…
SwampThingTom
  • 891
  • 1
  • 6
  • 15
37
votes
8 answers

Is there an ActivityIndicator in WatchKit for Apple Watch?

Is there an ActivityIndicator (or something like it) in WatchKit for Apple Watch? How do you all give the user feedback about some longer lasting background activity?
stk
  • 6,311
  • 11
  • 42
  • 58
34
votes
1 answer

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 iOS WatchKit App and WatchKit App Extension? If I…
33
votes
2 answers

Where and When to get data for Watch Complication

After working with complications for a few days, I feel confident saying the following about the update process for updates that happen at a prescribed interval: The system calls requestedUpdateDidBegin() This is where you can determine if your…
El Tea
  • 1,206
  • 12
  • 21
33
votes
6 answers

Passing data back from a modal view in WatchKit

When modally presenting, or pushing, an interface controller we can specify the context parameter to pass some data to the new controller as follows. // Push [self pushControllerWithName:@"MyController" context:[NSDictionary…
BytesGuy
  • 4,097
  • 6
  • 36
  • 55
1
2 3
99 100