问题简述
运行警告One of the two will be used. Which one is undefined
.
不影响运行,还请检查警告的问题是否存在。
相关信息
相关文件如下
Podfile
# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'
target 'PLPlayer' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
pod 'QNPlayer', :path => './';
end
QNPlayer.podspec
...
ss.source_files = 'Sources/**/*'
ss.dependency 'PLPlayerKit'
ss.dependency 'SnapKit'
ss.pod_target_xcconfig = { 'ENABLE_BITCODE' => 'NO' }
...
命令行log
$ pod update
...
Analyzing dependencies
Fetching podspec for `QNPlayer` from `./`
Downloading dependencies
Using HappyDNS (0.3.12)
Using PLPlayerKit (3.2.1)
Using QNPlayer (1.0.0)
Using SnapKit (4.0.0)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There is 1 dependency from the Podfile and 4 total pods installed.
运行log
objc[4802]: Class QNAssessment is implemented in both .../Frameworks/PLPlayerKit.framework/PLPlayerKit and .../Frameworks/HappyDNS.framework/HappyDNS. One of the two will be used. Which one is undefined.
objc[4802]: Class QNDes is implemented in both .../Frameworks/PLPlayerKit.framework/PLPlayerKit and .../Frameworks/HappyDNS.framework/HappyDNS. One of the two will be used. Which one is undefined.
objc[4802]: Class DummySorter is implemented in both .../Frameworks/PLPlayerKit.framework/PLPlayerKit and .../Frameworks/HappyDNS.framework/HappyDNS. One of the two will be used. Which one is undefined.
objc[4802]: Class QNDnsManager is implemented in both .../Frameworks/PLPlayerKit.framework/PLPlayerKit and .../Frameworks/HappyDNS.framework/HappyDNS. One of the two will be used. Which one is undefined.
objc[4802]: Class QNDnspodEnterprise is implemented in both .../Frameworks/PLPlayerKit.framework/PLPlayerKit and .../Frameworks/HappyDNS.framework/HappyDNS. One of the two will be used. Which one is undefined.
objc[4802]: Class QNDnspodFree is implemented in both .../Frameworks/PLPlayerKit.framework/PLPlayerKit and .../Frameworks/HappyDNS.framework/HappyDNS. One of the two will be used. Which one is undefined.
objc[4802]: Class QNDomain is implemented in both .../Frameworks/PLPlayerKit.framework/PLPlayerKit and .../Frameworks/HappyDNS.framework/HappyDNS. One of the two will be used. Which one is undefined.
objc[4802]: Class QNHex is implemented in both .../Frameworks/PLPlayerKit.framework/PLPlayerKit and .../Frameworks/HappyDNS.framework/HappyDNS. One of the two will be used. Which one is undefined.
objc[4802]: Class QNHijackingDetectWrapper is implemented in both .../Frameworks/PLPlayerKit.framework/PLPlayerKit and .../Frameworks/HappyDNS.framework/HappyDNS. One of the two will be used. Which one is undefined.
objc[4802]: Class QNHostsValue is implemented in both .../Frameworks/PLPlayerKit.framework/PLPlayerKit and .../Frameworks/HappyDNS.framework/HappyDNS. One of the two will be used. Which one is undefined.
objc[4802]: Class QNHosts is implemented in both .../Frameworks/PLPlayerKit.framework/PLPlayerKit and .../Frameworks/HappyDNS.framework/HappyDNS. One of the two will be used. Which one is undefined.
objc[4802]: Class QNIP is implemented in both .../Frameworks/PLPlayerKit.framework/PLPlayerKit and .../Frameworks/HappyDNS.framework/HappyDNS. One of the two will be used. Which one is undefined.
objc[4802]: Class QNIpModel is implemented in both .../Frameworks/PLPlayerKit.framework/PLPlayerKit and .../Frameworks/HappyDNS.framework/HappyDNS. One of the two will be used. Which one is undefined.
objc[4802]: Class _QNElement is implemented in both .../Frameworks/PLPlayerKit.framework/PLPlayerKit and .../Frameworks/HappyDNS.framework/HappyDNS. One of the two will be used. Which one is undefined.
objc[4802]: Class QNLruCache is implemented in both .../Frameworks/PLPlayerKit.framework/PLPlayerKit and .../Frameworks/HappyDNS.framework/HappyDNS. One of the two will be used. Which one is undefined.
objc[4802]: Class QNNetworkInfo is implemented in both .../Frameworks/PLPlayerKit.framework/PLPlayerKit and .../Frameworks/HappyDNS.framework/HappyDNS. One of the two will be used. Which one is undefined.
objc[4802]: Class QNRecord is implemented in both .../Frameworks/PLPlayerKit.framework/PLPlayerKit and .../Frameworks/HappyDNS.framework/HappyDNS. One of the two will be used. Which one is undefined.
objc[4802]: Class QNRefresher is implemented in both .../Frameworks/PLPlayerKit.framework/PLPlayerKit and .../Frameworks/HappyDNS.framework/HappyDNS. One of the two will be used. Which one is undefined.
objc[4802]: Class QNResolver is implemented in both .../Frameworks/PLPlayerKit.framework/PLPlayerKit and .../Frameworks/HappyDNS.framework/HappyDNS. One of the two will be used. Which one is undefined.
objc[4802]: Class QNTxtResolver is implemented in both .../Frameworks/PLPlayerKit.framework/PLPlayerKit and .../Frameworks/HappyDNS.framework/HappyDNS. One of the two will be used. Which one is undefined.
建议你这个问题可以去七牛提一个工单让他们帮你看看;
https://support.qiniu.com/?re...