sam*_*ray 3 xcode objective-c ios cocoapods
我已经有好几天这个烦人的错误了:
我试过:删除 pods 文件夹 & pod 文件 & pod.lock 文件 & .workspace 文件并再次重新安装 pods。删除 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
Run Code Online (Sandbox Code Playgroud)
这是我的问题,如果您需要有关我的问题的任何其他指示或代码,请随时给我留言,我会编辑问题
尝试在终端(在您的项目文件夹中)运行以下命令:
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
Run Code Online (Sandbox Code Playgroud)
清理你的项目(在 Xcode 中:?+K和?+ Shift+ K)
最后确保您编译了错误源自的同一目标(您应该能够在问题导航器?+ 中看到它源自的目标5)
| 归档时间: |
|
| 查看次数: |
1278 次 |
| 最近记录: |