COCOS2D spotlight icon not showing on iPhone 6 - ios

I have just created a new set of icons and added them to my project. While everything works in the simulator, including iPhone 6 and 6 plus.
When I run my game on my iPhone 6, the spotlight icon is still the COCOS2D icon.
Any ideas why it works in the simulator but not on the device?
Any thoughts would be appreciated.

Updated to the latest version of IOS 8 and this solved the problem

You need to power down your iPhone/device and restart it.
My guess would be that it only builds the cache of images when the phone starts. This may not be the case for a proper app installed from the proper app store.
I had the same issue, where my main icon worked, but the spotlight was still the empty-square from Xcode. Regardless of how many times I cleaned/rebuilt/deleted the app.

Related

The icon of my iOS application is not displayed in iPads (but fine with simulators) [Swift, iOS, Xcode]

I am creating an iOS application for iPads with Swift 5, Xcode 13.1.
Last time I changed my icons by replacing images in Assets.xcassets. However, suddenly the app icon became not properly displayed on my iPad for some reason. Now the app icon is just a grid.
There are two weird things happening:
The icons are actually properly displayed when testing with simulators.
Then I reversed all of the modifications using GitHub, but the app still does not show its icon, even with using all files that used to show the icon properly.
I have tried:
rebooting my MacBook Pro and iPads (mini 6th & pro 11 inch.)
clean build,
made sure App Icons Source was appropriately selected
recreate new iOS app icon in Assets with Xcode
tested with other icon files that are confirmed to be working with other apps
re-install Xcode
Tried with my iPhone
However, none of the above solved the problem. I would appreciate it very much if I could know what is happening and how I can show the app icon properly.
Update!
I updated iPads and iPhones to iOS 15.1, and the problem was solved... temporally. When changing the icon files, I realized that the icons were not displayed properly with iPads but not with iPhones and. All of the simulators stopped displaying the icons properly. Further playing with Xcode, I realized that include all app icon assets was ticked, so I changed it to ticked and vise versa. This appeared to cause the problem..., But honestly could not replicate the problem that clearly!
Currently, the changing icons are appropriately reflected in my iPad Pro 6th gen, but not in my iPhones. Simulators are not showing icons appropriately either!
I would really appreciate it if somebody could explain what is happing to me.
I updated iPads and iPhones to iOS 15.1, and the problem solved completely!! Now all icons are displayed properly.
Update 1
The above solve the problem... temporally. Then, further playing with Xcode, I realized that include all app icon assets was ticked and this was causing all of the icon problems.
Once I ticked off include all app icon assets, I was actually able to change the image files from Assets and reflect it on my app.
Update 2
When I reopened Xcode again today, for some reason, all simulators displayed icons properly. iPhones and iPads are working fine as well. include all app icon assets does not SEEM to have influence now...?
I honestly have no idea.. But, I could say if somebody is struggling with the same icon issue, updating everything might change the situation...

splash screen logo image not shown using xcode 10 in swift

I am updating my code Xcode 9.2 to latest Xcode 10. all things working properly but splash screen logo image not shown when apps running . is there any solution for it.
I got solution for my problem by restarting testing device.
See previous answers here: iOS Keeping old launch screen and app icon after update
You don't specify in the question if you're running on a real device or simulator, but if simulator make sure you do 'Erase All Content And Settings' from the 'Hardware' menu. The simulator is not an emulator and doesn't always behave the same as a real device.

App Icon of iPhone only app missing on iPad

I recently updated my iPhone only app and now I've got some users complaining that the Icon is gone on iPad.
So I looked into it and added ALL icons to the asset catalogue. Still, when I run my app on iPad, there is no icon. Even deleting it and fresh installing via Xcode is not working?!? I tried with iPad and iPhone icon sizes as well as with only iPhone icon sizes... Also restarting my iPad didn't help. Neither did a clean build...
Am I missing something? Did something change here lately? The last update to my app when it still worked was before iOS11...
Any ideas?
My problem was that there was a Info-Plist Key for the iPad Icon... Don't really know how that one got there... But that was my problem...

App Icon don't appear on my Iphone 6 while appearing on the Iphone 6 from the virtual machine

I have been blocked on this problem for hours....
I added an AppIcon to my project. If I build it on the virtual Iphone 6 (IOS 8.4), I can see the App Icon while if I build it on my own Iphone 6, the App Icon is still white. This is so frustrating!
If anyone could help me... many thanks!!
Such issue happened to me, when I added icon with transparent background, on simulator everything worked fine, but device showed app without icon. At the same time, try to uninstall app from device and run application again. By the way, check whether you have added all required icons, as another users suggest.
At first, check if you've got some icons in you AppIcon.
The problem maybe is:
you did not set Icon in AppIcon.
you did add Icon in AppIcon, but not for iPhone App iOS 7,8 60pt
other reasons. You should give more specifics so that we can help you.

iOS Splash Screen not showing up on device - strange issue

I am making a test sprite kit game, and when I run it on the device, the splash screen doesn't show up although it does work on the simulator.
Here are some screenshots:
Normally I set the target to iOS 7.1 and later, so I use a .xib file and LaunchImage file in xcassets.
I have put 2 correctly sized splash screens in the iPhone portrait iOS 7&8 section, and have selected "Portrait" under iOS 7 and later. The link from the settings file is definitely going to the correct file.
When I run it on the simulator (presumably all devices are iOS 8), the .xib file is used and it displays that splash screen.
When I run it on my iPhone 4, it displays a black screen. In my other apps, it would choose the image from xcassets and display it, but this is not the case.
Does anyone know how I could solve this problem?
Edit
Basically, I have put 4 images into xcassets for a splash screen. I have selected iPhone portrait for iOS 7 and iOS 8.
In the settings pane I deleted the launch screen file reference, so the only reference is to the xcassets launch image (It points to the correct place). I have also deleted the LaunchScreen.xib file.
But when I run the app on the device and the simulator, no splash screen shows up.
I faced similar issue and fixed by Restarting the Mac and iPhone
Uninstalling the app from Simulator/ iPhone helped to fix this issue.
I was having the same problem, and I finally figured out a solution. I want my launch screen to show up on ALL devices capable of running iOS 7 or later, when running my landscape-only Sprite Kit game. Most devices that run iOS 7 can be upgraded to iOS 8 or greater, except for the iPhone 4 (which is stuck with iOS 7.1), and the launch screen wasn't appearing on my iPhone 4 test device. Then I stumbled across Apple Tech Note TN2244. As described in the Tech Note, once you edit the info.plist to enable landscape orientation for iOS 7.0+ iPhone launch images, the correct launch image will appear. As a side note, if you disable the launch image asset catalogs as suggested, the XCode Swift compiler gives you warning messages -- but you don't really need to disable launch image asset catalogs, and if you configure them properly the warnings will disappear and landscape launch images will now work just fine on all devices, including iPhone 4.
Your app's launch image is displayed as soon as your launch your app. Hence the name. It is removed when the appDelegate appDidFinishLaunching: method runs. If you are app has very little to load, your image might get displayed and removed before you have time to see it.
If you want to manually set a longer display time for your launch image, you can add this code to the appDidFinishLaunching: in the appDelegate.m file:
sleep(4);
4 being the number of seconds.

Resources