phonertc
phonertc copied to clipboard
Update to Swift 3
Hey
Does anybody made the update to Swift 3 code ??
I tried, but it lead to errors and more errors. Haven't gotten around to figuring it out.
Does anyone figure out how to update this to Swift 3?It almost drives me crazy.
https://github.com/alongubkin/phonertc/issues/219
- I also tried but its more error
- even now with stable code i have 2 error and its not yet working
Can anyone please check what is causing it?
same problem +1
any help on this issue
Yes any solutions would be much appreciated
+1
Hello everyone,
I found a way to use this plugin with latest SDK without fixing or converting any code, hope it helps you guys.
Here is a link, http://radex.io/xcode7-xcode8/
Hello Berdikhan Could you compile the plugin phonertc in xcode 8 (switf3)? ... Brother ... I have stopped an app that I have not been able to launch in ios ... in android runs well but I can not compile in swift 3 or swift 2.3
Yes, I was able to compile,
Here is what I did:
- Download Xcode 7.3.1 from here. (Note. do not replace existing Xcode 8, rename downloaded Xcode 7.3.1). Make sure that phonertc can compile in Xcode 7.3.1 before proceeding to the next step.
- Open your project (*.xcodeproj) in Xcode 7.3.1.
- Go to project settings, open the Build settings tab, and click the “+” to add a User-Defined Setting: “SWIFT_VERSION” = “2.3”. “PROVISIONING_PROFILE_SPECIFIER” = “ABCDEFGHIJ/“. Be sure to replace “ABCDEFGHIJ” with your Team ID (you can find it in Apple Developer Portal), and keep the forward slash at the end.
- Go through all of your .xib and .storyboard files, open the right sidebar, go to the first (File inspector) tab, and find the “Opens in” setting. It will most likely say “Default (7.0)”. Change it to “Xcode 7.0”. This will ensure that even if you touch the file in Xcode 8, it will only make changes that are backwards-compatible with Xcode 7.
- Make sure that your project and all its targets have the “Base SDK” build setting set to “Latest iOS”. (This will almost surely be true, but worth double-checking.) This way, Xcode 7 will compile for iOS 9, but you can open the same project in Xcode 8 and work on iOS 10 features.
- Alright, it’s time: open the project with Xcode 8. The first time you do so, you will be bombarded with a lot of requests.
Xcode will urge you to upgrade to the new Swift. Decline.
Xcode will also suggest to update the project to “recommended settings”. Ignore this as well.
Hope it helps
hi Berdikhan Thanks a lot for your answer .. i going to test it ...and i will write my comments very soon about it.
+1
+1
Berdikhan's solution is not working for me :(
can i get Xcode project file (platform\ios) and i could not able to find platform folder