Skip to content

Commit ea131b3

Browse files
committed
Add force load to prevent stripping
1 parent a6d5e10 commit ea131b3

File tree

8 files changed

+37
-41
lines changed

8 files changed

+37
-41
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 3.8.6
2+
- Add force load to prevent stripping
3+
14
## 3.8.5
25
- fix bridge lib copy on windows
36

example/ios/Flutter/AppFrameworkInfo.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
<key>CFBundleVersion</key>
2222
<string>1.0</string>
2323
<key>MinimumOSVersion</key>
24-
<string>12.0</string>
24+
<string>13.0</string>
2525
</dict>
2626
</plist>

example/ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Uncomment this line to define a global platform for your project
2-
# platform :ios, '12.0'
2+
# platform :ios, '13.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

example/ios/Podfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ EXTERNAL SOURCES:
1919
:path: ".symlinks/plugins/integration_test/ios"
2020

2121
SPEC CHECKSUMS:
22-
fast_rsa: ddcc7ba1b9b9a1748c2506841269e6a2036492bc
23-
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
22+
fast_rsa: 612781bc08f641c8913d040397a22cc245197749
23+
Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467
2424
integration_test: 4a889634ef21a45d28d50d622cf412dc6d9f586e
2525

26-
PODFILE CHECKSUM: 819463e6a0290f5a72f145ba7cde16e8b6ef0796
26+
PODFILE CHECKSUM: 4f1c12611da7338d21589c0b2ecd6bd20b109694
2727

2828
COCOAPODS: 1.16.2

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@
455455
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
456456
GCC_WARN_UNUSED_FUNCTION = YES;
457457
GCC_WARN_UNUSED_VARIABLE = YES;
458-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
458+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
459459
MTL_ENABLE_DEBUG_INFO = NO;
460460
SDKROOT = iphoneos;
461461
SUPPORTED_PLATFORMS = iphoneos;
@@ -585,7 +585,7 @@
585585
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
586586
GCC_WARN_UNUSED_FUNCTION = YES;
587587
GCC_WARN_UNUSED_VARIABLE = YES;
588-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
588+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
589589
MTL_ENABLE_DEBUG_INFO = YES;
590590
ONLY_ACTIVE_ARCH = YES;
591591
SDKROOT = iphoneos;
@@ -636,7 +636,7 @@
636636
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
637637
GCC_WARN_UNUSED_FUNCTION = YES;
638638
GCC_WARN_UNUSED_VARIABLE = YES;
639-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
639+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
640640
MTL_ENABLE_DEBUG_INFO = NO;
641641
SDKROOT = iphoneos;
642642
SUPPORTED_PLATFORMS = iphoneos;

example/pubspec.lock

