ox-it / munki-rebrand

Script to rebrand Munki's Managed Software Center
BSD 3-Clause "New" or "Revised" License
89 stars 24 forks source link

'actool' requires Xcode while Converting .png file to .icns error #33

Closed HaniAlshikh closed 5 years ago

HaniAlshikh commented 5 years ago

Hi,

when i ran:

sudo python munki_rebrand.py --appname $appname --icon-file $icon --output-file $appname --pkg $pkg_path

i had this issue

Converting .png file to .icns...
xcode-select: error: tool 'actool' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

and i did a quick google search and found the solution [here|https://stackoverflow.com/questions/17980759/xcode-select-active-developer-directory-error/17980786#17980786]

sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

I hope it helps :).

fuzzylogiq commented 5 years ago

It’s already in the README :>

-- Ben Goodstein Technical Leader (Apple)


From: H-S notifications@github.com Sent: Friday, June 28, 2019 11:02:17 AM To: ox-it/munki-rebrand Cc: Subscribed Subject: [ox-it/munki-rebrand] 'actool' requires Xcode while Converting .png file to .icns error (#33)

Hi,

when i ran:

sudo python munki_rebrand.py --appname $appname --icon-file $icon --output-file $appname --pkg $pkg_path

i had this issue

Converting .png file to .icns... xcode-select: error: tool 'actool' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

and i did a quick google search and found the solution [here|https://stackoverflow.com/questions/17980759/xcode-select-active-developer-directory-error/17980786#17980786]

sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

I hope it helps :).

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/ox-it/munki-rebrand/issues/33?email_source=notifications&email_token=ABVM7CVG5RCT6SKPRBIML5DP4XOSTA5CNFSM4H4D67Q2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G4I5QDA, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABVM7CSANFNCNDO5EBSDJQDP4XOSTANCNFSM4H4D67QQ.

HaniAlshikh commented 5 years ago

Oh, sorry XD. we can close this then :).