From e433631f6222e0392bfc69c9c84da9ea4dbb12c7 Mon Sep 17 00:00:00 2001 From: Chris Brody Date: Wed, 17 Feb 2021 21:58:49 -0500 Subject: [PATCH] feat: support more iOS source language extensions (#410) * support more source languages on iOS in podspec (`cc`, `cpp`, `mm`) * update test snapshots --- templates/ios.js | 2 +- .../create/view/__snapshots__/cli-create-with-view.test.js.snap | 2 +- .../__snapshots__/cli-create-with-defaults.test.js.snap | 2 +- .../__snapshots__/create-view-with-defaults.test.js.snap | 2 +- .../create-view-with-example-with-defaults.test.js.snap | 2 +- .../create-view-with-example-with-options.test.js.snap | 2 +- .../__snapshots__/create-view-with-options-for-ios.test.js.snap | 2 +- .../__snapshots__/create-with-defaults.test.js.snap | 2 +- .../create-with-example-with-defaults.test.js.snap | 2 +- .../recover-from-missing-package-scripts.test.js.snap | 2 +- .../create-with-example-with-null-prefix.test.js.snap | 2 +- .../__snapshots__/create-with-example-with-options.test.js.snap | 2 +- .../__snapshots__/create-with-name-in-camel-case.test.js.snap | 2 +- .../__snapshots__/create-with-options-for-ios.test.js.snap | 2 +- .../platforms-array/__snapshots__/platforms-array.test.js.snap | 2 +- .../__snapshots__/platforms-comma-separated.test.js.snap | 2 +- .../__snapshots__/create-with-custom-module-prefix.test.js.snap | 2 +- .../__snapshots__/create-with-module-name.test.js.snap | 2 +- .../__snapshots__/cli-command-func-with-options.test.js.snap | 2 +- .../cli-program-with-example-with-logging.test.js.snap | 2 +- .../create-with-example-with-defaults.test.js.snap | 2 +- .../__snapshots__/with-yarn-error-logging.test.js.snap | 2 +- .../__snapshots__/create-with-example-with-options.test.js.snap | 2 +- .../__snapshots__/create-with-example-with-options.test.js.snap | 2 +- 24 files changed, 24 insertions(+), 24 deletions(-) diff --git a/templates/ios.js b/templates/ios.js index 2719bb65..641b7249 100644 --- a/templates/ios.js +++ b/templates/ios.js @@ -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" diff --git a/tests/integration/cli/create/view/__snapshots__/cli-create-with-view.test.js.snap b/tests/integration/cli/create/view/__snapshots__/cli-create-with-view.test.js.snap index 31ebf6a1..959e5d35 100644 --- a/tests/integration/cli/create/view/__snapshots__/cli-create-with-view.test.js.snap +++ b/tests/integration/cli/create/view/__snapshots__/cli-create-with-view.test.js.snap @@ -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\\" diff --git a/tests/integration/cli/create/with-defaults/__snapshots__/cli-create-with-defaults.test.js.snap b/tests/integration/cli/create/with-defaults/__snapshots__/cli-create-with-defaults.test.js.snap index 5fb6f720..45aad780 100644 --- a/tests/integration/cli/create/with-defaults/__snapshots__/cli-create-with-defaults.test.js.snap +++ b/tests/integration/cli/create/with-defaults/__snapshots__/cli-create-with-defaults.test.js.snap @@ -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\\" diff --git a/tests/with-injection/create/view/with-defaults/__snapshots__/create-view-with-defaults.test.js.snap b/tests/with-injection/create/view/with-defaults/__snapshots__/create-view-with-defaults.test.js.snap index 6f8e5175..21e03644 100644 --- a/tests/with-injection/create/view/with-defaults/__snapshots__/create-view-with-defaults.test.js.snap +++ b/tests/with-injection/create/view/with-defaults/__snapshots__/create-view-with-defaults.test.js.snap @@ -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\\" diff --git a/tests/with-injection/create/view/with-example/with-defaults/__snapshots__/create-view-with-example-with-defaults.test.js.snap b/tests/with-injection/create/view/with-example/with-defaults/__snapshots__/create-view-with-example-with-defaults.test.js.snap index bc87a38b..1016decc 100644 --- a/tests/with-injection/create/view/with-example/with-defaults/__snapshots__/create-view-with-example-with-defaults.test.js.snap +++ b/tests/with-injection/create/view/with-example/with-defaults/__snapshots__/create-view-with-example-with-defaults.test.js.snap @@ -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\\" diff --git a/tests/with-injection/create/view/with-example/with-options/__snapshots__/create-view-with-example-with-options.test.js.snap b/tests/with-injection/create/view/with-example/with-options/__snapshots__/create-view-with-example-with-options.test.js.snap index c62a2ebb..70caf3e2 100644 --- a/tests/with-injection/create/view/with-example/with-options/__snapshots__/create-view-with-example-with-options.test.js.snap +++ b/tests/with-injection/create/view/with-example/with-options/__snapshots__/create-view-with-example-with-options.test.js.snap @@ -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\\" diff --git a/tests/with-injection/create/view/with-options/for-ios/__snapshots__/create-view-with-options-for-ios.test.js.snap b/tests/with-injection/create/view/with-options/for-ios/__snapshots__/create-view-with-options-for-ios.test.js.snap index 44329beb..a13fc724 100644 --- a/tests/with-injection/create/view/with-options/for-ios/__snapshots__/create-view-with-options-for-ios.test.js.snap +++ b/tests/with-injection/create/view/with-options/for-ios/__snapshots__/create-view-with-options-for-ios.test.js.snap @@ -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\\" diff --git a/tests/with-injection/create/with-defaults/__snapshots__/create-with-defaults.test.js.snap b/tests/with-injection/create/with-defaults/__snapshots__/create-with-defaults.test.js.snap index 072d59fa..3ac692ab 100644 --- a/tests/with-injection/create/with-defaults/__snapshots__/create-with-defaults.test.js.snap +++ b/tests/with-injection/create/with-defaults/__snapshots__/create-with-defaults.test.js.snap @@ -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\\" diff --git a/tests/with-injection/create/with-example/with-defaults/__snapshots__/create-with-example-with-defaults.test.js.snap b/tests/with-injection/create/with-example/with-defaults/__snapshots__/create-with-example-with-defaults.test.js.snap index 548ff6c1..3c143e66 100644 --- a/tests/with-injection/create/with-example/with-defaults/__snapshots__/create-with-example-with-defaults.test.js.snap +++ b/tests/with-injection/create/with-example/with-defaults/__snapshots__/create-with-example-with-defaults.test.js.snap @@ -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\\" diff --git a/tests/with-injection/create/with-example/with-missing-package-scripts/__snapshots__/recover-from-missing-package-scripts.test.js.snap b/tests/with-injection/create/with-example/with-missing-package-scripts/__snapshots__/recover-from-missing-package-scripts.test.js.snap index 891b3c9d..a896ea35 100644 --- a/tests/with-injection/create/with-example/with-missing-package-scripts/__snapshots__/recover-from-missing-package-scripts.test.js.snap +++ b/tests/with-injection/create/with-example/with-missing-package-scripts/__snapshots__/recover-from-missing-package-scripts.test.js.snap @@ -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\\" diff --git a/tests/with-injection/create/with-example/with-null-options/with-null-prefix/__snapshots__/create-with-example-with-null-prefix.test.js.snap b/tests/with-injection/create/with-example/with-null-options/with-null-prefix/__snapshots__/create-with-example-with-null-prefix.test.js.snap index a3eddcbd..d59b1f19 100644 --- a/tests/with-injection/create/with-example/with-null-options/with-null-prefix/__snapshots__/create-with-example-with-null-prefix.test.js.snap +++ b/tests/with-injection/create/with-example/with-null-options/with-null-prefix/__snapshots__/create-with-example-with-null-prefix.test.js.snap @@ -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\\" diff --git a/tests/with-injection/create/with-example/with-options/__snapshots__/create-with-example-with-options.test.js.snap b/tests/with-injection/create/with-example/with-options/__snapshots__/create-with-example-with-options.test.js.snap index ffaf3d06..c3a62003 100644 --- a/tests/with-injection/create/with-example/with-options/__snapshots__/create-with-example-with-options.test.js.snap +++ b/tests/with-injection/create/with-example/with-options/__snapshots__/create-with-example-with-options.test.js.snap @@ -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\\" diff --git a/tests/with-injection/create/with-name-in-camel-case/__snapshots__/create-with-name-in-camel-case.test.js.snap b/tests/with-injection/create/with-name-in-camel-case/__snapshots__/create-with-name-in-camel-case.test.js.snap index ed714e3c..b194f92d 100644 --- a/tests/with-injection/create/with-name-in-camel-case/__snapshots__/create-with-name-in-camel-case.test.js.snap +++ b/tests/with-injection/create/with-name-in-camel-case/__snapshots__/create-with-name-in-camel-case.test.js.snap @@ -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\\" diff --git a/tests/with-injection/create/with-options/for-ios/__snapshots__/create-with-options-for-ios.test.js.snap b/tests/with-injection/create/with-options/for-ios/__snapshots__/create-with-options-for-ios.test.js.snap index 8263c921..11894628 100644 --- a/tests/with-injection/create/with-options/for-ios/__snapshots__/create-with-options-for-ios.test.js.snap +++ b/tests/with-injection/create/with-options/for-ios/__snapshots__/create-with-options-for-ios.test.js.snap @@ -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\\" diff --git a/tests/with-injection/create/with-options/platforms-array/__snapshots__/platforms-array.test.js.snap b/tests/with-injection/create/with-options/platforms-array/__snapshots__/platforms-array.test.js.snap index ddb98d0f..894a7fe4 100644 --- a/tests/with-injection/create/with-options/platforms-array/__snapshots__/platforms-array.test.js.snap +++ b/tests/with-injection/create/with-options/platforms-array/__snapshots__/platforms-array.test.js.snap @@ -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\\" diff --git a/tests/with-injection/create/with-options/platforms-comma-separated/__snapshots__/platforms-comma-separated.test.js.snap b/tests/with-injection/create/with-options/platforms-comma-separated/__snapshots__/platforms-comma-separated.test.js.snap index 19f6f82b..82c1d557 100644 --- a/tests/with-injection/create/with-options/platforms-comma-separated/__snapshots__/platforms-comma-separated.test.js.snap +++ b/tests/with-injection/create/with-options/platforms-comma-separated/__snapshots__/platforms-comma-separated.test.js.snap @@ -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\\" diff --git a/tests/with-injection/create/with-options/with-custom-module-prefix/__snapshots__/create-with-custom-module-prefix.test.js.snap b/tests/with-injection/create/with-options/with-custom-module-prefix/__snapshots__/create-with-custom-module-prefix.test.js.snap index e5158e75..44b4f49d 100644 --- a/tests/with-injection/create/with-options/with-custom-module-prefix/__snapshots__/create-with-custom-module-prefix.test.js.snap +++ b/tests/with-injection/create/with-options/with-custom-module-prefix/__snapshots__/create-with-custom-module-prefix.test.js.snap @@ -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\\" diff --git a/tests/with-injection/create/with-options/with-module-name/__snapshots__/create-with-module-name.test.js.snap b/tests/with-injection/create/with-options/with-module-name/__snapshots__/create-with-module-name.test.js.snap index 7c71eabb..e7bde4ed 100644 --- a/tests/with-injection/create/with-options/with-module-name/__snapshots__/create-with-module-name.test.js.snap +++ b/tests/with-injection/create/with-options/with-module-name/__snapshots__/create-with-module-name.test.js.snap @@ -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\\" diff --git a/tests/with-mocks/cli/command/action-func/with-options/__snapshots__/cli-command-func-with-options.test.js.snap b/tests/with-mocks/cli/command/action-func/with-options/__snapshots__/cli-command-func-with-options.test.js.snap index 1df4b218..1b39737a 100644 --- a/tests/with-mocks/cli/command/action-func/with-options/__snapshots__/cli-command-func-with-options.test.js.snap +++ b/tests/with-mocks/cli/command/action-func/with-options/__snapshots__/cli-command-func-with-options.test.js.snap @@ -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\\" diff --git a/tests/with-mocks/cli/program/with-example/with-logging/__snapshots__/cli-program-with-example-with-logging.test.js.snap b/tests/with-mocks/cli/program/with-example/with-logging/__snapshots__/cli-program-with-example-with-logging.test.js.snap index 579dff04..cc53186b 100644 --- a/tests/with-mocks/cli/program/with-example/with-logging/__snapshots__/cli-program-with-example-with-logging.test.js.snap +++ b/tests/with-mocks/cli/program/with-example/with-logging/__snapshots__/cli-program-with-example-with-logging.test.js.snap @@ -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\\" diff --git a/tests/with-mocks/lib/create/with-example/with-logging/with-defaults/__snapshots__/create-with-example-with-defaults.test.js.snap b/tests/with-mocks/lib/create/with-example/with-logging/with-defaults/__snapshots__/create-with-example-with-defaults.test.js.snap index caf50939..f9aeb2cc 100644 --- a/tests/with-mocks/lib/create/with-example/with-logging/with-defaults/__snapshots__/create-with-example-with-defaults.test.js.snap +++ b/tests/with-mocks/lib/create/with-example/with-logging/with-defaults/__snapshots__/create-with-example-with-defaults.test.js.snap @@ -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\\" diff --git a/tests/with-mocks/lib/create/with-example/with-logging/with-error/__snapshots__/with-yarn-error-logging.test.js.snap b/tests/with-mocks/lib/create/with-example/with-logging/with-error/__snapshots__/with-yarn-error-logging.test.js.snap index f7e7a7a5..8b45f05a 100644 --- a/tests/with-mocks/lib/create/with-example/with-logging/with-error/__snapshots__/with-yarn-error-logging.test.js.snap +++ b/tests/with-mocks/lib/create/with-example/with-logging/with-error/__snapshots__/with-yarn-error-logging.test.js.snap @@ -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\\" diff --git a/tests/with-mocks/lib/create/with-example/with-logging/with-null-options/with-null-prefix/__snapshots__/create-with-example-with-options.test.js.snap b/tests/with-mocks/lib/create/with-example/with-logging/with-null-options/with-null-prefix/__snapshots__/create-with-example-with-options.test.js.snap index 6279e3bc..3150f8af 100644 --- a/tests/with-mocks/lib/create/with-example/with-logging/with-null-options/with-null-prefix/__snapshots__/create-with-example-with-options.test.js.snap +++ b/tests/with-mocks/lib/create/with-example/with-logging/with-null-options/with-null-prefix/__snapshots__/create-with-example-with-options.test.js.snap @@ -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\\" diff --git a/tests/with-mocks/lib/create/with-example/with-logging/with-options/__snapshots__/create-with-example-with-options.test.js.snap b/tests/with-mocks/lib/create/with-example/with-logging/with-options/__snapshots__/create-with-example-with-options.test.js.snap index 1d93beff..9a796ca6 100644 --- a/tests/with-mocks/lib/create/with-example/with-logging/with-options/__snapshots__/create-with-example-with-options.test.js.snap +++ b/tests/with-mocks/lib/create/with-example/with-logging/with-options/__snapshots__/create-with-example-with-options.test.js.snap @@ -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\\"