Lines changed: 19 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,18 @@ packages:
55
dependency: transitive
66
description:
77
name: _fe_analyzer_shared
8-
sha256: "16e298750b6d0af7ce8a3ba7c18c69c3785d11b15ec83f6dcd0ad2a0009b3cab"
8+
sha256: da0d9209ca76bde579f2da330aeb9df62b6319c834fa7baae052021b0462401f
99
url: "https://pub.dev"
1010
source: hosted
11-
version: "76.0.0"
12-
_macros:
13-
dependency: transitive
14-
description: dart
15-
source: sdk
16-
version: "0.3.3"
11+
version: "85.0.0"
1712
analyzer:
1813
dependency: transitive
1914
description:
2015
name: analyzer
21-
sha256: "1f14db053a8c23e260789e9b0980fa27f2680dd640932cae5e1137cce0e46e1e"
16+
sha256: "974859dc0ff5f37bc4313244b3218c791810d03ab3470a579580279ba971a48d"
2217
url: "https://pub.dev"
2318
source: hosted
24-
version: "6.11.0"
19+
version: "7.7.1"
2520
args:
2621
dependency: transitive
2722
description:
@@ -231,26 +226,26 @@ packages:
231226
dependency: transitive
232227
description:
233228
name: leak_tracker
234-
sha256: "6bb818ecbdffe216e81182c2f0714a2e62b593f4a4f13098713ff1685dfb6ab0"
229+
sha256: "33e2e26bdd85a0112ec15400c8cbffea70d0f9c3407491f672a2fad47915e2de"
235230
url: "https://pub.dev"
236231
source: hosted
237-
version: "10.0.9"
232+
version: "11.0.2"
238233
leak_tracker_flutter_testing:
239234
dependency: transitive
240235
description:
241236
name: leak_tracker_flutter_testing
242-
sha256: f8b613e7e6a13ec79cfdc0e97638fddb3ab848452eff057653abd3edba760573
237+
sha256: "1dbc140bb5a23c75ea9c4811222756104fbcd1a27173f0c34ca01e16bea473c1"
243238
url: "https://pub.dev"
244239
source: hosted
245-
version: "3.0.9"
240+
version: "3.0.10"
246241
leak_tracker_testing:
247242
dependency: transitive
248243
description:
249244
name: leak_tracker_testing
250-
sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
245+
sha256: "8d5a2d49f4a66b49744b23b018848400d23e54caf9463f4eb20df3eb8acb2eb1"
251246
url: "https://pub.dev"
252247
source: hosted
253-
version: "3.0.1"
248+
version: "3.0.2"
254249
lints:
255250
dependency: transitive
256251
description:
@@ -267,14 +262,6 @@ packages:
267262
url: "https://pub.dev"
268263
source: hosted
269264
version: "1.3.0"
270-
macros:
271-
dependency: transitive
272-
description:
273-
name: macros
274-
sha256: "1d9e801cd66f7ea3663c45fc708450db1fa57f988142c64289142c9b7ee80656"
275-
url: "https://pub.dev"
276-
source: hosted
277-
version: "0.1.3-main.0"
278265
matcher:
279266
dependency: transitive
280267
description:
@@ -476,26 +463,26 @@ packages:
476463
dependency: "direct dev"
477464
description:
478465
name: test
479-
sha256: "301b213cd241ca982e9ba50266bd3f5bd1ea33f1455554c5abb85d1be0e2d87e"
466+
sha256: "65e29d831719be0591f7b3b1a32a3cda258ec98c58c7b25f7b84241bc31215bb"
480467
url: "https://pub.dev"
481468
source: hosted
482-
version: "1.25.15"
469+
version: "1.26.2"
483470
test_api:
484471
dependency: transitive
485472
description:
486473
name: test_api
487-
sha256: fb31f383e2ee25fbbfe06b40fe21e1e458d14080e3c67e7ba0acfde4df4e0bbd
474+
sha256: "522f00f556e73044315fa4585ec3270f1808a4b186c936e612cab0b565ff1e00"
488475
url: "https://pub.dev"
489476
source: hosted
490-
version: "0.7.4"
477+
version: "0.7.6"
491478
test_core:
492479
dependency: transitive
493480
description:
494481
name: test_core
495-
sha256: "84d17c3486c8dfdbe5e12a50c8ae176d15e2a771b96909a9442b40173649ccaa"
482+
sha256: "80bf5a02b60af04b09e14f6fe68b921aad119493e26e490deaca5993fef1b05a"
496483
url: "https://pub.dev"
497484
source: hosted
498-
version: "0.6.8"
485+
version: "0.6.11"
499486
typed_data:
500487
dependency: transitive
501488
description:
@@ -508,10 +495,10 @@ packages:
508495
dependency: transitive
509496
description:
510497
name: vector_math
511-
sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
498+
sha256: d530bd74fea330e6e364cda7a85019c434070188383e1cd8d9777ee586914c5b
512499
url: "https://pub.dev"
513500
source: hosted
514-
version: "2.1.4"
501+
version: "2.2.0"
515502
vm_service:
516503
dependency: transitive
517504
description:
@@ -577,5 +564,5 @@ packages:
577564
source: hosted
578565
version: "3.1.2"
579566
sdks:
580-
dart: ">=3.7.0-0 <4.0.0"
567+
dart: ">=3.8.0-0 <4.0.0"
581568
flutter: ">=3.18.0-18.0.pre.54"

ios/fast_rsa.podspec

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# Run `pod lib lint fast_rsa.podspec' to validate before publishing.
44
#
55

6+
xcframework_path = File.join(__dir__, "RSABridge.xcframework").gsub(/ /, '\ ')
67
Pod::Spec.new do |s|
78
s.name = 'fast_rsa'
89
s.version = '0.7.0'
@@ -20,6 +21,11 @@ library for use RSA.
2021
s.platform = :ios, '12.0'
2122
s.vendored_frameworks = 'RSABridge.xcframework'
2223
s.static_framework = true
24+
s.xcconfig = {
25+
'OTHER_LDFLAGS[sdk=iphoneos*]' => "$(inherited) -ObjC -force_load #{xcframework_path}/ios-arm64/RSABridge.framework/RSABridge",
26+
'OTHER_LDFLAGS[sdk=iphonesimulator*]' => "$(inherited) -ObjC -force_load #{xcframework_path}/ios-arm64_x86_64-simulator/RSABridge.framework/RSABridge",
27+
'OTHER_LDFLAGS[sdk=maccatalyst*]' => "$(inherited) -ObjC -force_load #{xcframework_path}/ios-arm64_x86_64-maccatalyst/RSABridge.framework/RSABridge"
28+
}
2329
# Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported.
2430
s.pod_target_xcconfig = {
2531
'DEFINES_MODULE' => 'YES',

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: fast_rsa
22
description: library for use RSA with support for android and ios, macOS, linux, windows and web
3-
version: 3.8.5
3+
version: 3.8.6
44
homepage: https://github.com/jerson/flutter-rsa
55

66
environment:

0 commit comments

Comments
 (0)