ターミナルでcocoapodsを入れ追加されたPodfile内を以下のように編集、インストールしました。
# Uncomment the next line to define a global platform for your project # platform :ios, '9.0' target 'ToDo' do # Comment the next line if you're not using Swift and don't want to use dynamic frameworks use_frameworks! # Pods for ToDo pod 'RealmSwift' end post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['SWIFT_VERSION'] = "3.0" end end end
その後ToDo.xcworkspaceからXcodeを開いてAppDelegate、ViewControllerのそれぞれで
swift
1import RealmSwift
を入力してみたのですが、どちらにも以下のようなエラーが出てしまいます
No such module 'RealmSwift'
このエラーの解決策がわかる方、教えてください。返信お待ちしております。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/11/25 17:20