Code Monkey home page Code Monkey logo

air-imagescripts's People

Contributors

marchbold avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

air-imagescripts's Issues

Assets.car file not created, but i see different sizes images

Hi,
After following steps, I see these messages in console

  • Assets.car: Icons
  • Assets.car: Icons created
    convert: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG `/Volumes/PWD/0. AssetCreatorForIos/AIR-ImageScripts-master/assets/Assets.xcassets/LaunchImage.imageset/LaunchImage.png' @ warning/png.c/MagickPNGWarningHandler/1748.
  • Assets.car: actool
  • Assets.car: actool complete
    cp: /Volumes/PWD/0. AssetCreatorForIos/AIR-ImageScripts-master/tmp/Assets.car: No such file or directory
    ========== COMPLETE ==============

But I dont see any Assets.car file in folder, but i see icons of different size. Is it what it does or I am doing something wrong?

Thanks

macOS Sonoma Compatibility

I was previously working on an Intel MacBook Pro running Ventura. I recently upgraded to an M3 Max running Sonoma.

On my previous machine, I ran this in the terminal and it worked great:
/graphics/asset_car_gen/AIR-ImageScripts-master/generate.sh /graphics/asset_car_gen/icon.png /graphics/asset_car_gen/lauchscreen-assets/launchscreen.png "#ffffff" /Users/tonystech/Documents/nomo

On my new machine, it returns:
usage: /graphics/asset_car_gen/AIR-ImageScripts-master/generate.sh icon_image launch_image fill_bg_color [dst_dir]

I have imagemagick installed. I have both Xcode 15.1 and 14.3.1 installed. (I had to change the CFBundleVersion to 22265 in 14.3.1's plist in order to get it to open because Sonoma technically only runs 15). I switch between versions using
export DEVELOPER_DIR=/Applications/Xcode14.3.1.app/Contents/Developer

Is there something I'm missing? I tried my best to figure this out before asking :)

LaunchScreen.storyboardc

Is there a reason why the script outputs .storyboardc rather then .storyboard?

image

Or is it just a typo in the script?

Thanks

Conflict in file name : LaunchScreen.storyboardc/Info.plist - HARMAN?

When i compile my IPA for release, I get this message:

image

And the compile fails.

If I remove LaunchScreen.storyboardc from the packaging it works fine.

Is this because HARMAN is packaging their own LaunchScreen.storyboardc file (in the free version) - and you're only allowed one, therefore I am not allowed to package my own?

Thanks

Storyboard shows white

The storyboard shows white. we used your images to test, with the generate.sh.
Tested on ios 17 (ipad)

(we had the same problem generating with xcode, so we tried the command line (which was a lot easier btw))
We still add the default imgs as png in the compile command line, not sure if this is relevant.

LaunchScreen.storyboardc.zip
Assets.zip

Assets.car is not created

Hi Michael!

I installed the requierements (brew, imagemagick) on my M1 Mac-mini and let the shell script run. All worked, all icons were created but not the Assets.car. Any idea what went wrong?

Best regards
Marc

marcwaesche@Mini-von-Marc assmaker % ./generate.sh 1024.png 2732.png "#ff0000"                                    

USING:

  icon=1024.png

  launch=2732.png

Downloading assets

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100   141  100   141    0     0    350      0 --:--:-- --:--:-- --:--:--   354

100   152  100   152    0     0    263      0 --:--:-- --:--:-- --:--:--   263

100 82640  100 82640    0     0  13970      0  0:00:05  0:00:05 --:--:-- 20220

Archive:  .tmp.generate-assets.zip

   creating: /Users/marcwaesche/Desktop/assmaker/assets/Assets.xcassets/

   creating: /Users/marcwaesche/Desktop/assmaker/assets/Assets.xcassets/LaunchImage.imageset/

  inflating: /Users/marcwaesche/Desktop/assmaker/assets/Assets.xcassets/LaunchImage.imageset/Contents.json

  inflating: /Users/marcwaesche/Desktop/assmaker/assets/Assets.xcassets/LaunchImage.imageset/LaunchImage.png

   creating: /Users/marcwaesche/Desktop/assmaker/assets/Assets.xcassets/AppIcon.appiconset/

extracting: /Users/marcwaesche/Desktop/assmaker/assets/Assets.xcassets/AppIcon.appiconset/[email protected]

extracting: /Users/marcwaesche/Desktop/assmaker/assets/Assets.xcassets/AppIcon.appiconset/[email protected]

extracting: /Users/marcwaesche/Desktop/assmaker/assets/Assets.xcassets/AppIcon.appiconset/[email protected]

extracting: /Users/marcwaesche/Desktop/assmaker/assets/Assets.xcassets/AppIcon.appiconset/[email protected]

extracting: /Users/marcwaesche/Desktop/assmaker/assets/Assets.xcassets/AppIcon.appiconset/[email protected]

extracting: /Users/marcwaesche/Desktop/assmaker/assets/Assets.xcassets/AppIcon.appiconset/[email protected]

  inflating: /Users/marcwaesche/Desktop/assmaker/assets/Assets.xcassets/AppIcon.appiconset/[email protected]

  inflating: /Users/marcwaesche/Desktop/assmaker/assets/Assets.xcassets/AppIcon.appiconset/Contents.json

extracting: /Users/marcwaesche/Desktop/assmaker/assets/Assets.xcassets/AppIcon.appiconset/[email protected]

extracting: /Users/marcwaesche/Desktop/assmaker/assets/Assets.xcassets/AppIcon.appiconset/[email protected]

extracting: /Users/marcwaesche/Desktop/assmaker/assets/Assets.xcassets/AppIcon.appiconset/[email protected]

  inflating: /Users/marcwaesche/Desktop/assmaker/assets/Assets.xcassets/AppIcon.appiconset/[email protected]

extracting: /Users/marcwaesche/Desktop/assmaker/assets/Assets.xcassets/AppIcon.appiconset/[email protected]

extracting: /Users/marcwaesche/Desktop/assmaker/assets/Assets.xcassets/AppIcon.appiconset/[email protected]

extracting: /Users/marcwaesche/Desktop/assmaker/assets/Assets.xcassets/AppIcon.appiconset/[email protected]

extracting: /Users/marcwaesche/Desktop/assmaker/assets/Assets.xcassets/AppIcon.appiconset/[email protected]

  inflating: /Users/marcwaesche/Desktop/assmaker/assets/Assets.xcassets/Contents.json

   creating: /Users/marcwaesche/Desktop/assmaker/assets/LaunchScreen.storyboardc/

  inflating: /Users/marcwaesche/Desktop/assmaker/assets/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib

  inflating: /Users/marcwaesche/Desktop/assmaker/assets/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib

  inflating: /Users/marcwaesche/Desktop/assmaker/assets/LaunchScreen.storyboardc/Info.plist

Generating icons

Generating Default pngs

Generating Assets.car

- Assets.car: Icons

- Assets.car: Icons created

- Assets.car: actool

- Assets.car: actool complete

cp: /Users/marcwaesche/Desktop/assmaker/tmp/Assets.car: No such file or directory

========== COMPLETE ==============

Splash screen not loaded immediately

I've followed the tutorial for generating Assset.car and Launchscreen directory.
I've uploaded both files that are packaged in my root build ios directory.

Also added

<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>

to InfoAdditions
But still I see a black screen for a moment before the splash screen.
Any help appreciated. Note we have a license for AIR SDK

attached a video showing the problem
https://user-images.githubusercontent.com/19804341/119830628-2582c180-bf05-11eb-87da-d15da5a56fe1.mov

asset.car not created and some icon files missing

It makes the icon files but it seems to fail at asset.car creation:

Assets.car: AppIcon created
generate_appicon: AlternateIcon.appiconset doesn't exist - creating new icon set
Assets.car: AlternateIcon created
Assets.car: launch screen
Assets.car: actool
Assets.car: actool complete
cp: /Users/%user%/Documents/AIR-ImageScripts-master/.air-icon-generation-tmp/Assets.car: No such file or directory

And then the folder out structure looks very different than the example: it has icons but no asset.car and missing some icons

out

script not working

I ran the following script :

generate.sh icon.png launch.png "#6600cc" out

but i dont see the launch image and also the background color is still plain white.

xcrun error

I create assets for the application but I get the following error:
xcrun: error: unable to find utility "actool", not a developer tool or in PATH

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.