Skip to content

Unofficial build of the Google WebRTC with bitcode enabled

License

Notifications You must be signed in to change notification settings

salemove/ios-webrtc

Repository files navigation

Glia WebRTC library

Cocoapods

Cocoapods has multiple subspecs available:

  • release uses the version of the library that is built for distribution to AppStore that does not use bitcode

  • bitcode uses the version of the libray with bitcode enabled

Manual

In order to build the project, Depot tools are required to be exported to PATH.

The repo is using git lfs to store large files so it should be installed prior to fetching the repo.

Flow

After checking out repository make sure you run gcclient sync as described here.

Generating release library

Run the command python build_ios_libs.py inside the src/tools_webrtc/ios that will generate the FAT framework.

Generate release library with Bitcode enabled

Run the command python build_ios_libs.py --bitcode inside the src/tools_webrtc/ios that will generate the FAT framework.

Submission

Generated library contains slices both for simulator and real device but cannot be submitted to app store

The unwated architecture can be stripped using lipo and script

Fastlane

You can use fastlane to generate the development and production libraries. Make sure to run bundle install before to get all the required gems.

Troubleshoot

What to do if the framework is not present after doing pod install?

If you have run pod install before installing git lsf you will need to clear you cocoapods cache with rm -rf /Users/$USER/Library/Caches/CocoaPods and your pods and podfile.lock and run podfile install again CocoaPods/CocoaPods#4801

About

Unofficial build of the Google WebRTC with bitcode enabled

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages