CocoaPodsでRealmswiftをインストールしようとしたのですが、
[!] The following Swift pods cannot yet be integrated as static libraries:
The Swift pod RealmSwift depends upon Realm, which do not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may set use_modular_headers! globally in your Podfile, or specify :modular_headers => true for particular dependencies.
と出てしまい、インストールできません。
自分でも調べて見たのですが,解決できませんでした。
関係ないとは思いますが、podのupdateもしてみましたがダメでした
DKImagePickerControllerはもともと使っていたやつです
よろしくお願いします
podfile
1# Uncomment the next line to define a global platform for your project 2# platform :ios, '9.0' 3 4target 'PhotoManager' do 5 # Comment the next line if you're not using Swift and don't want to use dynamic frameworks 6 7 # Pods for PhotoManager 8 pod 'DKImagePickerController' 9 10 pod 'RealmSwift' 11 12 target 'PhotoManagerTests' do 13 inherit! :search_paths 14 # Pods for testing 15 end 16 17 target 'PhotoManagerUITests' do 18 inherit! :search_paths 19 # Pods for testing 20 end 21 22end 23
回答1件
あなたの回答
tips
プレビュー