I am trying to use the ibtool
command-line utility. I have opened Terminal in the project directory, where the .xib
I want to process is, and I wrote the command as stated in Apple's documentation:
ibtool --generate-strings-file MainMenu.strings MainMenu_iPhone.xib
I have not this .xib
file localized yet, so it is not in any localized .lproj
directory. When I run such command, I get this output:
xcrun: Error: could not stat active Xcode path '/Volumes/Xcode/Xcode.app/Contents/Developer'. (No such file or directory)
I have no mounted volume for Xcode. Why is ibtool
looking for that directory?
I am using XCode 4.4.1 and developing an iOS app. Thanks in advance
OK, you have to correct xcode-select
(manpage) in order to use xcrun
correctly:
(from Terminal.app):
$ xcode-select -switch /Applications/Xcode.app/Contents/Developer
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With