I am testing my app via Ad-Hoc Distribution and have run into a strange problem.
When testing via Xcode to my iOS device everything looks and works exactly as expected; however when installing the app through iTunes (using an IPA file generated in Xcode using the Ad-Hoc Provisiong Profile) the Home Screen icon appears pixelated, as if the wrong size version is being used.
Does anyone know what's going on; is this normal behavior because this is a Ad-Hoc distro?
Any help would be appreciated.
For anyone experiencing the same problem; turns out the Simulator that comes with Xcode ignores the case of a file name, while the actual iPad does not. This will lead to the incorrect home screen icon being displayed on the iPad home screen, if the case of the icon name was changed in the directory or Xcode.
I hope this helps some one!
Related
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...
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...
I have a sencha touch cordova app which works perfectly fine on Iphones, to get it past the apple review I need to make it work on iPads too. I do not intend to support iPad users at this point of time so have kept the Devices as iPhone only in the settings. I expect the app to open in iPhone resolution on the iPad and works similar to the iphone - but it doesn't, when i install and run it on the iPad, all I get is a blank white screen and nothing happens further. On the xcode console I get this :
WARNING: The splashscreen image named LaunchImage-700 was not found
which is the only difference between the logs of the iphone and the ipad.
I believe it isn't getting the launch image for the iPad but I have no clue where or how to include this image.
Would be great if someone can point how to solve this issue and make my app work on an ipad.
I had this error after updating xcode. They got really picky about what splash screen sizes you can use.
I use this plugin on npm cordova-splash. This builds all different sizes of splash screens and my xcode automatically picked them up.
Usage is really simple just make sure you have a splash.png file in the root folder of your cordova project and run cordova-splash
Today morning I build and run my xcode project. When simulator launched I saw this:
The screen is scaled, I see only 1/4 part, other 3/4 parts are hidden.
Did anybody faced with same problem? The issue happens in xCode6, Xcode5, also in AppCode.
I tried to Clean project, switched to iPhone5 screen, iPad, the same problem.
Also, this happens with my other iOS projects.
Finally, I got the reason why this bug appears at work and not at home :)
Because at work I don't have external display (monitor), but at home (DELL, non-retina off course)
If you want this bug not to appear, just connect your macbook to external non-retina monitor. Then you may work fine, run simulator in macbook retina display, also in external monitor display, while Apple hard works to fix this bug in OS X.
Here is the video proof: http://youtu.be/4gkFEkOJN9s
Within the iPhone/iPad simulator, go to the top-menu and select "iOS Simulator" -> "Reset Content and Settings..."
I just distributed my first ad hoc provisioning app to my iPad via iTunes and all seemed to have worked fine, except the fact that my app does not show an icon on the iPad, only a silver button.
When I start the app, the screen goes black for around 2 seconds, then the "desktop" is shown again.
I am not sure how I should go on now. There isn't any such thing as a "log file" on the iPad, is there? The reason why it doesn't really start might have a hundred reasons, I guess.
On the simulator it worked fine.
Thank you very much!
I think you've got the answers you need in the edits, but to answer the original question.
You only need to add UDIDs in the portal, nowhere else.
You can get crash reports from an AdHoc device. Sync the device and then look in ~/Library/Logs/CrashReporter/MobileDevice/
Alternatively, if it is your device, connect the device and use the Devices panel in the Organizer.
The plain white icon means you don't have an icon set for the deployment device. I've never had this after setting an Icon. Check the target summary for any icon errors, they're normally shown next to the icon space.