Open
Description
HI. I have clone the project (https://github.com/SwiftAndroid/swift)
and then utils/build-script -r
but i do no know to set my env to build your sample programs.
so i have to try to download swift here (https://swift.org/download/#snapshots) and install swift
then build again
error log:"error: unable to invoke subcommand: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-build (No such file or directory)"
Activity
kostiakoval commentedon Oct 6, 2016
you have to set
PATH
environment variable.And you don't need to build your own toolchain, download existing one from https://swift.org/download/#snapshots.
export PATH=$PATH:/path/to/swift/bin
liufsd commentedon Oct 6, 2016
@kostiakoval Thanks. I will try it later.
kostiakoval commentedon Oct 6, 2016
@liufsd I would love to see/ hear if grade plugin is still working with current swift
liufsd commentedon Oct 6, 2016
@kostiakoval Sorry, i do not know. i need test it. if you build success, you can tell me.
liufsd commentedon Oct 6, 2016
@kostiakoval Bad news.The SwiftAndroid project last commit 6 months ago...
kostiakoval commentedon Oct 6, 2016
I know, thats why I asked. SwiftAndroid was merged into swift repo. The main work is now done there.
https://github.com/apple/swift/blob/master/docs/Android.md
liufsd commentedon Oct 7, 2016
@kostiakoval SwiftAndroid/swift-android-samples#1
It's not easy to do that.The swift version is 3.0 now~.As your said ,the SwiftAndroid was not track.
So i'd recommend waiting a month or two and getting a prebuilt snapshot with the android code compiled in.