Questions tagged [watchos-2]

watchOS 2 is the second version of Apple's operating system for Apple Watch and is the successor to watchOS. It was announced at the company's Apple Worldwide Developers Conference (WWDC) on June 8, 2015, and was released on September 21, 2015.

WatchOS 2 is Apple's operating system for the Apple Watch. It was introduced on June 8th at the Worldwide Developer Conference (WWDC) 2015.

WatchOS 2 brings many new features and improvements, some of which are:

  • Standalone Apps for the Watch
  • Connecting to known Wireless Networks
  • Complications
  • Time Travel
  • Clock Kit

WatchOS 2 was released to the general public on September 21, 2015 along with iOS 9.

You can find more information here.

839 questions
13
votes
0 answers

warning: URGENT: building for watchOS simulator but linking object file built for iOS

While integrating my java library converted by j2objc I'm receiving this message. ld: warning: URGENT: building for watchOS simulator, but linking in object file (/Users/admin/Documents/j2objc/dist/lib/libjre_emul.a(IOSArray.o)) built for…
Vyacheslav
  • 26,359
  • 19
  • 112
  • 194
13
votes
2 answers

Linking dual (iphoneos and watchos) frameworks with same product name

I recently had to duplicate my own frameworks to be able to link them from the native watchOS 2 extension, because the platform is different. So for every framework X I have an X-watchos counterpart. Everything works fine in the simulator and when…
NachoSoto
  • 1,743
  • 13
  • 17
13
votes
1 answer

Where to find Taptic feedback API documentation or capabilities for watchOS 2?

I'm interested in building an app for watchOS 2 using haptic feedback. Currently I do not have the Apple Watch, but I have access to the Apple Developer Program. I've tried looking at the watchOS Developer Library and watchOS 2 Release Notes. I do…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
13
votes
4 answers

Preprocessor macro for Apple Watch?

I was looking at Apple's Lister (for Apple Watch, iOS, and OS X) sample. The sample performs a test for iOS and OS X: #import #if (TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR) @import ListerKit; #elif TARGET_OS_MAC @import…
jww
  • 97,681
  • 90
  • 411
  • 885
12
votes
1 answer

HKWorkoutSession not resuming custom workout app if screen gets locked or active app changed

I have a watchOS 2 app that displays health data during a run. I start a workout using HKWorkoutSession as follows: self.workoutSession = HKWorkoutSession(activityType: .Running, locationType: .Outdoor) self.workoutSession!.delegate =…
lehn0058
  • 19,977
  • 15
  • 69
  • 109
12
votes
4 answers

WatchOS 2 (beta 5): watchAppInstalled returns false

The Watch App is installed on the watch and I can tap and run it on the Watch, but watchAppInstalled method returns false. Also, I can only install the Watch App using Xcode 7. If I try to install the Watch App using the Watch iOS app (from Apple)…
RawMean
  • 8,374
  • 6
  • 55
  • 82
12
votes
2 answers

Your iPhone is not available. Please select a different device and try again

I'm getting the following error when I try to build my Watch OS 2 app on my iPhone (iOS 9.0b2) which is paired to my Apple Watch (watchOS 2.0b2). Your iPhone is not available. Please select a different device and try again. I've tried all the…
samturner
  • 2,213
  • 5
  • 25
  • 31
12
votes
3 answers

Debugging on Apple Watch Never Prints to Console

I'm building a native Apple Watch app and on the simulator it will print to the console just fine, however when I run on device it never does this. Is this expected behaviour?
William Robinson
  • 1,038
  • 17
  • 32
11
votes
6 answers

How to Test Scenario Where the Apple Watch Is Not Connected to an iPhone

I am developing a watchOS extension which uses WCSession to communicate with the iPhone. However, I do not own an Apple Watch and therefore have to rely on the Watch Simulator to test my code. Is there a way to test the scenario where the Watch is…
fabian789
  • 8,348
  • 4
  • 45
  • 91
11
votes
2 answers

Complication freezes Apple Watch when customizing

i am trying to create complication for watchOS2. I have created new target for my iOS application - with Glances and Complications I want to have only one Modular Large Complication. When I run trying to set complication Watch freezes (on both…
matejOS
  • 379
  • 2
  • 9
11
votes
3 answers

How to transfer a UIImage using Watch Connectivity

How can I transfer an UIImage over WatchConnecitivity from the iPhone to the Apple Watch with no user interaction on the phone, and only loads because the watch calls for it programmatically. I need this because the image processing to create the…
modesitt
  • 7,052
  • 2
  • 34
  • 64
11
votes
2 answers

Will install Watch App called with bad bundle identifier '(null)'

When I use xcode 7 beta 5 and wanna to run a simple demo on watch simulator. It prompts this "Will install Watch App called with bad bundle identifier '(null)'". I cannot find it anywhere. Does anyone know this?
Michael
  • 147
  • 7
11
votes
3 answers

WCSession.sendMessage works 50/50

Lately, I am working on a project is related to Watch/iPhone communication again. But my code works sometimes and doesn’t work sometimes which is kind of weird to me because I think the code should either work or not. It cannot be 50/50. Therefore,…
Jay Hu
  • 6,041
  • 3
  • 22
  • 33
10
votes
1 answer

Error: No such file or directory while archiving iOS and WatchOS App

i have a problem which puzzles me a few days now and i cannot find a solution. What i want to do is archiving an iOS app including a watchOS app in Xcode. The normal debug build (of both iOS App and WatchOS App) works fine on real devices and…
Steffen Ruppel
  • 331
  • 2
  • 11
10
votes
1 answer

Disabling background color for WKInterfaceSwitch

When I use a WKInterfaceSwitch, watchOS draws a translucent background behind the entire control. I don't want this background to appear, but haven't been able to find any ways to hide or disable it. Is this possible?
Josh Buhler
  • 26,878
  • 9
  • 29
  • 45
1 2
3
55 56