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
0
votes
1 answer

WatchConnectivity Framework : WKSession is maintain the queue which I requested To Watch

I have create an application which is sending data to watch for showing. When the watch is screen is active then it sending data perfectly, but when watch sleeps then an error occurred that device is not active. My question is that when the watch is…
0
votes
1 answer

WatchOS 2 and NSStreamEvent.ErrorOccurred

I have an iPhone app that exchange data with a device over the LAN and send those to the WatchKit extension using the SendData method. All is working fine, but when the iPhone is suspended/sleeping I noticed that the NSStreamEvent.ErrorOccurred for…
Nicola
  • 61
  • 1
  • 1
  • 4
0
votes
1 answer

WCErrorDomain Code=7007 when adding localized InfoPlist.strings

I have developed iPhone app with watchOS 2 app, but I met a strange problem. Everything is ok before I localize InfoPlist.strings of watchOS 2 target (not watchOS 2 extension target). If I localize InfoPlist.strings, the app will get the error…
scottphc
  • 954
  • 7
  • 16
0
votes
2 answers

Specific position of WKInterfaceImage alignment (Watch OS 2)

I just bought the Apple Watch and I want to create a super simple game for it. It is simple enough to only use monochrome color scheme, but advanced enough to have an object moving in real-time. I am trying to figure out how to position an object on…
vaid
  • 1,390
  • 12
  • 33
0
votes
1 answer

Using parse for preparing rows in WatchOS

In my app I'm using Parse SDK to get list of medicines and amount from the database and pass it through the iPhone to the watch. I implemented on the watch two separate sendMessages in WillActivate() : let iNeedMedicine = ["Value": "Query"] …
kiuzio2
  • 11
  • 6
0
votes
1 answer

Is it possible to combine 2 images together into one on watchOS?

I am upgrading my watch app from the first version of watchOS. In my first version I was placing UIImageViews on top of each other and then rendering them with UIImagePNGRepresentation() and then converting it to NSData and transferring it across to…
Mike S
  • 4,092
  • 5
  • 35
  • 68
0
votes
2 answers

How to build openssl library for Watch OS 2 simulator?

I want to build openssl library for watch OS 2 from this github: https://github.com/nachocove/ios-openssl It was working in the first release of Xcode 7 beta, but now I got: ld: in /../testWatchOS WatchKit…
BillChan
  • 85
  • 1
  • 3
0
votes
1 answer

Updating a many-to-many relationship in Core Data with Swift

I have the following Core Data model: And I'm trying to update the many-to-many relationship between Speaker and TalkSlot from a JSON I receive from a REST API call. I have tried dozens of ways, replacing my many-to-many by 2 one-to-many's,…
Sebastien
  • 3,583
  • 4
  • 43
  • 82
0
votes
1 answer

Opening a Realm file in Realm Browser that was created in a watchOS 2 extension

I am using Realm in a watchOS 2 extension. Everything is working as expected but I cannot open the Watch Simulator default.ream file in the Realm Browser. When I try to open it while the Simulator is still running I get the following error: Realm…
joern
  • 27,354
  • 7
  • 90
  • 105
0
votes
1 answer

Can't read HealthKit samples on WatchOS 2, but it works on iOS

I've written a basic iPhone app that reads Weight from HealthKit successfully, but my corresponding WatchOS app only returns empty results. I'm using the same HealthKit code on both platforms. I know the authorisation works on the Watch, because…
solipsia
  • 3
  • 2
0
votes
1 answer

Orphan of App Group Capabilities to share Datas between iPhone and Watch

I need to share (read and edit) a string between iPhone and Watch apps. With WatchOS 1 and App Group Capabilities it was very easy; now I can't understand how to replace this sharing function... Does someone knows an easy (and working) tutorial to…
Matte.Car
  • 2,007
  • 4
  • 23
  • 41
0
votes
1 answer

Pass Strings from iPhone

I'm trying to pass the color for each Play found in my CloudKit database. iPhone --> Watch iOS TableViewController: func getCloudKit() { ///... let publicData = container.publicCloudDatabase publicData.performQuery(query, inZoneWithID:…
SRMR
  • 3,064
  • 6
  • 31
  • 59
0
votes
1 answer

How to customize context menu on Apple Watch app

I'm working in WatchKit 2.0. I want to customize my watch app's context menu based on state information in the corresponding iOS app. For example, if a process is running in the iOS app I want my context menu to have a "stop" menu item, and if the…
Tim Herzog
  • 505
  • 1
  • 5
  • 11
0
votes
0 answers

iOS Simulator fails to launch when adding Watch Framework

My iPhone app launches in the simulator just fine until I add a Watch Framework from New > Target > watchOS > Watch Framework. Once I add the framework target I get the "The operation couldn’t be completed (LaunchServicesError error 0.)" error. I've…
fedoroffn
  • 427
  • 1
  • 5
  • 14
0
votes
1 answer

Play (looped) audio file on Apple Watch with WatchOS 2.0

What's the best way to play a (looped) audio file on the Apple Watch? The file would be the same always. If I could have an audio player (AVAudioPlayer?) and set it to loop indefinitely (like it's possible on iOS), that would be ideal. I tried…
flo von der uni
  • 738
  • 9
  • 19