Could not build Objective-C module 'Firebase' // FirebaseAnalytics.h not found

时间:2022-08-22 08:53:26

Fired up my Project this day, added the Analytics pod and now nothing seems to work anymore... Any ideas? Already delted DerivedData and stuff...

今天解雇了我的项目,添加了分析窗格,现在似乎没有任何工作......任何想法?已经删除DerivedData和东西......

1 个解决方案

#1


0  

Install FireBase properly via CocoaPods. Try the following steps (After pod init and pod install command, you should close the currently opened project and reopen your project with .xcworkspace)

通过CocoaPods正确安装FireBase。尝试以下步骤(在pod init和pod install命令之后,您应该关闭当前打开的项目并使用.xcworkspace重新打开项目)

Step 1 - Close Xcode

第1步 - 关闭Xcode

Step 2 - Clear your derived data. You can find your derived data in here

第2步 - 清除派生数据。您可以在此处找到您的派生数据

~/Library/Developer/Xcode/DerivedData Step 3 - Open your .xcworkspace

〜/ Library / Developer / Xcode / DerivedData步骤3 - 打开你的.xcworkspace

Step 4 - Clean your project (⌘+Shift+K)

第4步 - 清理项目(⌘+ Shift + K)

Step 5 - Build your project (⌘+B)

第5步 - 构建项目(⌘+ B)

Make sure your are opened .xcworkspace file

确保打开.xcworkspace文件

#1


0  

Install FireBase properly via CocoaPods. Try the following steps (After pod init and pod install command, you should close the currently opened project and reopen your project with .xcworkspace)

通过CocoaPods正确安装FireBase。尝试以下步骤(在pod init和pod install命令之后,您应该关闭当前打开的项目并使用.xcworkspace重新打开项目)

Step 1 - Close Xcode

第1步 - 关闭Xcode

Step 2 - Clear your derived data. You can find your derived data in here

第2步 - 清除派生数据。您可以在此处找到您的派生数据

~/Library/Developer/Xcode/DerivedData Step 3 - Open your .xcworkspace

〜/ Library / Developer / Xcode / DerivedData步骤3 - 打开你的.xcworkspace

Step 4 - Clean your project (⌘+Shift+K)

第4步 - 清理项目(⌘+ Shift + K)

Step 5 - Build your project (⌘+B)

第5步 - 构建项目(⌘+ B)

Make sure your are opened .xcworkspace file

确保打开.xcworkspace文件