react-native-twilio-video-webrtc ios pods 错误
react-native-twilio-video-webrtc ios pods error
我正在使用 react-native-twilio-video-webrtc 构建 React-Native 应用程序,但在使用 pods 配置 iOS 应用程序时遇到问题。我按照教程中给出的 iOS 的集成步骤(上面的 link)在 运行 pod install 时遇到了这个错误:
Error :
[!] Unable to satisfy the following requirements:
TwilioVideo (>= 1.0.1) required by react-native-twilio-video-webrtc (1.0.2)
Specs satisfying the TwilioVideo (>= 1.0.1) dependency were found, but they required a higher minimum deployment target.
我的环境:
节点 8.1.4,
反应本机 0.47.1,
iOS9.0
我的播客文件:
target 'MyProject' do
target 'MyProjectTests' do
inherit! :search_paths
end
pod 'Yoga', path: '../node_modules/react-native/ReactCommon/yoga/Yoga.podspec'
pod 'React', path: '../node_modules/react-native'
pod 'react-native-twilio-video-webrtc', path: '../node_modules/react-native-twilio-video-webrtc'
end
target 'MyProject-tvOS' do
target 'MyProject-tvOSTests' do
inherit! :search_paths
end
end
我找到了,我只需要在 Podfile 的顶部设置这两行即可:
platform :ios, '9.0'
use_frameworks!
现在编译一切正常。
我正在使用 react-native-twilio-video-webrtc 构建 React-Native 应用程序,但在使用 pods 配置 iOS 应用程序时遇到问题。我按照教程中给出的 iOS 的集成步骤(上面的 link)在 运行 pod install 时遇到了这个错误:
Error :
[!] Unable to satisfy the following requirements:
TwilioVideo (>= 1.0.1) required by react-native-twilio-video-webrtc (1.0.2) Specs satisfying the TwilioVideo (>= 1.0.1) dependency were found, but they required a higher minimum deployment target.
我的环境: 节点 8.1.4, 反应本机 0.47.1, iOS9.0
我的播客文件:
target 'MyProject' do
target 'MyProjectTests' do
inherit! :search_paths
end
pod 'Yoga', path: '../node_modules/react-native/ReactCommon/yoga/Yoga.podspec'
pod 'React', path: '../node_modules/react-native'
pod 'react-native-twilio-video-webrtc', path: '../node_modules/react-native-twilio-video-webrtc'
end
target 'MyProject-tvOS' do
target 'MyProject-tvOSTests' do
inherit! :search_paths
end
end
我找到了,我只需要在 Podfile 的顶部设置这两行即可:
platform :ios, '9.0'
use_frameworks!
现在编译一切正常。