diff --git a/templates/ios.js b/templates/ios.js index 3e452db8..5d5bcb1d 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,m,swift}" + s.source_files = "ios/**/*.{h,c,m,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 3b5694b3..43c47fa2 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 @@ -698,7 +698,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,m,swift}\\" + s.source_files = \\"ios/**/*.{h,c,m,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 fee983e7..3f0adbf2 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 @@ -694,7 +694,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,m,swift}\\" + s.source_files = \\"ios/**/*.{h,c,m,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 3d7ef747..08c3626d 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 @@ -429,7 +429,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,m,swift}\\" + s.source_files = \\"ios/**/*.{h,c,m,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 19dc077e..d5251f26 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 @@ -433,7 +433,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,m,swift}\\" + s.source_files = \\"ios/**/*.{h,c,m,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 61f287e6..520c41b4 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 @@ -433,7 +433,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,m,swift}\\" + s.source_files = \\"ios/**/*.{h,c,m,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 a084aa49..6058dbf3 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,m,swift}\\" + s.source_files = \\"ios/**/*.{h,c,m,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 5d01cbbe..d89819d7 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 @@ -430,7 +430,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,m,swift}\\" + s.source_files = \\"ios/**/*.{h,c,m,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 839bbf57..8183515e 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 @@ -434,7 +434,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,m,swift}\\" + s.source_files = \\"ios/**/*.{h,c,m,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 441539a2..1f3afe41 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 @@ -434,7 +434,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,m,swift}\\" + s.source_files = \\"ios/**/*.{h,c,m,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 afc7472b..9dab812a 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 @@ -434,7 +434,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,m,swift}\\" + s.source_files = \\"ios/**/*.{h,c,m,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 8eb470b1..30f61c37 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 @@ -434,7 +434,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,m,swift}\\" + s.source_files = \\"ios/**/*.{h,c,m,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 50c2c673..23e9add6 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 @@ -430,7 +430,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,m,swift}\\" + s.source_files = \\"ios/**/*.{h,c,m,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 a8670df7..8f145645 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,m,swift}\\" + s.source_files = \\"ios/**/*.{h,c,m,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 d52cf8e6..3850b004 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 @@ -430,7 +430,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,m,swift}\\" + s.source_files = \\"ios/**/*.{h,c,m,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 c549c9c6..d1314550 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 @@ -430,7 +430,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,m,swift}\\" + s.source_files = \\"ios/**/*.{h,c,m,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 78440264..fbf07c7f 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 @@ -430,7 +430,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,m,swift}\\" + s.source_files = \\"ios/**/*.{h,c,m,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 85f122cf..413d6c2e 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 @@ -430,7 +430,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,m,swift}\\" + s.source_files = \\"ios/**/*.{h,c,m,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 9830a88a..b2b03f92 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 @@ -426,7 +426,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,m,swift}\\" + s.source_files = \\"ios/**/*.{h,c,m,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 ca5459d5..ae770586 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 @@ -496,7 +496,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,m,swift}\\" + s.source_files = \\"ios/**/*.{h,c,m,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 2876eeb0..afb83318 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 @@ -496,7 +496,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,m,swift}\\" + s.source_files = \\"ios/**/*.{h,c,m,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 e0b0bf6a..66df0f12 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 @@ -496,7 +496,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,m,swift}\\" + s.source_files = \\"ios/**/*.{h,c,m,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 1de93b70..0d94d587 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 @@ -490,7 +490,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,m,swift}\\" + s.source_files = \\"ios/**/*.{h,c,m,swift}\\" s.requires_arc = true s.dependency \\"React\\"