Change Carthage Swift version
Is it possible to change Carthage Swift version used to build the frameworks?
I’m trying to migrate my project to swift 3 (on Xcode 8 beta), and the third party libraries are the only thing that stops my project from compiling.
While using specific branches for swift 3, Carthage throws errors about the new Swift syntax.
Any help will be appreciated!
- How to enable Visual Memory Debugger in Xcode 8?
- Xcode 8 can't open Model.xcdatamodeld
- I compiling Swift 2.3 project and have this issue on Xcode 8.1
- Adding syntax coloring to Xcode for unknown file extension such as “.tcl”
- Xcode 8 GM seed Storyboard layout issue
- NSLog on devices in iOS 10 / Xcode 8 seems to truncate? Why？
2 Solutions Collect From Internet About “Change Carthage Swift version”
Carthage uses the command line tool
xcodebuild to build the frameworks. The version of Xcode used by the command line system is determined by the value selected by the tool
Usage: xcode-select [options] Print or change the path to the active developer directory. This directory controls which tools are used for the Xcode command line tools (for example, xcodebuild) as well as the BSD development commands (such as cc and make). Options: -h, --help print this help message and exit -p, --print-path print the path of the active developer directory -s <path>, --switch <path> set the path for the active developer directory --install open a dialog for installation of the command line developer tools -v, --version print the xcode-select version -r, --reset reset to the default command line tools path
It needs to point to the Developer SDK directory, so you can use
--print-path to check where it’s currently pointing.
xcode-select --print-path /Applications/Xcode.app/Contents/Developer
Then to change it just run
sudo xcode-select --switch <path-to-beta-xcode>/Contents/Developer
- Update a label with speed every x seconds
- Changing UIButton text
- infowindow not displaying with marker in didTapAtCoordinate method
- UITableView backgroundColor always white on iPad
- Swift – Could not cast value of type '__NSCFString' to 'NSDictionary'
- Make the application restart by itself on a jailbroken device
- How to check if WiFi is on or off in iOS Swift 2?
- Pass data back to the previous controller
- iPhone: modifying view when user shakes
- Using performSelector:withObject:afterDelay: with non-object parameters
- xcode don't localize specific strings
- how can i access a parent view controller's view from a child view controller?
- how to get coordinates from the total address of the content?
- Swift generic coercion misunderstanding
- How do you check current view controller class in Swift?