osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Assets.Car Problem via IntelliJ


THX Eric,
I believe I have all the necessary icons which are in the Assets file
(As this was auto generated as were the icons from the website mentioned)
 in the same location as the Assets file,
Ie in the src directory, as shown


Phil:-(


On 8 May 2018, at 18:53, Erik J. Thomas <erik@xxxxxxxxxx> wrote:

Oops, I stand corrected. Assets.car is not a zip file. My bad.

But the icons the online tool built should be available to copy to your icons folder. Remember, they won't necessarily be the same names as the icons you provided to the tool.

Bottom line is you need the built icons in IPA root as duplicate of those in the Assets.car.

Erik

On May 8, 2018, at 10:26 AM, Erik J. Thomas <erik@xxxxxxxxxx> wrote:

You need the icons that were added to your Assets.car file to also be in the package root of the IPA. You can unpack the .car (it's just a zip) and copy all those icon files into an "excluded" IntelliJ directory at the root of your project, like "icons" and then copy them to the package root by adding a directive:

command+;
select your module
select iOS tab
add to "Files and folders to package":

From: /Users/youraccount/project/icons
To: .

You should also copy the Assets.car file into the same icons directory so the directive above also copies the .car to the root of the IPA. And you never need to place icon files, splash screens, etc., into your project's src directory. Since you use directives to copy them to the root of the IPA during the build, just create a root folder "launchscreens" and exclude it in IntelliJ and just copy the contents of it to "." and you should be good to go.

Erik

On May 8, 2018, at 9:45 AM, npem <philip.medlam@xxxxxxxxx> wrote:

Hi,
I have a problem with the new iStore requirements
For an Asset.car file

I used the website at:
*http://applicationloader.net/appuploader/icontool.php
*
Which produced png’s and an Assets.car file
All of which I copied to the src directory

I then edited the -app.xml file to include,
Within the <icon> section

*<image29x29>Icon-Small.png</image29x29>
<image40x40>Icon-Small-40.png</image40x40>
…… ….
…. ….
<image167x167>Icon-167.png</image167x167>
<image180x180>Icon-180.png</image180x180>*

I previously had entries for a few of these under:

But commented these out


I also
*Project Structure -> Modules -> iOS
Added all the image files and the Assets.car file “to package”*

All seemed to work, but when I uploaded to the iStore I get:
* ERROR ITMS-90032: "Invalid Image Path - No image found at the path
referenced under key 'CFBundleIcons': 'Icon-167.png'"
ERROR ITMS-90032: "Invalid Image Path - No image found at the path
referenced under key 'CFBundleIcons': 'Icon@xxxxxx'"*
Plus a another 5 lines for the different image Paths



*Anyone offer an example of how I would use
CFBundleIcons for 2 (as an example) icons
And where to put them in the xml file*

Any help would be gratefully appreciated
Phil:-)


/I am using:
IntelliJ 2017
Flex 4.16.1
AIR29/





--
Sent from: http://apache-flex-users.2333346.n4.nabble.com/