Hi,
Because I can't keep my hands off utilities and am on a constant quest to understand development processes, I attempted to clone the latest git repository and build TextMate. It seems that everything goes well until I reach the part where I build the actual executable, and get the following errors:
[1/1] Generate ‘build.ninja’… [159/923] Compile xib ‘Frameworks/OakAppKit/resources/English.lproj/CustomizeEncodings.xib’… FAILED: /Users/Greg/build/TextMate/Frameworks/OakAppKit/resources/English.lproj/CustomizeEncodings.nib xcrun ibtool --errors --warnings --notices --output-format human-readable-text --minimum-deployment-target 10.12 --compile /Users/Greg/build/TextMate/Frameworks/OakAppKit/resources/English.lproj/CustomizeEncodings.nib Frameworks/OakAppKit/resources/English.lproj/CustomizeEncodings.xib xcrun: error: unable to find utility "ibtool", not a developer tool or in PATH [161/923] Compile xib ‘'Frameworks/OakAppKit/resources/English.lproj/Pasteboard Selector.xib'’… FAILED: /Users/Greg/build/TextMate/Frameworks/OakAppKit/resources/English.lproj/Pasteboard Selector.nib xcrun ibtool --errors --warnings --notices --output-format human-readable-text --minimum-deployment-target 10.12 --compile '/Users/Greg/build/TextMate/Frameworks/OakAppKit/resources/English.lproj/Pasteboard Selector.nib' 'Frameworks/OakAppKit/resources/English.lproj/Pasteboard Selector.xib' xcrun: error: unable to find utility "ibtool", not a developer tool or in PATH [162/923] Compile xcassets ‘Frameworks/OakAppKit/resources/OakAppKit.xcassets’… FAILED: /Users/Greg/build/TextMate/Frameworks/OakAppKit/resources/Assets.car xcrun actool --errors --warnings --notices --output-format human-readable-text --platform macosx --minimum-deployment-target 10.12 --compile "$(dirname /Users/Greg/build/TextMate/Frameworks/OakAppKit/resources/Assets.car)" Frameworks/OakAppKit/resources/OakAppKit.xcassets xcrun: error: unable to find utility "actool", not a developer tool or in PATH
ibtool and actool exist in /usr/bin and also a link to /usr/local/bin, both of which are in my shell path. I enter 'which ibtool' from the shell and it can find the tool. Is there another path needed for the build which I don't have set? Generally Homebrew builds compile and run OK on my system...
On 3 Jun 2020, at 21:11, Greg Dunn wrote:
Because I can't keep my hands off utilities and am on a constant quest to understand development processes, I attempted to clone the latest git repository and build TextMate. It seems that everything goes well until I reach the part where I build the actual executable, and get the following errors: […] xcrun: error: unable to find utility "ibtool", not a developer tool or in PATH […] ibtool and actool exist in /usr/bin and also a link to /usr/local/bin, both of which are in my shell path. I enter 'which ibtool' from the shell and it can find the tool. Is there another path needed for the build which I don't have set? Generally Homebrew builds compile and run OK on my system...
The build process runs everything via the `xcrun` command.
You can run `xcrun -f ibtool` to find ibtool via `xcrun`, but it will likely fail, though it may tell you what is wrong.
Perhaps the “selected” Xcode version of yours exist no more, try run: `xcode-select -p`, that prints path to where the system thinks it is located.
You may be able to fix that with `xcode-select -s <path>`.
More information in man page for the above mentioned tools.