Skip to content

Commit

Permalink
feat(podspec): Add defines modules to podspec for React Native support (
Browse files Browse the repository at this point in the history
#331)

* feat(podspec): Add defines modules to podspec for React Native support

* feat(podspec): Add defines modules to podspec for React Native support
  • Loading branch information
kelsonpw authored Mar 18, 2021
1 parent 242acc5 commit e7d1257
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Amplitude.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Pod::Spec.new do |s|
s.source = { :git => "https://github.com/amplitude/Amplitude-iOS.git", :tag => "v#{s.version}" }
s.requires_arc = true
s.library = 'sqlite3.0'

s.ios.deployment_target = '10.0'
s.ios.source_files = 'Sources/Amplitude/**/*.{h,m}'
s.ios.resources = 'Sources/Amplitude/**/*.{der}'
Expand All @@ -26,4 +26,6 @@ Pod::Spec.new do |s|
s.watchos.deployment_target = '3.0'
s.watchos.source_files = 'Sources/Amplitude/**/*.{h,m}'
s.watchos.resources = 'Sources/Amplitude/**/*.{der}'

s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
end

0 comments on commit e7d1257

Please sign in to comment.