Skip to content

Commit aeac4c9

Browse files
committed
fix(iOS): resolve duplicate class error
1 parent c2feffa commit aeac4c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

freerasp-react-native.podspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ Pod::Spec.new do |s|
1414
s.platforms = { :ios => "11.0" }
1515
s.source = { :git => "https://github.com/talsec/freerasp-react-native.git", :tag => "#{s.version}" }
1616

17-
s.source_files = "ios/**/*.{h,m,mm,swift}"
17+
s.source_files = 'ios/*.{h,m,mm,swift}', 'ios/TalsecRuntime.xcframework'
18+
s.xcconfig = { 'OTHER_LDFLAGS' => '-framework TalsecRuntime' }
1819
s.ios.vendored_frameworks = "ios/TalsecRuntime.xcframework"
1920

2021
s.dependency "React-Core"

0 commit comments

Comments
 (0)