私は自分のプロジェクトでレルムを統合するのに苦労します。 実際、私は公式のドキュメンテーションのガイドラインに従っていますが、それは私を助けません。レルムのインストールXCode 8.1
私はRealmSwiftをインポートしようとしていますが、「いいえそのようなモジュール」があります。
import RealmSwift
フレームワークRealm.frameworkは赤です。
は、ここに私のPodfile
# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'
target 'RealmTest' do
# Comment this line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for RealmTest
pod 'RealmSwift'
target 'RealmTestTests' do
inherit! :search_paths
# Pods for testing
end
target 'RealmTestUITests' do
inherit! :search_paths
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '2.3' # or '3.0'
# Pods for testing
end
end
end
end
' 'target 'RealmTest' do'部分からPodfileの' post_install'部分を削除し、端末から 'pod install'を再度実行しますか? – AustinZ
@AustinZは助けなかった –
あなたのプロイエクトを構築して実行できますか?それが問題を解決するかもしれない。最初にプロジェクトをコンパイルすると、正しくインストールされていてもこのエラーが発生します。 – Orlando