我现在有这个恼人的错误:
我尝试过:删除pods文件夹、pod文件、pod.lock文件和.workspace文件,然后重新安装pod。删除pods.xconfig文件中的所有库搜索路径
这是我的pod文件:
# Uncomment the next line to define a global platform for your project
platform :ios, '11.0'
target 'MyApp' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
# Pods for MyApp
pod 'Firebase'
pod 'Bolts'
pod 'Firebase/Firestore'
pod 'Google-Mobile-Ads-SDK'
pod 'Fabric'
pod 'Crashlytics'
pod 'PersonalizedAdConsent'
pod 'Highcharts', '~> 6.1.0'
pod 'FBSDKCoreKit'
pod 'GoogleToolboxForMac'
pod 'FirebaseAnalytics'
end
发布于 2018-08-21 14:32:10
尝试在终端中运行以下命令(在项目的文件夹中):
pod deintegrate // removes all pod related configurations from your project
rm Podfile.lock //removes the saved reference to the pods
pod install // reinstalls the pods
清理你的项目(在Xcode中:⌘+ K和⌘+ Shift+ K)
最后确保编译出现错误的同一目标(你应该能够在问题导航器中看到它来自navigator⌘+ 5)
https://stackoverflow.com/questions/-100006028
复制相似问题