I would like to use a PDF rather than create pixel specific icons. XCode (6 & 6.1) will build device specific pixel images from PDFs during compile for icons but I can't figure out how to get this done for the AppIcon (the Springboard App Icon).
The Icon collection appears to be different from an AppIcon collection (.imageset for icons, .appiconset for the App Icon)
Wondering if anyone has had any luck with this?
Perhaps XCode (v6.1) is not yet capable of this?
As far as I can tell: with Xcode 6.1.1, using a PDF is only possible for images, not for the app icons.
Related
I'am trying put icon in my iOS app following xcode documentation, but the
the icon does not appear on my device or simulator.
My media assets file on xcode project navigator:
When selecting the assets file I can see my targets but I can't select my main one, I don't know why. As shown here:
In general settings of App I can see the AppIcon linked:
Solution is You just need to add icons size 2x and 3x only in iphone app.
I solved this problem by adding the icons without using asset catalog. I took exam like this sample.
I've looked at other questions with the same issue and did what was suggested in them but keep getting the same error.
I've dragged 120x120 file into my project, cleaned, built, archived, same error.
I've dragged 120x120 file into the asset catalog manually, cleaned, built, archived, same error.
Here's a pic of my asset appicon:
There is no drag and drop for 120x120. Where am I suppose to add it?
Thanks
Dont drag images in asset.
Go to this link - https://makeappicon.com
Upload your 1024 image, it will email you the icons for iOS and Android as well.
Just copy and paste AppIcon.appiconset file into bundle.
You probably have already solved this, but I'd like to share an observation about this topic as I'm currently struggling with the same problem.
When you generate an app icon set with tools like makeappicon.com, chances are that not all possible icon variants are created. For example, old icon sizes (for iOS 5/6) are probably not produced.
In Xcode's assets editor (at least in Xcode 8.2.1) you only see the slots for which an icon is provided; for me this led to the misinterpretation that all possible icons are present. However, if you manually add an empty icon set in Xcode ("+" -> "New iOS App Icon"), you will see that there are more possible slots then are filled by the icon tool.
In my case the problem was that the deployment target was set to iOS6, but some icons required for iOS6 were not included in the icon set; so I created a new, empty icon set, manually dragged in the files which were created by my icon tool, and then created the missing icons by hand.
ERROR ITMS-9000:"Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels in .png format for IOS versions >= 7.0."
I am getting this error when trying to upload my app to the app store. I have loaded all my icons using the image asset catalog (and even tried loading icon files without the catalog).
Also, not sure why xcode wants me to upload iPhone app icons when this is an iPad app?
Anyone have any ideas? complete stuck on this one
thanks
turns out I just rebuilt the application and created a new archive.
I think creating a NEW archive was the trick. So needed to delete the old one and create the new archive which included the correctly size app icons.
If you just correct the app icons and try to validate an the existing archive it will produce the same error.
Hope this helps anyone else who encounters this issue
Step 1 :
Choose Images.xcassets
Step 2 : Resize Icons in below pixels then drag and drop to corresponding position.
I am developing iPhone app. When i run the app on iPhone i can see the the icon on Home screen. But when i run the same app on iPad whitish icon appears which normally appears when the app has no icon.
I have tested my other iPhone apps they are working fine but this is causing trouble. I used Asset Catalogs to display app icons and they are perfectly adjusting in it. What could be the problem here any suggestions?
I also initially started with developing the app for iPhone and then needed to add iPad icons and here where I found them:
1) go to Assets
2) find appIcon (usually on top)
3) go to attributes inspector
4) choose iPad ios swift version
5) iPad iCons holders will appear you will need to fill them
xCode 5 was not showing anything related to iPad for an iPhone only app. So when i migrated my images to Assets Catalogs and clicked on app icon in the Attribute Inspector i was given the options like i want to give icons for iPad. So i provided and problem solved :)
for Universal application iPad Icon file size is 72x72 and named Icon-72 and for Retina its 114x114 with Icon-72#2x.png. Try to include this files into your resource bundle and then build your app
In project settings there are fields for App Icons please refer to the attachment
go to general , then app icon source , then click the appicon
by default , you can't see the place for ipad
3 . left click and create a new image set
then you can see all icon size , add the #76 #152 for ipad
In my case i do have set images for iPad in my assets but even then it was not showing. I have to check Target Membership check box. I had imported AppIcons folder and this got uncheck.
In project settings there are fields for both, iPad and iPhone icons. You may want to provide different icons for different devices, so try providing your icon for both, iPad and iPhone. Even though it will be the same image.
Hope the stackoverflow link will help How do you update the app icons and launch images to support IOS 6 and 7 simultaneously?
As answered by Andy Bean, try using Asset Catalog.
Link 2: iOS 7 App Icons, Launch images And Naming Convention While Keeping iOS 6 Icons
I am trying to put my app on the market and am granted with this error everytime I try:
Ipad: icon.png: dimensions (57 x 57) don't meet the size requirements. The icon file must be 72x72 pixels in .png format.
I have seen the endless posts about about modifying the .plist and also Edit Project Settings -> Build -> uncheck Compress PNG Files( Icon.png file error in universal app ). I have done both of this. I have also went through apples guide for universal app Icons and followed that as well. However I noticed a difference in the .plist file I have and they have (http://developer.apple.com/library/ios/#qa/qa1686/_index.html). (Mine has a Primary Icon attribute ) Is there something I am missing or is the apple documentation our of date?
When I change the icon to 72x72 I then get the same error except it says the icon file must be 57x57. It seems like it's trying to use icon.png for both the iphone and ipad icon when It should be using icon-72.png for ipad and icon.png for iphone. Is this defined somewhere else?
First of all I'm not sure if this is a rule or if it's just common practice, but your icons should start with a capital "I". Second, your iPad icon should be 72x72 not 57x57 like the iPhone icon. And finally, you're missing your iPad retina icon "Icon-72#2x.png" 144x144px.
Full break down of icons.
Icon.png = 57x57 iPhone non retina
Icon#2x.png = 114x114 iPhone retina
Icon-72.png = 72x72 iPad non retina
Icon-72#2x.png = 144x144 iPad retina
If you make sure your icons are exactly as I've listed then you won't have any problems.
If you are still experiencing problems after making these changes then try deleting all icon images from the project, and deleting the icon keys from your .plist file.
Then re-add the images to the project by dragging them directly to their corresponding placeholder in the summary tab of Xcode's navigator.
Well, I agree with #NSPostWhenIdle, But as far as the Naming conventions he is right, if you are adding directly to the plist,
But when it is concerned with Xcode , from Xcode 4.2, when you open the target settings -> Summary
I hope that you are using Xcode later than 4.2
And when you mouse over the App Icons section, it will show the size of icons and right click there and add icons. Xcode itself fix the names for your icons according to the size of the icons which you are selecting like this
So, No matter of fighting with the naming conventions of iCons, and if you add like this, these icon names are fixed my Xcode itself and these icons are automatically added to the plist File as well.
I removed the icons from my project via the file system, renamed them as suggested by NSPostWhenIdle and sree charan. I then dragged and dropped them into the the app icon section and removed and readded the entries in the .plist via a text editor. However this still wasn't effecient enough, I thought that removing the files from the project in the file system would remove the references in the project, THIS IS NOT TRUE. I suggest to anyone that with icon problems after this to do what I previously stated and remove all icon references/files via the project and NOT the file system before re-adding.
Your icon.png is probably not exactly 57x57. in finder, right click on the icon.png, get info. If it still says 57x57, then I am not sure why its throwing that error.
I had a similar issue when my icon.png was 57x56 (which I had never checked until xcode whined).
IF these dont work, restart your Xcode and or Mac, make a clean build.
I just want to add (for others finding this question) that I recently ran into this error, but in my case it was complaining that 76x76 did not meet the requirement of 72x72, which didn't make any sense to me since our iPad app is iOS 7 only and therefore according to all official documentation only requires icons of size 76x76 and 152x152.
Icon dimensions (76 x 76) don't meet the size requirements. The icon file must be 72x72 pixels, in .png format.
Anyhow it turned out the person uploading the binary was using an older version of Application Loader (from Xcode 4.6) and this check was happening client-side before the upload even took place.
Submitting the same binary using the newer Application Loader from Xcode 5 had no problem!