Error "There is no such module" when installing a framework with a container in swift 3

In my quick project, I manually added the structure of Alamofire, realm and swiftjson. At that time, my project worked fine.

Now I created a Podfile in the project directory and added the following files

pod 'Alamofire' pod 'RealmSwift' pod 'SwiftyJSON' 

It has been successfully installed. I opened .xcworkspace and tried to import the framework. But the error message "There is no such module Realmswift", "There is no such module Alamofire", "There is no such module SwiftyJson."

The wireframe search paths are as follows:

 $(inherited) $(PROJECT_DIR)/app_name/Frameworks $(PROJECT_DIR) 

Even "Build Active Architecture Only" is set to NO.
How can I solve this problem?

0
source share
2 answers

Did you run pod install in the project directory?

0
source

Set Build Active Architectures Only to No in the Pods subproject. It works for me!

0
source

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


All Articles