-
-
Notifications
You must be signed in to change notification settings - Fork 338
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
Swift 2 is here! #70
Swift 2 is here! #70
Conversation
/cc @ibc |
Wow, amazing! Let me please merge it tomorrow (must update Xcode and so on). |
Thank you @saghul ! |
Updated hook to do the bitcode dance for us. (I guess iOSRTCApp would need updating after this lands) |
Forgive my ignorance to this process but does updating this to Swift 2.0 cause all people installing the app to be forced to install iOS 9 before they can use my app? |
@joshuairl I don't think so. I happen to have iOS 9 on my test device, but the deployment target was still set to 8.2. Alas, I have no iOS 8 device to confirm this. |
@joshuairl |
@windht @saghul could one of you help me understand this... so I decided to try the swift-2 branch of @saghul's PR repo and so I removed iosrtc plugin from cordova. and did a I'm now getting: |
@joshuairl I don't know if this will help...but open up the project in xCode and expand the plugins folder in the project navigator. Select 'iosrtcPlugin.swfit' and make sure that the checkbox under Target Membership (in the right window pane) is checked off. I often find these unchecked when removing/adding plugins without blowing away the entire platform. |
I fixed and force pushed a bit earlier today. Can you delete all the On Friday, September 18, 2015, Joshua Rountree notifications@github.com
/Saúl |
Seems to be working okay as for now! :) |
Somethings not quite right. |
@joshuairl I haven't tried that. Can you give some more details on what's not going right? Any log lines? |
Honestly haven't even checked logs because my damn device updated to 9.1 and can't get Xcode to install haha. However I'm sure it's unrelated but my initial stream won't record on MCU. Again, I'm sure it's unrelated but who knows haha. I'm pretty new to webrtc. |
Okay, figured out my MCU issue... obviously that wasn't even related. I continue to have seemingly intermittent issues with where one side cannot hear anything from other side... although the sound is transmitting because my MCU is capturing it so I know the transmitting is working... but thinking either the "audio output device" isn't firing or something... |
Going to try to make sure I have pulled the latest code from your repo to ensure I'm not running outdated stuff. |
@joshuairl this plugin uses the Google libwebrtc library as it is. It does not handle audio/video by itself in any way. If you experiment issues with your MCU please check the same environment with your WebRTC browser application, but please let's not comment these issues in this ticket about migrating to Swift 2.0. |
So some how I was able to continue running the old Swift code and compile just fine now... I just have to hit "Cancel" when it asks me to convert the code... before it would go a head and screw up all of the code references and wouldn't let me compile it. But now I am experiencing a couple of intermittent peer connections not displaying correctly. @ibc Sorry about that, I recognize that it isn't an iosrtc issue. It turns out that it was something I did (of course!) :) I just know how important it is to always include details into issues that may not always present obvious side-effects. Hoping to just make the project as solid as possible! Thanks for all you guys do. |
@ibc any plans on merging this into master soon? |
@mgerstenblatt Hey, @ibc is afk for a few days. If this PR working fine for you? |
Yeah I'm just having a lot of trouble getting Anybody else having any issues? |
@joshuairl |
I get these errors when I try to build. I'm running Xcode 7.1 on El Capitan. I am running the swift hook in the extras folder. |
@psirenny Looks like you haven't applied the changes from this PR. Those |
@saghul I'm back. I've created a new branch "swift1.2" to hold the current Swift 1.2 based plugin, and will merge your PR on master right now if you confirm me that's ready :) |
Guys, cordova-plugin-iosrtc 2.0.0 is here. It requires Swift 2.0.0 so thanks a lot to @saghul for the PR 🍰 |
\o/
|
Ahoi!
Thanks for making this plugin available! ❤️
Swift 2.0 was released yesterday as part of Xcode 7.0, so it's time to upgrade! With the attached patches I could compile the iOSAppRTC example using Xcode 7 and deploy it to an iPad running iOS 9.
IMPORTANT NOTE: As of right now Apple requires applications to include Bitcode, but it has to be disabled for now since the bundled libwebrtc was built without it. I left a note about this on the documentation.