From eef12b76fbdf7ac3b5c106d420f0c347a5bd3855 Mon Sep 17 00:00:00 2001 From: John McKerrell Date: Mon, 3 Sep 2018 13:58:56 +0100 Subject: [PATCH 1/2] Add fixed module_name so that it matches between CocoaPods and Carthage --- libPhoneNumber-iOS.podspec | 1 + 1 file changed, 1 insertion(+) diff --git a/libPhoneNumber-iOS.podspec b/libPhoneNumber-iOS.podspec index 1009b0b2..86f4b347 100755 --- a/libPhoneNumber-iOS.podspec +++ b/libPhoneNumber-iOS.podspec @@ -11,6 +11,7 @@ DESC s.authors = { "iziz" => "zen.isis@gmail.com", "hyukhur" => "hyukhur@gmail.com" } s.source = { :git => "https://github.com/iziz/libPhoneNumber-iOS.git", :tag => s.version.to_s } s.libraries = 'z' + s.module_name = "libPhoneNumberiOS" s.ios.framework = 'CoreTelephony' s.ios.deployment_target = "6.0" s.osx.deployment_target = "10.9" From cf941c18e4c6ebf746cc35ce726ae71476f59c42 Mon Sep 17 00:00:00 2001 From: John McKerrell Date: Mon, 3 Sep 2018 15:32:18 +0100 Subject: [PATCH 2/2] Fix podspec source files. --- libPhoneNumber-iOS.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libPhoneNumber-iOS.podspec b/libPhoneNumber-iOS.podspec index 86f4b347..13a3763b 100755 --- a/libPhoneNumber-iOS.podspec +++ b/libPhoneNumber-iOS.podspec @@ -19,5 +19,5 @@ DESC s.tvos.deployment_target = "9.0" s.requires_arc = true s.private_header_files = 'libPhoneNumber/NBGeneratedPhoneNumberMetaData.h' - s.source_files = 'libPhoneNumber/NBPhoneNumberDefines.{h,m}', 'libPhoneNumber/NBPhoneNumber.{h,m}', 'libPhoneNumber/NBNumberFormat.{h,m}', 'libPhoneNumber/NBPhoneNumberDesc.{h,m}', 'libPhoneNumber/NBPhoneMetaData.{h,m}', 'libPhoneNumber/NBPhoneNumberUtil.{h,m}', 'libPhoneNumber/NBMetadataHelper.{h,m}', 'libPhoneNumber/NBAsYouTypeFormatter.{h,m}', 'libPhoneNumber/NSArray+NBAdditions.{h,m}', 'libPhoneNumber/NBGeneratedPhoneNumberMetaData.h', 'libPhoneNumber/NBRegExMatcher.{h,m}' + s.source_files = 'libPhoneNumber/NBPhoneNumberDefines.{h,m}', 'libPhoneNumber/NBPhoneNumber.{h,m}', 'libPhoneNumber/NBNumberFormat.{h,m}', 'libPhoneNumber/NBPhoneNumberDesc.{h,m}', 'libPhoneNumber/NBPhoneMetaData.{h,m}', 'libPhoneNumber/NBPhoneNumberUtil.{h,m}', 'libPhoneNumber/NBMetadataHelper.{h,m}', 'libPhoneNumber/NBAsYouTypeFormatter.{h,m}', 'libPhoneNumber/NSArray+NBAdditions.{h,m}', 'libPhoneNumber/NBGeneratedPhoneNumberMetaData.h', 'libPhoneNumber/Internal/NBRegExMatcher.{h,m}', 'libPhoneNumber/Internal/NBRegularExpressionCache.{h,m}' end