krzysztofzablocki / Inject

Hot Reloading for Swift applications!
MIT License
2.14k stars 114 forks source link

How to deal with non-standard Xcode location? #13

Closed ptrkstr closed 2 years ago

ptrkstr commented 2 years ago

A user may not have Xcode named Xcode.app. A case in point is when utilising the Xcodes.app to install Xcode. That appends the Xcode version to the name. Using DEVELOPER_DIR makes the Xcode name agnostic.

johnno1962 commented 2 years ago

This is unfortunate and InjectionIII.app may work if there isn't an Xcode at the normal path but I can't guarantee it. Using a symbolic link at /Applications/Xcode.app when you have multiple Xcodes installed is perfectly fine.

gohanlon commented 2 years ago

I setup Inject and InjectionIII.app yesterday with an Xcode installed via Xcodes, and I can confirm that a symlink is all that's needed:

% ln -s /Applications/Xcode-13.3.0.app /Applications/Xcode.app