File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
packages/create-react-native-library/templates Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 167167 }
168168 ]
169169 ]
170- <% if (project.arch === "new" ) { -%>
170+ <% if (project.arch !== 'legacy' ) { -%>
171171 },
172172 "codegenConfig" : {
173173 "name" : " RN<%- project.name -%><%- project.view ? 'View': '' -%>Spec" ,
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ yarn clean
5757```
5858
5959<% } -%>
60- <% if (project.arch === 'new' || project.arch === 'mixed ') { -%>
60+ <% if (project.arch !== 'legacy ') { -%>
6161To confirm that the app is running with the new architecture, you can check the Metro logs for a message like this:
6262
6363``` sh
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ Pod::Spec.new do |s|
1111 s . license = package [ "license" ]
1212 s . authors = package [ "author" ]
1313
14- s . platforms = { :ios => < %- project.arch === "new" ? '" 11.0"': '"10.0"' - %> }
14+ s . platforms = { :ios => " 11.0" }
1515 s . source = { :git => "<%- repo -%>.git" , :tag => "#{ s . version } " }
1616
1717<% if (project.cpp) { -%>
@@ -32,7 +32,7 @@ Pod::Spec.new do |s|
3232 "OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1",
3333 "CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
3434 }
35- <% if(project.arch === "new" && project.view) { -%>
35+ <% if ( project.view) { -%>
3636 s.dependency "React-RCTFabric"
3737<% } -%>
3838 s.dependency "React-Codegen"
You can’t perform that action at this time.
0 commit comments