From 1cfc9e57f315e8f353927a56df382ca5bdab9bae Mon Sep 17 00:00:00 2001 From: Yaroslav Moria <5eeman@users.noreply.github.com> Date: Wed, 17 Jul 2024 16:53:58 +0200 Subject: [PATCH] Added flags. --- ios/flutter_rapidsnark.podspec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ios/flutter_rapidsnark.podspec b/ios/flutter_rapidsnark.podspec index dd764c5..0c9d771 100644 --- a/ios/flutter_rapidsnark.podspec +++ b/ios/flutter_rapidsnark.podspec @@ -18,7 +18,10 @@ A new Flutter project. s.platform = :ios, '11.0' # Flutter.framework does not contain a i386 slice. - s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' } + s.pod_target_xcconfig = { + 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386', + 'OTHER_LDFLAGS' => ' -force_load $(PODS_TARGET_SRCROOT)/Frameworks/librapidsnark.a -lc++ -lz' + } s.swift_version = '5.0' s.dependency 'rapidsnark', '0.0.1-alpha.4'