Polyglot
Polyglot copied to clipboard
Convert classes to Swift 3
I converted the main classes to work with Swift 3. This helps when using the classes as-is like I do in my project BartyCrouch.
I recommend you to merge this into a new "swift3" branch and note its existence in the master branch. This way people can check it out and use the classes as is (I integrate them with Carthage but link them manually from the Carthage/Checkouts folder).
From there you can improve everything to work with Swift 3 and Xcode 8.
Hey @Dschee ,
I added a PR https://github.com/Dschee/Polyglot/pull/1/ on your forks master branch per your request here: https://github.com/Flinesoft/BartyCrouch/pull/59.
I think this build is failing because your xcworkspace isn't being re-created by travis. I think The sample project was renamed or something by @ayanonagon. Adding the following changes should fix the broken build:
Podfile
target "PolyglotSample" do
pod 'Polyglot', :path => '.' # Don't think this line is required.
end
Replace the test run instruction in .travis
with:
- set -o pipefail && xcodebuild -workspace PolyglotSample.xcworkspace -scheme PolyglotSample -sdk iphonesimulator9.1 test | xcpretty -c
If iphonesimulator9.1
isn't available you could try iphonesimulator10.3
.
Kind regards, Menzo.
It couldn't work in swift 3 & Xcode 8...