not found" With the release of iOS 8 and Xcode 6, you can now create dynamic iOS frames. It seems that App...">

"error: base Objective-C module <module> not found"

With the release of iOS 8 and Xcode 6, you can now create dynamic iOS frames. It seems that Apple still has not documented this topic, leaving developers to protect themselves from the deadly critical Xcode errors, especially the unpleasant ones:

"error: underlying Objective-C module <module> not found" 
+7
source share
2 answers

Apple does not promote the distribution of iOS frameworks starting with Xcode 6 (with reference to this SO post ):

Xcode 6 currently does not support the creation of Swift redistributable environments, and Apple will most likely not embed this functionality in Xcode until they benefit from it.

However, it is not impossible to build:

  • Go to the " Product" menu.
  • Click on Build For .
  • Select Test .

And, as always, destroying the Xcode DerivedData folder ( rm -rf ~/Library/Developer/Xcode/DerivedData ) usually solves any trivial problems that may arise.

+9
source

I was able to fix this problem. If you are importing a module that links any Objective-C framework, you need to import these Objective-C frameworks into your module. This should not increase the size of your package if you are not using a static library.

I have imported all the frameworks needed for Parse into one module "Module A". To import “Module A” into “Module B”, I had to add all the necessary analysis structures and “Module A” to my Linked Libraries for “Module B”.

+5
source

Source: https://habr.com/ru/post/975995/


All Articles