Reputation: 81
I had manually added Alamofire, realm and swiftjson framework in my swift project. At that time my project was working properly.
Now I created a Podfile in my project directory and added the following pods
pod 'Alamofire'
pod 'RealmSwift’
pod 'SwiftyJSON'
It is successfully installed. I opened .xcworkspace and tried to import the framework. But is showing error message "No such module Realmswift", "No such module Alamofire", "No such module SwiftyJson".
Framework 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 resolve this problem?
Upvotes: 1
Views: 1845
Reputation: 822
Set Build Active Architectures Only
to No
in Pods subproject also. It works for me!
Upvotes: 1