Questions tagged [watchos-simulator]

20 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
6
votes
1 answer

Why doesn't my Apple Watch complication show anything?

I created an app using Xcode's "iOS App with Watchkit App" template, went into TARGETS and checked Complications Configuration > Supported Families > Graphic Corner. I opened ComplicationController.swift in the Extension and modified…
Robert
  • 6,660
  • 5
  • 39
  • 62
4
votes
2 answers

Force close watchOS applications on the simulators?

When developing iOS applications, it is sometimes useful to be able to force close the app. For example: when developing features that only appear during fresh launches of the application. Force closing is possible both on real devices and on the…
stkent
  • 19,772
  • 14
  • 85
  • 111
2
votes
1 answer

WatchOS 5 How to test complications in future times in WatchOS 5 as Time Travel has been removed?

I have implemented the code for complications in my app and it seems to work fine for current day. I would like to test how the complications would change overtime in future and past. Time Travel feature has been removed in WatchOS 5, so I am…
2
votes
0 answers

Xcode debugger doesn't stop at breakpoint in watchOS app

I've set a breakpoint in the applicationDidBecomeActive method in the WKExtensionDelegate class. WatchExtensionDelegate.h @interface WatchExtensionDelegate : NSObject @end WatchExtensionDelegate.m @implementation…
Lukas Würzburger
  • 6,543
  • 7
  • 41
  • 75
1
vote
1 answer

Watch OS simulator not loading, getting "DYLD_ROOT_PATH not set for simulator" error

I have having a strange issue while adding watch app target in my existing project. After adding watch app as target in my app, when I try to load watch app simulator , it simply crashes & only one line error is displayed as "dyld[14574]:…
jayant rawat
  • 318
  • 2
  • 12
1
vote
0 answers

Apple WatchOS simulator - possible to simulate Always On mode (for complications)?

I am looking for a way to simulate Always On mode (for testing complications with getAlwaysOnTemplate), and so far I wasn't successful. Is there a way to make the simulator turn on Always On mode?
Tomáš Kafka
  • 4,405
  • 6
  • 39
  • 52
1
vote
1 answer

watch to phone communication - didReceiveApplicationContext not firing

I'm having issues communicating between AppleWatch and iPhone. iPhone to Watch communication works fine. Watch to iPhone: didReceiveApplicationContext in AppDelegate does not fire!!! - I have this in (iPhone) AppDelegate: import…
1
vote
1 answer

Xcode doesn't launch the watchOS Simulator

Problem Xcode (9.4.1) doesn't launch the Simulator app at all when I try to run a watchOS app. Steps to reproduce Select the scheme Hit run Build succeeds, waiting to attach. And here is where it gets stuck. Nothing happens from here. The…
Lukas Würzburger
  • 6,543
  • 7
  • 41
  • 75
1
vote
0 answers

XCode Cannot Run Deployed Watch Apps: dyld: warning: could not load inserted library

My XCode installation has something wrong with it and I have not been able to fix it. Anytime I run any Watch App in the simulator, the Phone and the watch simulator will open, but when the Watch App runs, my Mac crashes and reboots. I am running…
DaveB
  • 181
  • 3
  • 11
1
vote
1 answer

WatchOS emulator not starting using Xamarin, Visual Studio, and WatchCommunication Demo

I downloaded the Watch Connectivity sample app (https://developer.xamarin.com/samples/monotouch/watchOS/WatchConnectivity/) and ran it. The iPhone emulator comes up but the watch emulator does not. Has anybody set this up? I'm using Xamarin and…
lcj
  • 1,355
  • 16
  • 37
1
vote
1 answer

Location detection in WatchOS simulator has been failed

How to simulate a location for watchOS simulator? using with request - (void) requestLocation { locationManager = [CLLocationManager new]; locationManager.delegate = self; [locationManager requestWhenInUseAuthorization]; …
Vyacheslav
  • 26,359
  • 19
  • 112
  • 194
1
vote
1 answer

Starting watchOS, can't fit 2 pickers side by side

While trying out watchKit and watchOS, for the first time, to make a small app, I have this issue. I cannot fit 2 WKInterfacePicker objects beside each other. Eventhough I made them narrow enough, it doesn't seem to fit. They always come back one on…
Michel
  • 10,303
  • 17
  • 82
  • 179
1
vote
1 answer

Setting a title in the top right of a modally presented interface in WatchOS

Is it possible to do this? As far as I know the setTitle() method just allows you to change the text of the top left "Cancel" text.
shokaveli
  • 478
  • 7
  • 14
1
vote
2 answers

Create Watchkit notification programmatically

I'm looking to push a notification to the Apple Watch at a specific time. I was able to display a static message on the simulator using an apns file, but I'd like to set the data and time of the notification in the controller. I heard I might not be…
1
2