iOS App compiles but XCode 8.1 beta gives error message saying "Module 'HockeySDK' not found"

494 views Asked by At

My iOS App compiles but XCode gives error message saying "Module 'HockeySDK' not found".

I added HockeySDK both using cocoapods.

Unfortunately when I build and run the app runs but XCode gives me the error mentioned above. It looks like this:

enter image description here

This is my Pods folder structure:

enter image description here

What's going wrong?

For reference I am using XCode 8.1 beta.

Edit: I have updated to XCode 8.2.1 release version but still gives the same error.

Edit 2: The embedded framework sections shows the Pods libraries (from my understanding this should suffice):

enter image description here

2

There are 2 answers

3
Suneet Tipirneni On

This type of error usually occurs because the framework has not been manually added to the "Embedded Frameworks" section in the General Project settings.

0
Lukas Spieß On

This is likely a temporary hiccup because of a problem with a certain version of CocoaPods and some version of Xcode. I would suggest to try to:

  1. Update CocoaPods to the latest version.
  2. Completely remove the integrated Pods by running pod deintegrate and/or manually deleting the entire Pods folder.
  3. Run pod install again to do a fresh integration of all your Pods.