Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running the app on a real Apple Watch and infinite spinner

I wanted to make a clickable prototype of an app on (storyboard only). I have just added two interface controllers and some images and buttons. I filled xcassets with several images (overall less than 150kB) and tried to run the app. When there was a single interface controller with 3 buttons (images in background) + 1 imageView (around 100kB all) it took some time but the app lauched. I added 1 more interface controller and a few images to it (the biggest are around 9kB) and this time Xcode displayed me a message that it lost a connection with an iPhone but the watch is still running or the watch app timed out error. At the same time I have the app name on the watch screen and a spinner. And it's spinning for ages without any result... I've tried to delete the app from both devices, restarting, cleaning folders etc. and no success. Is there a limit of images one can put in the watch's xcassets? So frustrating...

like image 891
matthewfx Avatar asked May 12 '15 04:05

matthewfx


People also ask

How do you use multisport on Apple Watch?

Create a Multisport workoutOpen the Workout app on your Apple Watch. Tap the Multisport workout, then tap Create Workout. Tap Add, then tap an activity—Outdoor Run, for example. Continue adding activities by tapping Add for each activity.

How do I update my Apple Watch to os9?

Open the Apple Watch app on your iPhone. Tap My Watch, go to General > Software Update, then, if an update is available, tap Download and Install.

How do I get watchOS 9?

watchOS 9 is available as a free software update starting today for Apple Watch Series 4 or later paired with iPhone 8 or later and iPhone SE (2nd generation) or later, running iOS 16. For more information, visit apple.com/watchos/watchos-9/.


1 Answers

I was also facing same issue where spinner on real devices was never ending. This was because watch extension and watch app were missing arm64 architecture, make sure you select Standard Architectures(armv7 and arm64)in build setting.

like image 192
Adnan Aftab Avatar answered Oct 18 '22 11:10

Adnan Aftab