-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Turbo Modules] Configure podspec for codegen
- Loading branch information
Riccardo Cipolleschi
committed
Mar 10, 2022
1 parent
9f67f17
commit c2cd950
Showing
6 changed files
with
70 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
AwesomeApp/ios/AwesomeApp/CalendarModule/CalendarModule.podspec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
folly_version = '2021.06.28.00-v2' | ||
folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32' | ||
Pod::Spec.new do |s| | ||
s.name = "CalendarModule" | ||
s.version = "0.0.1" | ||
s.summary = "Calendar Module" | ||
s.description = "Calendar Module" | ||
s.homepage = "https://github.com/facebook/react-native.git" | ||
s.license = "MIT" | ||
s.platforms = { :ios => "11.0" } | ||
s.author = "" | ||
s.source = { :git => "https://github.com/facebook/react-native.git", :tag => "#{s.version}" } | ||
|
||
s.source_files = "./**/*.{h,m,mm,swift}" | ||
|
||
s.compiler_flags = folly_compiler_flags | ||
|
||
s.pod_target_xcconfig = { | ||
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"" | ||
} | ||
|
||
s.dependency "React" | ||
s.dependency "React-RCTFabric" # This is for fabric component | ||
s.dependency "React-Codegen" | ||
s.dependency "RCT-Folly", folly_version | ||
s.dependency "RCTRequired" | ||
s.dependency "RCTTypeSafety" | ||
s.dependency "ReactCommon/turbomodule/core" | ||
end |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters