这是我的podfile:
source 'https://github.com/CocoaPods/Specs.git' # Uncomment the next line to define a global platform for your project target 'raceQs' do platform :ios, '11.1' # Comment the next line if you're not using Swift and don't want to use dynamic frameworks use_frameworks! # Pods for raceQs pod 'AppCenter' pod 'Alamofire' end target 'raceQs WatchKit Extension' do platform :watchos, '4.1' # Comment the next line if you're not using Swift and don't want to use dynamic frameworks use_frameworks! # Pods for raceQs WatchKit Extension pod 'Alamofire' end
我正在打开我的项目的xcworkspace并收到编译错误:
Developer/Xcode/DerivedData/raceQs-cwycjawfwoosfubowtoymeizvfln/Build/Products/Debug-iphoneos/raceQs.app/Frameworks/Alamofire.framework' /Users/mac/Library/Developer/Xcode/DerivedData/raceQs-cwycjawfwoosfubowtoymeizvfln/Build/Products/Debug-iphoneos/raceQs.app/Frameworks/Alamofire.framework: bundle format unrecognized, invalid, or unsuitable
在我的Xcode项目导航器中,Frameworks / Pods_raceQs_WatchKit_Extension以红色显示。
非常感谢任何协助。