Skip to content

Commit

Permalink
chore: cleaner podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
vonovak committed Feb 26, 2025
1 parent 62794a6 commit 237f8d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,5 @@ Pod::Spec.new do |s|
'DEFINES_MODULE' => 'YES',
}

if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
install_modules_dependencies(s)
else
s.dependency "React-Core"
end
install_modules_dependencies(s)
end
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,5 @@ Pod::Spec.new do |s|

s.source_files = ["ios/**/*.{h,m,mm}"]

if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
# RN 71+
install_modules_dependencies(s)
else
s.dependency "React-Core"
end
install_modules_dependencies(s)
end

0 comments on commit 237f8d6

Please sign in to comment.