Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About compile errors on iOS #224

Open
isayeter opened this issue Jan 8, 2017 · 9 comments
Open

About compile errors on iOS #224

isayeter opened this issue Jan 8, 2017 · 9 comments

Comments

@isayeter
Copy link

isayeter commented Jan 8, 2017

Hello,

I did everything written in installation guide in xCode . Buy when I try to install to my phone, these errors occurs. What is the problem ?

I have xCode 8.2.1 and iOS 10.2 on my phone.

screen shot 2017-01-08 at 13 52 54

@isayeter
Copy link
Author

isayeter commented Jan 8, 2017

I tired "xCode Menu > Edit > Convert > To Current Swift Syntax"

Now it gives these errors.

screen shot 2017-01-08 at 14 00 56

@yildirayyilmaz
Copy link

Hi,

Could you find any solution to this problem? I'm also facing with the same problem.

Thanks,
Yildiray

@danwaltzer
Copy link

Having the same issues here...would love an update or solution if anyone has one.

@muescha
Copy link

muescha commented Jan 22, 2017

see #216

@yildirayyilmaz
Copy link

Hi danwaltzer,

I couldn't find a solution to use swift 3 successfully. However, if you change the "Use Legacy Swift Language Version" option to YES, you can use phonertc plugin's swift 2 code with xcode 8 and new iOS SDK without errors.

@danwaltzer
Copy link

danwaltzer commented Jan 22, 2017

I've tried this, but instead of getting 20 compiler errors, I now get 87. I'm guessing this is because I already ran the conversion to Swift 3

@yildirayyilmaz
Copy link

I think so. Firstly, you have to revert your code base to swift 2 version. After that, changing the "Use Legacy Swift Language Version" attribute's value will resolve your problem.

@gotoAndBliss
Copy link

If I convert to 2.3.. I still get some 60 errors on a fresh install. Anyone ever find a working RTC solution?

@yildirayyilmaz
Copy link

After updating xcode 8.2 to 8.3 there is not any "Use Legacy Swift Language Version" option no more and xcode forces to convert swift 2.3 to 3.0. I'm looking for solutions too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants