0.2.1
🌟 _If you only use one version of Xcode, you don't have to worry about any of this._ 🌟
In the last release, xctool
only worked with the Xcode version it was compiled with. This was needed due to the massive changes between Xcode 5 and Xcode 6, but caused problems for people using the same xctool
binary and switching between multiple Xcode versions when building and running their project (happens on CI a bunch).
@ExtremeMan updated xctool
to make Xcode version-specific functionality happen at runtime. This means an xctool
compiled with Xcode 6 can build and run tests using Xcode 5, etc.
There is an edge case where compiling xctool
on Xcode 6 and running it on an app pointed at Xcode 5 will fail if Xcode 6 is located in /Applications/Xcode.app
. The wrong private framework gets loaded (the framework from Xcode 6 rather than from Xcode 5). If Xcode 6 is saved somewhere like Xcode_6.app then it works.