Skip to content

Commit

Permalink
feat: support more iOS source language extensions (#410)
Browse files Browse the repository at this point in the history
* support more source languages on iOS in podspec
  (`cc`, `cpp`, `mm`)
* update test snapshots
  • Loading branch information
brodycj authored Feb 18, 2021
1 parent ee94f2f commit e433631
Show file tree
Hide file tree
Showing 24 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion templates/ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Pod::Spec.new do |s|
s.platforms = { :ios => "9.0"${tvosEnabled ? `, :tvos => "10.0"` : ``} }
s.source = { :git => "https://github.com/${githubAccount}/${moduleName}.git", :tag => "#{s.version}" }
s.source_files = "ios/**/*.{h,c,m,swift}"
s.source_files = "ios/**/*.{h,c,cc,cpp,m,mm,swift}"
s.requires_arc = true
s.dependency "React"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ Pod::Spec.new do |s|
s.platforms = { :ios => \\"9.0\\" }
s.source = { :git => \\"https://github.com/github_account/react-native-integration-view-test-package.git\\", :tag => \\"#{s.version}\\" }
s.source_files = \\"ios/**/*.{h,c,m,swift}\\"
s.source_files = \\"ios/**/*.{h,c,cc,cpp,m,mm,swift}\\"
s.requires_arc = true
s.dependency \\"React\\"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ Pod::Spec.new do |s|
s.platforms = { :ios => \\"9.0\\" }
s.source = { :git => \\"https://github.com/github_account/react-native-integration-test-package.git\\", :tag => \\"#{s.version}\\" }
s.source_files = \\"ios/**/*.{h,c,m,swift}\\"
s.source_files = \\"ios/**/*.{h,c,cc,cpp,m,mm,swift}\\"
s.requires_arc = true
s.dependency \\"React\\"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ Pod::Spec.new do |s|
s.platforms = { :ios => \\"9.0\\" }
s.source = { :git => \\"https://github.com/github_account/react-native-alice-bobbi.git\\", :tag => \\"#{s.version}\\" }
s.source_files = \\"ios/**/*.{h,c,m,swift}\\"
s.source_files = \\"ios/**/*.{h,c,cc,cpp,m,mm,swift}\\"
s.requires_arc = true
s.dependency \\"React\\"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ Pod::Spec.new do |s|
s.platforms = { :ios => \\"9.0\\" }
s.source = { :git => \\"https://github.com/github_account/react-native-alice-bobbi.git\\", :tag => \\"#{s.version}\\" }
s.source_files = \\"ios/**/*.{h,c,m,swift}\\"
s.source_files = \\"ios/**/*.{h,c,cc,cpp,m,mm,swift}\\"
s.requires_arc = true
s.dependency \\"React\\"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ Pod::Spec.new do |s|
s.platforms = { :ios => \\"9.0\\", :tvos => \\"10.0\\" }
s.source = { :git => \\"https://github.com/alicebits/react-native-alice-bobbi.git\\", :tag => \\"#{s.version}\\" }
s.source_files = \\"ios/**/*.{h,c,m,swift}\\"
s.source_files = \\"ios/**/*.{h,c,cc,cpp,m,mm,swift}\\"
s.requires_arc = true
s.dependency \\"React\\"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ Pod::Spec.new do |s|
s.platforms = { :ios => \\"9.0\\", :tvos => \\"10.0\\" }
s.source = { :git => \\"https://github.com/alicebits/react-native-alice-bobbi.git\\", :tag => \\"#{s.version}\\" }
s.source_files = \\"ios/**/*.{h,c,m,swift}\\"
s.source_files = \\"ios/**/*.{h,c,cc,cpp,m,mm,swift}\\"
s.requires_arc = true
s.dependency \\"React\\"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ Pod::Spec.new do |s|
s.platforms = { :ios => \\"9.0\\" }
s.source = { :git => \\"https://github.com/github_account/react-native-alice-bobbi.git\\", :tag => \\"#{s.version}\\" }
s.source_files = \\"ios/**/*.{h,c,m,swift}\\"
s.source_files = \\"ios/**/*.{h,c,cc,cpp,m,mm,swift}\\"
s.requires_arc = true
s.dependency \\"React\\"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ Pod::Spec.new do |s|
s.platforms = { :ios => \\"9.0\\" }
s.source = { :git => \\"https://github.com/github_account/react-native-alice-bobbi.git\\", :tag => \\"#{s.version}\\" }
s.source_files = \\"ios/**/*.{h,c,m,swift}\\"
s.source_files = \\"ios/**/*.{h,c,cc,cpp,m,mm,swift}\\"
s.requires_arc = true
s.dependency \\"React\\"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ Pod::Spec.new do |s|
s.platforms = { :ios => \\"9.0\\" }
s.source = { :git => \\"https://github.com/github_account/react-native-alice-bobbi.git\\", :tag => \\"#{s.version}\\" }
s.source_files = \\"ios/**/*.{h,c,m,swift}\\"
s.source_files = \\"ios/**/*.{h,c,cc,cpp,m,mm,swift}\\"
s.requires_arc = true
s.dependency \\"React\\"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ Pod::Spec.new do |s|
s.platforms = { :ios => \\"9.0\\" }
s.source = { :git => \\"https://github.com/github_account/react-native-alice-bobbi.git\\", :tag => \\"#{s.version}\\" }
s.source_files = \\"ios/**/*.{h,c,m,swift}\\"
s.source_files = \\"ios/**/*.{h,c,cc,cpp,m,mm,swift}\\"
s.requires_arc = true
s.dependency \\"React\\"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ Pod::Spec.new do |s|
s.platforms = { :ios => \\"9.0\\", :tvos => \\"10.0\\" }
s.source = { :git => \\"https://github.com/alicebits/react-native-alice-bobbi.git\\", :tag => \\"#{s.version}\\" }
s.source_files = \\"ios/**/*.{h,c,m,swift}\\"
s.source_files = \\"ios/**/*.{h,c,cc,cpp,m,mm,swift}\\"
s.requires_arc = true
s.dependency \\"React\\"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ Pod::Spec.new do |s|
s.platforms = { :ios => \\"9.0\\" }
s.source = { :git => \\"https://github.com/github_account/react-native-alice-bobbi.git\\", :tag => \\"#{s.version}\\" }
s.source_files = \\"ios/**/*.{h,c,m,swift}\\"
s.source_files = \\"ios/**/*.{h,c,cc,cpp,m,mm,swift}\\"
s.requires_arc = true
s.dependency \\"React\\"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ Pod::Spec.new do |s|
s.platforms = { :ios => \\"9.0\\", :tvos => \\"10.0\\" }
s.source = { :git => \\"https://github.com/alicebits/react-native-alice-bobbi.git\\", :tag => \\"#{s.version}\\" }
s.source_files = \\"ios/**/*.{h,c,m,swift}\\"
s.source_files = \\"ios/**/*.{h,c,cc,cpp,m,mm,swift}\\"
s.requires_arc = true
s.dependency \\"React\\"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ Pod::Spec.new do |s|
s.platforms = { :ios => \\"9.0\\", :tvos => \\"10.0\\" }
s.source = { :git => \\"https://github.com/alicebits/react-native-alice-bobbi.git\\", :tag => \\"#{s.version}\\" }
s.source_files = \\"ios/**/*.{h,c,m,swift}\\"
s.source_files = \\"ios/**/*.{h,c,cc,cpp,m,mm,swift}\\"
s.requires_arc = true
s.dependency \\"React\\"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ Pod::Spec.new do |s|
s.platforms = { :ios => \\"9.0\\", :tvos => \\"10.0\\" }
s.source = { :git => \\"https://github.com/alicebits/react-native-alice-bobbi.git\\", :tag => \\"#{s.version}\\" }
s.source_files = \\"ios/**/*.{h,c,m,swift}\\"
s.source_files = \\"ios/**/*.{h,c,cc,cpp,m,mm,swift}\\"
s.requires_arc = true
s.dependency \\"React\\"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ Pod::Spec.new do |s|
s.platforms = { :ios => \\"9.0\\" }
s.source = { :git => \\"https://github.com/github_account/custom-native-alice-bobbi.git\\", :tag => \\"#{s.version}\\" }
s.source_files = \\"ios/**/*.{h,c,m,swift}\\"
s.source_files = \\"ios/**/*.{h,c,cc,cpp,m,mm,swift}\\"
s.requires_arc = true
s.dependency \\"React\\"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ Pod::Spec.new do |s|
s.platforms = { :ios => \\"9.0\\" }
s.source = { :git => \\"https://github.com/github_account/custom-native-module.git\\", :tag => \\"#{s.version}\\" }
s.source_files = \\"ios/**/*.{h,c,m,swift}\\"
s.source_files = \\"ios/**/*.{h,c,cc,cpp,m,mm,swift}\\"
s.requires_arc = true
s.dependency \\"React\\"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ Pod::Spec.new do |s|
s.platforms = { :ios => \\"9.0\\", :tvos => \\"10.0\\" }
s.source = { :git => \\"https://github.com/alicebits/react-native-alice-bobbi.git\\", :tag => \\"#{s.version}\\" }
s.source_files = \\"ios/**/*.{h,c,m,swift}\\"
s.source_files = \\"ios/**/*.{h,c,cc,cpp,m,mm,swift}\\"
s.requires_arc = true
s.dependency \\"React\\"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ Pod::Spec.new do |s|
s.platforms = { :ios => \\"9.0\\" }
s.source = { :git => \\"https://github.com/github_account/react-native-test-package.git\\", :tag => \\"#{s.version}\\" }
s.source_files = \\"ios/**/*.{h,c,m,swift}\\"
s.source_files = \\"ios/**/*.{h,c,cc,cpp,m,mm,swift}\\"
s.requires_arc = true
s.dependency \\"React\\"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ Pod::Spec.new do |s|
s.platforms = { :ios => \\"9.0\\" }
s.source = { :git => \\"https://github.com/github_account/react-native-alice-bobbi.git\\", :tag => \\"#{s.version}\\" }
s.source_files = \\"ios/**/*.{h,c,m,swift}\\"
s.source_files = \\"ios/**/*.{h,c,cc,cpp,m,mm,swift}\\"
s.requires_arc = true
s.dependency \\"React\\"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ Pod::Spec.new do |s|
s.platforms = { :ios => \\"9.0\\" }
s.source = { :git => \\"https://github.com/github_account/react-native-alice-bobbi.git\\", :tag => \\"#{s.version}\\" }
s.source_files = \\"ios/**/*.{h,c,m,swift}\\"
s.source_files = \\"ios/**/*.{h,c,cc,cpp,m,mm,swift}\\"
s.requires_arc = true
s.dependency \\"React\\"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ Pod::Spec.new do |s|
s.platforms = { :ios => \\"9.0\\" }
s.source = { :git => \\"https://github.com/github_account/react-native-alice-bobbi.git\\", :tag => \\"#{s.version}\\" }
s.source_files = \\"ios/**/*.{h,c,m,swift}\\"
s.source_files = \\"ios/**/*.{h,c,cc,cpp,m,mm,swift}\\"
s.requires_arc = true
s.dependency \\"React\\"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ Pod::Spec.new do |s|
s.platforms = { :ios => \\"9.0\\", :tvos => \\"10.0\\" }
s.source = { :git => \\"https://github.com/alicebits/react-native-alice-bobbi.git\\", :tag => \\"#{s.version}\\" }
s.source_files = \\"ios/**/*.{h,c,m,swift}\\"
s.source_files = \\"ios/**/*.{h,c,cc,cpp,m,mm,swift}\\"
s.requires_arc = true
s.dependency \\"React\\"
Expand Down

0 comments on commit e433631

Please sign in to comment.