pristineio / webrtc-build-scripts

A set of build scripts useful for building WebRTC libraries for Android and iOS.
BSD 3-Clause "New" or "Revised" License
1.13k stars 447 forks source link

How to specify the iOS base SDK to use for webrtc build scripts? #191

Open nesterenkodm opened 8 years ago

nesterenkodm commented 8 years ago

I've successfully build webrtc, but when I try to integrate it into the project I get numerous linker warnings object file was built for newer iOS version (9.0) than being linked (7.0). How to specify base iOS SDK for webrtc build scripts?

ld: warning: object file (/<...>/WebRTC/libWebRTC-13094-arm-intel-Release.a(audio_device.RTCAudioSession.o)) was built for newer iOS version (9.0) than being linked (7.0)
ld: warning: object file (/<...>/WebRTC/libWebRTC-13094-arm-intel-Release.a(audio_device.RTCAudioSessionDelegateAdapter.o)) was built for newer iOS version (9.0) than being linked (7.0)
ld: warning: object file (/<...>/WebRTC/libWebRTC-13094-arm-intel-Release.a(libjingle_peerconnection_objc.RTCAudioTrack.o)) was built for newer iOS version (9.0) than being linked (7.0)
...
...
AlexKMDev commented 8 years ago

ios_deployment_target% option in src/build/common.gypi

iamrado commented 8 years ago

Is there an option to define ios_deployment_target% outside of src/build/common.gypi? A command line argument will be nice to have.