Skip to content

Commit

Permalink
fix(iOS): not add jsi source for backward support
Browse files Browse the repository at this point in the history
  • Loading branch information
hans00 committed Jan 1, 2025
1 parent 465bce9 commit 93a3446
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion react-native-tsc-printer.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ Pod::Spec.new do |s|
s.platforms = { :ios => min_ios_version_supported }
s.source = { :git => "https://github.com/mybigday/react-native-tsc-printer.git", :tag => "#{s.version}" }

s.source_files = "ios/**/*.{h,m,mm,cpp}"
if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
s.source_files = "ios/**/*.{h,m,mm,cpp}"
else
s.source_files = "ios/*.{h,m,mm,cpp}"
end

s.frameworks = "CoreBluetooth", "ExternalAccessory", "UIKit"

Expand Down

0 comments on commit 93a3446

Please sign in to comment.