How to rollback to Xcode 6.4, Carthage

I download Xcode 6.4 from here http://adcdownload.apple.com/Developer_Tools/Xcode_6.4/Xcode_6.4.dmg . Then select the previous Xcode to build:

~ xcode-select -s "/Applications/Xcode_6.4.app/Contents/Developer"

But I can not compile libraries with Carthage . I get an error message:

 2015-09-18 19:13:58.057 xcodebuild[13961:788602] stream error: stream error at offset 8: unsupported version number ('1.04') 

On the other computer, after updating Xcode 7, the same problem. Libraries do not compile, but errors are different.

 ~ carthage version 0.8.0 

Cartfile:

 github "Alamofire/Alamofire" "1.3.1" 
+5
source share
2 answers

I was getting the same error. I just ran the update command using sudo. Here is the complete list of steps that worked for me:

  • Renamed Xcode 7.x Application in Xcode 7
  • Loaded Xcode 6.4.
  • Updated Cartfile for: github "Alamofire / Alamofire" "1.3.1"
  • Edit the update using sudo:
  sudo carthage update 

Terminal output:

 Januszs-Mac-mini: janusz$ sudo carthage update Password: *** Fetching Alamofire *** Checking out Alamofire at "1.3.1" *** xcodebuild output can be found in /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/... *** Building scheme "Alamofire OSX" in Alamofire.xcworkspace *** Building scheme "Alamofire iOS" in Alamofire.xcworkspace 
+2
source

Solved with this command: mv ~ / Library / Developer ~ / Library / Developer_moved

+2
source

All Articles