Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Line for iTunesArtwork Problem #374

Open
gelinger777 opened this issue Aug 23, 2014 · 11 comments
Open

Remove Line for iTunesArtwork Problem #374

gelinger777 opened this issue Aug 23, 2014 · 11 comments
Assignees

Comments

@gelinger777
Copy link

Recently Apple have made some changes and when submitting ipa to app store we get

81p0ymfhkegss8rwatma

To solve issue we need to remove line on rake file.

cp itunes_artwork, itunes_artwork_dst

Best regards

@genywind
Copy link
Contributor

what format is your artwork ? png or jpg?

@gelinger777
Copy link
Author

png

@gelinger777
Copy link
Author

Actually I never put any picture specifically for that in Build.yml . I think it was automatically taken from /icon folder , the 512 one which is png...

@genywind
Copy link
Contributor

try to put iTunesArtwork 1024x1024 png image into <app_folder>/project/iphone folder

you can also add custom image to build.yml:
iphone:
production:
ipa_itunesartwork_image: "./icon/iTunesArtwork"

and run

rake build:iphone:setup_xcode_project

so it will be copied to <app_folder>/project/iphone folder

this image can be seen in iTunes as app icon

@gelinger777
Copy link
Author

in IPA already that pic exists but it says Disallowed path. It doesnt say pic is corrupted or wrong format. So i have totally removed that from ipa by commenting out the line I have mentioned and iTunes have accepted my IPA. Why to setup custom icon??

@genywind
Copy link
Contributor

this is application icon, displayed in itunes, so it should be your icon, not predefined moto

@gelinger777
Copy link
Author

I have sent a request to itunes regarding this. your logic is also strange, why I should define an icon if the same icon of size 512px exists in my apps icons folder? why predefined motto? Script is not taking the app icon of 512 size from app folders icon folder?

@gelinger777
Copy link
Author

https://developer.apple.com/LIBRARY/IOS/qa/qa1686/_index.html
_23_08_2014_18_41_16
So IMHO on production build you have to make so that that image is not in ipa.

@jtara
Copy link

jtara commented Mar 1, 2015

So IMHO on production build you have to make so that that image is not in ipa.

"production" really is an arbitrary term here... But in any case, for App Store submission, yes, it should be omitted. Because you upload the artwork separately.

It is "recommended" for other builds. I think it is used, e.g. by TestFlight. Well, OLD TestFlight, anyway!

You can do it differently for each type of build in your build.yml. Just use development" adhoc:, production" keys.

@jtara
Copy link

jtara commented Mar 1, 2015

Try this:

  # This is needed to elimiate the message about iTunesArtwork defaulting.
  # Note: you need to run rake build:iphone:setup_xcode_project once in order to get
  # the artwork files copied to the /project directory, even if doing command-line build!
  # Do not include the .png extension here, or it will not work.
  ipa_itunsartwork_image: "./icon/iTunesArtwork"
  # Note production (e.g. App Store deployment) should *not* include iTunes artwork.
  # It is uploaded to the App Store with your submission, and so there is no reason
  # for it to be in the .ipa. For other builds it is there for... ???
  production:
    ipa_itunsartwork_image: ""

Hopefully, then, the Rhodes build won't try to substitute the default image when it sees that the value is an empty string! Otherwise, you'll have to fix it up manually.

See the comments in the YML above.

Note that the command-line build does not do this for you, so you need to do the rake command to set-up the xCode project even if you will not be building with Xcode GUI. It would be good if this were fixed!

@gelinger777
Copy link
Author

Even if I include both empty,it says in the end of xcode project generation

**** WARNING *************************************************************************************************
iTunesArtwork (image required for iTunes) not found - use default !!!
iTunesArtwork@2x (image required for iTunes) not found - use default !!!


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants