3

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

mm24
  • 9,280
  • 12
  • 75
  • 170

2 Answers2

2

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.
Lukas Spieß
  • 2,478
  • 2
  • 19
  • 24
0

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

Suneet Tipirneni
  • 839
  • 1
  • 12
  • 17