Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Compilation fails with Swift 3 #182
This is more a TODO item than a bug report.
Xcode 8 is in beta now, and with it comes Swift 3, which fails to compile the plugin, no surprise here. I plan to fix in the future (if nobody beats me to it).
There is a way to continue being able to compile the plugin with Xcode 8: got o Build Settings -> Use Legacy Swift Language Version -> Yes
Amen to that brother Iñaki
We found the problem. The hook does not get executed. However we followed the instructions exactly on multiple computers. Never executed. How could this be?
The solution to get things compiled anyways was to add
We are in the same problem space, it may need the iosrtc swift code to
On 27/10/2016 6:18 am, menelike wrote:
@mikkelking great news, thanks a lot!
Currently we try to dance the meteor downgrade mambo jambo to
We added this as a local cordova plugin, in addition we had to downgrade
Not sure if this will succeed, anyway this is just a temporary solution.
We could make this work with Meteor 1.4.2 and all packages up to date. This commit explains how risetechnologies/cordova-plugin-meteor-webapp@2f78c60
This line inside
sorry guys, this conversation should have been done in the mailing list
referenced this issue
Oct 31, 2016
FYI, this can be automated in cordova builds. I'm using this right now as part of my build process:
echo "SWIFT_VERSION = 2.3" |tee -a platforms/ios/cordova/*.xcconfig
Edit: Side note, the
Having a major issue compiling here even after the compile downgrade to 2.3 although I get a deprecation warning. As for Swift 3.0, are the errors just syntax errors and something that will easily be fixed by just editing the files or is there more? I really don't want to be caught in some deprecation battle on the long term. But for now can I solve this. Thanks