fix: make xcode_emulation handle xcodebuild not in the PATH#303
Conversation
Co-authored-by: Chengzhong Wu <cwu631@bloomberg.net>
|
I liked the targeted FileNotFoundError over the more general IOError because it describes the problem we are trying to fix. Other IOErrors are unexpected and should probably be raised, but either solution should work. |
I don't have a strong opinion, I would note that given all those paths have a fallback, it's probably fine to ignore those For reference, here's the list of |
|
OPTIONAL: |
As titled, when trying to run the script in an environment that doesn't have any
xcodebuildin the path, it crashes with aFileNotFoundErrorinstead of falling back to the XCode Command Line Tools.