mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-06 17:34:07 +08:00
Add .S files to the Pod
Summary: These need to be included while building with CocoaPods. Closes https://github.com/facebook/react-native/pull/3753 Reviewed By: svcscm Differential Revision: D2595296 Pulled By: tadeuzagallo fb-gh-sync-id: f2e2ba729c92c52808ed1b7d23c31f6fa7b9d891
This commit is contained in:
committed by
facebook-github-bot-4
parent
47b124436f
commit
b73bf16349
@@ -1,6 +1,6 @@
|
||||
Pod::Spec.new do |s|
|
||||
s.name = "React"
|
||||
s.version = "0.8.0"
|
||||
s.version = "0.15.0"
|
||||
s.summary = "Build high quality mobile apps using React."
|
||||
s.description = <<-DESC
|
||||
React Native apps are built using the React JS
|
||||
@@ -26,7 +26,7 @@ Pod::Spec.new do |s|
|
||||
s.preserve_paths = "cli.js", "Libraries/**/*.js", "lint", "linter.js", "node_modules", "package.json", "packager", "PATENTS", "react-native-cli"
|
||||
|
||||
s.subspec 'Core' do |ss|
|
||||
ss.source_files = "React/**/*.{c,h,m}"
|
||||
ss.source_files = "React/**/*.{c,h,m,S}"
|
||||
ss.exclude_files = "**/__tests__/*", "IntegrationTests/*"
|
||||
ss.frameworks = "JavaScriptCore"
|
||||
end
|
||||
@@ -103,11 +103,11 @@ Pod::Spec.new do |s|
|
||||
ss.source_files = "Libraries/LinkingIOS/*.{h,m}"
|
||||
ss.preserve_paths = "Libraries/LinkingIOS/*.js"
|
||||
end
|
||||
|
||||
|
||||
s.subspec 'RCTTest' do |ss|
|
||||
ss.source_files = "Libraries/RCTTest/**/*.{h,m}"
|
||||
ss.preserve_paths = "Libraries/RCTTest/**/*.js"
|
||||
ss.frameworks = "XCTest"
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user