AlexKMDev / WebRTC

Unofficial builds of Google WebRTC iOS Framework
https://webrtc.org/native-code/ios/
Other
292 stars 76 forks source link

Podspec: The minimal iOS platform should be iOS 9.0 #48

Open manuroe opened 6 years ago

manuroe commented 6 years ago

Running this pod within in app on an iOS8 makes the app crash.

The reason is that the framework uses AVCaptureSessionInterruptionReasonKey which is available since iOS 9.0.

Crash log:

- Dyld Error Message:
  Symbol not found: _AVCaptureSessionInterruptionReasonKey
  Referenced from: /private/var/mobile/Containers/Bundle/Application/XXXX/Yyyy.app/Frameworks/WebRTC.framework/WebRTC (which was built for iOS 9.0)
  Expected in: /System/Library/Frameworks/AVFoundation.framework/AVFoundation
 in /private/var/mobile/Containers/Bundle/Application/XXXX/Yyyy.app/Frameworks/WebRTC.framework/WebRTC
  Dyld Version: 353.12
AlexKMDev commented 6 years ago

Thanks. You should report this to official bug tracker too, because I'm just building this library from provided sources. Will change podspec soon to use iOS 9.