我想在主应用程序及其扩展程序中使用一些库。我试过这个podfile
platform :ios, '10.2'
use_frameworks!
target 'myApp' do
target 'myAppShareExtension' do
pod 'SVProgressHUD', :git => 'https://github.com/SVProgressHUD/SVProgressHUD.git'
pod 'Alamofire', '~> 4.0'
pod 'FileKit', '~> 4.0.1'
end
end
但是我Targets Support Files
的名字Pods-myApp-myAppShareExtension
应该是Pods-myAppShareExtension
这样,这让我认为问题来自于 podfile。
谢谢。