Xcode Unit Testing with Cocoapods

前端 未结 14 1133
有刺的猬
有刺的猬 2020-12-07 11:52

I\'ve been banging my head against a wall with this for the last few days but despite multiple Google/SO/Github searches I can\'t find a resolution to the issues I\'m having

14条回答
  •  温柔的废话
    2020-12-07 12:15

    Missing required module Firebase NO CocoaPods solution

    For those who encounter the same problem but NOT using CocoaPods:

    If you're using Firebase, than you have some folder containing Firebase.h and module.modulemap file. For example - YOUR_PROJECT_DIR/Linking

    If your Main project target is working correct way, than you should go to ProjectSettings -> Targets. Select test target. Search for User headers and add the path to YOUR_PROJECT_DIR/Linking. Select recursive option and you should be good to go.

    See the screenshot for more details:

提交回复
热议问题