Okej, I'm fighting against this for several hours now, and I'm completetly out of ideas. I'm creating app that has Action Extension needed for getting currently watched website URL. I need to share some code between app and extension (mainly network API), so I need to share libs for it also (alamofire etc.).
Here is my CocoaPods
use_frameworks!
target 'xxxExtension' do
pod 'ObjectMapper', '~> 2.2'
pod 'SwiftyJSON'
pod 'Alamofire', '~> 4.0'
pod 'Nuke', '~> 4.0'
pod -
pod -
end
target 'yyyMain' do
pod 'ObjectMapper', '~> 2.2'
pod 'SwiftyJSON'
pod 'Alamofire', '~> 4.0'
pod 'Nuke', '~> 4.0'
pod -
pod -
pod -
pod -
pod -
pod -
target 'yyyMainTests' do
inherit! :search_paths
pod -
pod -
pod -
pod -
pod -
end
end
As you can see I use implicit abstract target for use_frameworks, I've tried to move pods that are share there, but that didn't changed much. Created abstract_target myself, same error.
error: /Users/abc/Library/Developer/Xcode/DerivedData/yyyMain-fuuyjxathhqlfdczxrtmfewlpcpe/Build/Products/Debug-iphoneos/xxxExtension.appex: No such file or directory
Any ideas what's going on?