Build version cli-6.1.0 not respecting icons/splash objects in config.xml

  • 1
  • Problem
  • Updated 4 years ago
Root directory is www, compressed, and dropped into build (to generate .ipa)...

I've tried both the following src options for all icon/splash options.
Photo of Jeff

Jeff

  • 5 Posts
  • 0 Reply Likes
  • infuriated

Posted 4 years ago

  • 1
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
@Jeff
Since this is your first post, please answer the following question:
- is this your first hybrid app?
- are you using Desktop App?
- are you using CLI, Build, or SDK? Please do not assume the answer, please read the link.

Thanks
Jesse
Photo of Jeff

Jeff

  • 5 Posts
  • 0 Reply Likes
- No

- No

- Build

Thanks,
Jeff
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
@Jeff,
my impression is that you have not done this in a while or your don't know the difference between CLI and Build. Just to be clear "Build" is a cloud-based build tool by Adobe/Phonegap. You cannot take files from a CLI and use them with Build without making some changes.

So I am going to ask you again to read the link, because it appears you did not. If you do not understand the article, please let me know.

FWIW: I have working examples.

Jesse
Photo of Jeff

Jeff

  • 5 Posts
  • 0 Reply Likes
I'd appreciate those working examples.

I've always used PGB and have attempted to upgrade my app to the latest available version (cli-6.1.0).
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
@Jeff,
Okay. I need to call you out because there is a large inconsistency in your statements.

You write:
Root directory is www, compressed, and dropped into build

If you please, make your code publicly available so I can take a look at it. That is, the zip bundle you have is what I want to look at. Also, please state the platforms you would like to build for; at this point I only know of iOS.

Thanks
Jesse
Photo of Jeff

Jeff

  • 5 Posts
  • 0 Reply Likes
I fell back to cli-5.4.1 and all appeared to work just fine. I'm not sure if there were drastic changes in the requirements of the config file (the documentation is very limited and without example) but I've attached it.

Thanks for your assistance.
Photo of Jeff

Jeff

  • 5 Posts
  • 0 Reply Likes
Part 2 of 3:



Part 3 of 3:

Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
Couple of things:

1. You don't need the elements with 'ios-package'

2. You are missing splashes for the large dimensions of Android (xxhdpi, xxxhdpi) and the large dimensions for iOS (iPhone6(+))

3. I wonder if your directory structure is correct. Do you have both config and index in the root ("/") of your zip file (not in some directory, like /www)?