Xcode does not deploy or launch Apple Watch simulator - ios

I change the scheme to Apple Watch and hit run, the watch simulator shows up but my app icon is not even seen on the home screen of watch.
I have been trying for days now. I tried cleaning project, cleaning build folder, removing derived data, removing files in the watchOS DeviceSupport, restarting Xcode(9.2), restarting Apple Watch Simulator
(External Displays option does not shows Apple Watch Alternatives by the way)
Can you help with the possibilities that might cause this issue?
What else should I try?
Xcode does not launch my app on the watch simulator :/ this is the summary of the issue.

On the iOS(iPhone) simulator launch the Apple "Apple Watch" app (not your app) scroll all the way down to the buttom, down there your app should have a loading icon next to it, wait 20 minutes if the icon haven't shown up on the watch, restart your computer, with the option to relaunch all apps ticked to off, launch xcode, then try the above mentioned.

When trying out my first watchOS app, I was seeing the same behaviour. I could not find the app's icon in the simulator. The following is what I did.
I stopped the app in Xcode.
Launched it again.
This time I opened the main app in the iPhone simulator also.
The icon for the app appeared in the watch simulator among other apps and the app launched.
For ~10 seconds a loading indicator was shown.
I was able to continue debugging normally from then on.

Related

iOS app showing old app icon even after change

I am changing app icon for my app and had below issue.
Even though I changed app icon still at times when I quit the app the animation shows old app icon and then transforms to new app icon. And also in Siri suggestion I still see old app icon. Will this be there even after app release or is it just a issue with running through Xcode. Is there anyway I can remove this app icon caching? I tried deleting old app and restarting device and then installing new app that solves this issue, but actual users won’t be doing this. Can anyone suggest any solution for this issue?
I am using Xcode 11 and I am on iOS 13.
Clean build and delete derived data, and that should take care of your issue. But users downloading app from App Store will not experience this issue.
1) Product > Clean build folder
2) XCode > Preferences > Locations > click on arrow for derived data
The iOS Springboard caches the app icon. So as soon as you change the app icon it won’t reflect in Siri suggestions and few app quit animation may still show old app icon. Gradually as user starts using the app with new logo and when iOS springboard caches the app icon again it will start showing the new app icon. So, don’t worry gradually all your users will start seeing the new app icon.

Appicon in iOS app not changing while pushing a new build to TestFlight

While pushing a new build of my iOS app to TestFlight I am changing the app icon. But when looking at the All Builds > Activity, in iTunesConnect I can still see the old app icon. I have changed the appicon in my project in Xcode. But I can still see the old appicon when I install the app via TestFlight which changes later to the new appicon.
Apple uses some cache to make the application switching faster. This will get resolved when the the Springboard takes snapshot of your application ,which is going to happen soon. This is a bug in Apple's code and there is nothing you can do about it.
SpringBoard is the application that manages the home screen on iOS devices. With SpringBoard, icons on the home screen can be organized,
the background wallpaper changed, and applications are launched. Some
of the iPhone's settings at startup are also set by the SpringBoard.

How to run Watch App in XCode

I created a watch app, following Apple's guide lines, but not sure how to run it in the simulator.
When I select the Watch App scheme and run it, the iPhone simulator appears, and I can see WatchKit extension running, dumbing some logs
2014-11-19 13:28:56.991 WatchApp WatchKit Extension[61833:6371439] <WatchApp_WatchKit_Extension.InterfaceController: 0x7b652010> init
2014-11-19 13:28:56.992 WatchApp WatchKit Extension[61833:6371439] <WatchApp_WatchKit_Extension.InterfaceController: 0x7b652010> will activate
But nothing happens on the simulator's screen.
What you run your WatchKit extension, you need to go to Hardware > External Displays and select an Apple Watch (there are two sizes, either works).
After this, you can make changes to your code in Xcode and run it, and the changes will be reflected in the WatchKit simulator without you having to mess with enabling the simulator again.
If your Watch simulator screen appears, but is black, then that means you have not run the correct target from Xcode. Go back to Xcode and select the "xxx Watch App" target, then run the simulator again. Your external display should now show the Watch App.

Why Can't I delete or Remove iPhone / iPad Duplicate Enterprise App Icon Copy?

I created an enterprise app in Xcode 4.6.3 and posted it on a website. The app succesfully downloads to iPhone5 and iPad3 (both running iOS 7). The app runs just fine. However, it created a duplicate "ghosted" app icon on both devices that cannot be removed See Screen Capture.
I tried removing it by long-pressing the app icon and touching the "X" on the device. I also tried removing it in iTunes. No luck. I updated to Xcode 5.0.1, developed for iOS 7, recompiled and repeated the process. No luck. The duplicate icon remains!
This is not an issue on devices not running iOS 7.
A similar thing happened to me while trying to delete an app that was being built at the same time with XCode.
Try restarting the phone by pressing and holding the button on the top and the circle button on the bottom.
When the OS repopulates the dashboard on the next launch, it should detect the discrepancy and either not display the bad icon or make it available for removal.
If your Apps don't includ iOS, you are surely able to delete Apps from iPhone, do all of your 3rd party apps no longer show the delete "x" when wiggling? If so, try the following steps as needed:
Restart phone
Reset phone (no data loss): press both home and power buttons for at least 10 seconds, releasing when the Apple logo appears
Settings > General > Reset > Reset All Settings
Restore iOS using iTunes, also restoring a backup
Restore iOS as new, without using a backup

Deployment - apple app store icon appears incorrectly

After a long testing, my game has finished and ready to release. but when I deploy it as :Deployment - apple app store, as I drag it into itunes, the icon appear as the itunes default icon (although when I run the app on ipad, the icon appears correctly).
This has never happened before when I did the testing with "quick publish for device testing", it run perfectly with my correct icon on itunes. Have anyone faced this problem before?

Resources