美文网首页
$(inherited) 当cocoapods中引入第三方fra

$(inherited) 当cocoapods中引入第三方fra

作者: 不适合推塔 | 来源:发表于2018-04-29 23:01 被阅读10次

cocoapod 中包含了 Framework 时可能会出现 找不到

在使用 涂鸦的SDK的时候发现 sdk是使用cocoapods 的方式引入

platform :ios, '8.0'

target 'your_target_name' do

   pod "TuyaSmartKit", :git => "https://github.com/TuyaInc/tuyasmart_ios_sdk.git"

end

但是我在项目中引入了此库还会报错,发现涂鸦的 pod 中是一个framework . 在pods引入framework 在单独一个demo中可以使用,但在我的项目中提示找不到对应的库。 需要在

other linker flags 加上 $(inherited)

相关文章

网友评论

      本文标题:$(inherited) 当cocoapods中引入第三方fra

      本文链接:https://www.haomeiwen.com/subject/iiialftx.html