diff --git a/RSKImageCropper.podspec b/RSKImageCropper.podspec index 283329e..2537bc9 100644 --- a/RSKImageCropper.podspec +++ b/RSKImageCropper.podspec @@ -7,7 +7,7 @@ Pod::Spec.new do |s| s.authors = { 'Ruslan Skorb' => 'ruslan.skorb@gmail.com' } s.source = { :git => 'https://github.com/ruslanskorb/RSKImageCropper.git', :tag => s.version.to_s } s.platform = :ios, '6.0' - s.module_map = 'RSKImageCropper/module.modulemap' + s.module_map = 'RSKImageCropper/RSKImageCropper.modulemap' s.source_files = 'RSKImageCropper/*.{h,m}' s.resources = 'RSKImageCropper/RSKImageCropperStrings.bundle' s.frameworks = 'QuartzCore', 'UIKit' diff --git a/RSKImageCropper.xcodeproj/project.pbxproj b/RSKImageCropper.xcodeproj/project.pbxproj index b99166f..75e0997 100755 --- a/RSKImageCropper.xcodeproj/project.pbxproj +++ b/RSKImageCropper.xcodeproj/project.pbxproj @@ -311,6 +311,7 @@ INFOPLIST_FILE = Framework/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "$(SRCROOT)/RSKImageCropper/RSKImageCropper.modulemap"; PRODUCT_BUNDLE_IDENTIFIER = "com.ruslanskorb.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = RSKImageCropper; SKIP_INSTALL = YES; @@ -328,6 +329,7 @@ INFOPLIST_FILE = Framework/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "$(SRCROOT)/RSKImageCropper/RSKImageCropper.modulemap"; PRODUCT_BUNDLE_IDENTIFIER = "com.ruslanskorb.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = RSKImageCropper; SKIP_INSTALL = YES; diff --git a/RSKImageCropper/module.modulemap b/RSKImageCropper/RSKImageCropper.modulemap similarity index 100% rename from RSKImageCropper/module.modulemap rename to RSKImageCropper/RSKImageCropper.modulemap