Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]

iOS App icon issue on App template project (2017.3160)
Started by RedBeach Oct 24 2017 10:03 AM

1 reply to this topic
icon app apple ios native xcode bug problem
This topic has been archived. This means that you cannot reply to this topic.
[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Corona Geek

  • 1,132 posts
  • Corona SDK

Just downloaded the latest build in order to start using the new icons structure for iOS 11 (Images.xcassets).


I noticed that there is an issue when building the App project template via Xcode.


Although the project has the Images.xcassets configured correctly, I noticed that the project is always getting the "Corona/Icon.png" as its icon, ignoring all icons from Images.xcassets. 


Based on what I read, I think that "Corona/Icon.png" file should not even exist anymore, but if you remove it, the App gets installed without icon.


If you build the template app via Corona Simulator, it correctly gets the icon file from Images.xcassets.


You can replicate that problem by just downloading the latest build (2017.3160) and open the App.xcodeproj and build it to the device. You will notice that the icon will be with a low res (since the Corona/Icon.png has only 57x57).  If you delete that icon, the app will be installed without icon.  (Just don't forget to "Clear" the project before building after deleting the icon file)

[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Contributor

  • 536 posts
  • Corona Staff

Thank you for reporting the issue.

There is indeed mistake in the iOS template: Images xcassets are not included in target. Sorry about that, we'll fix it asap. To fix it in existing project, perform 2 simple steps:

1. Click in App -> App -> Images.xcassets in Project Navigator (⌘1)

2. Select App in "Target Membership" area in "File Inspector" (⌘⌥1)