Ji
Ji copied to clipboard
Carthage build issue
Since Swift isn't ABI stable yet, the prebuilt binaries that Carthage gets from Github on the releases page are not working with the latest versions of XCode/Swift. Would recommend that they be removed, as XCode won't build with them.
Hi @danielrhodes, thanks for your issue.
I tried with Carthage, the framework build by Carthage is good for me.
Here is my test project: TestJi.zip, works well.
What errors did you get?
The error I got was that the project was built with Swift 3 and not 3.0.1. Not a source level issue, but whatever pre-built binaries you have on Github which Carthage is using instead of compiling the library locally.
@danielrhodes There's no pre-build binaries on GitHub, Carthage should build the framework locally.
I guess the error is caused by your target's Use Legacy Swift Language Version
settings. Because setting to "No" in Xcode 8.2 results in SWIFT_VERSION = 3.0
, while Xcode 8.1 sets to 3.0.1
That is likely. My project is on 3.0.2.
Xcode 8.2 just uses SWIFT_VERSION = 3.0
instead of 3.0.x
.
Will you be able to provide a sample project with the error you met?