I trying to use RealmSwift using cocoapods but I getting No Such Module "RealmSwift" error.
The pod install was successful and installed Realm 2.2.0
I already tried clean build and build folder and derived data I also created a dummy project and did a clean install, it still doesn't work. When I just try importing RealSwift and build, the build succeeds but after that, the error comes back.
This is my Podfile
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'RealmDummyProject' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for RealmDummyProject
pod 'RealmSwift'
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '3.0' # or '3.0'
end
end
end
end
I am using Xcode version 8.1 (8B62) with Swift 3.0 Thanks!