iOS : Could not build module <framework-name> iOS : Could not build module <framework-name> objective-c objective-c

iOS : Could not build module <framework-name>


you can try delete DerivedData dir.

where is DerivedData?(xcode 8)

go to File > workspace Settings, you'll see DerivedData path.

DerivedData path in xcode 8

enter image description hereenter image description here


Check whether the framework you are integrating is supporting your project architecture.

To see the framework supported architecture, use Terminal and navigate to Framework folder.

use, "lipo -info myFramework.framework/MyFramework"

And, if you want to use the framework files in your project, check whether the files are available in Framework/Headers Folder.

Getting this error :

Screenshot

Try, "file myFramework.framework/MyFramework" in Terminal


I think you does not need to compile CommonLibrary.framework again. So you can try to remove it from Embedded Binaries list. And make sure the path of CommonLibrary.framework is in your Framework Search Paths.