From 9b69290589601ae2485789cef0699ea6e15b8fac Mon Sep 17 00:00:00 2001 From: cogwheel0 <172976095+cogwheel0@users.noreply.github.com> Date: Tue, 25 Nov 2025 16:08:30 +0530 Subject: [PATCH] chore: update dependencies and configuration for iOS build --- ios/Podfile | 11 ++++++++++- ios/Podfile.lock | 23 ++++++++++++----------- ios/Runner/Info.plist | 2 -- pubspec.lock | 12 ++---------- pubspec.yaml | 2 +- 5 files changed, 25 insertions(+), 25 deletions(-) diff --git a/ios/Podfile b/ios/Podfile index 2759f9d..802bd24 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -54,12 +54,21 @@ post_install do |installer| flutter_additional_ios_build_settings(target) end - # Reduce chances of embed/cycle: don't embed Swift stdlib explicitly + # Add -ObjC linker flag for objective_c native assets (required for Release builds) + # This fixes: "dlsym(RTLD_DEFAULT, DOBJC_initializeApi): symbol not found" installer.aggregate_targets.each do |aggregate_target| aggregate_target.user_project.native_targets.each do |native_target| if ['Runner', 'ShareExtension'].include?(native_target.name) native_target.build_configurations.each do |config| config.build_settings['ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES'] = 'NO' + + # Add -ObjC flag for objective_c package support in Release builds + other_ldflags = config.build_settings['OTHER_LDFLAGS'] || ['$(inherited)'] + other_ldflags = [other_ldflags] if other_ldflags.is_a?(String) + unless other_ldflags.include?('-ObjC') + other_ldflags << '-ObjC' + end + config.build_settings['OTHER_LDFLAGS'] = other_ldflags end end end diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 835d4f6..1365e15 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -55,8 +55,6 @@ PODS: - Flutter - image_picker_ios (0.0.1): - Flutter - - objective_c (0.0.1): - - Flutter - onnxruntime-c (1.22.0) - onnxruntime-objc (1.22.0): - onnxruntime-objc/Core (= 1.22.0) @@ -64,13 +62,16 @@ PODS: - onnxruntime-c (= 1.22.0) - package_info_plus (0.4.5): - Flutter + - path_provider_foundation (0.0.1): + - Flutter + - FlutterMacOS - quick_actions_ios (0.0.1): - Flutter - record_ios (1.1.0): - Flutter - - SDWebImage (5.21.1): - - SDWebImage/Core (= 5.21.1) - - SDWebImage/Core (5.21.1) + - SDWebImage (5.21.3): + - SDWebImage/Core (= 5.21.3) + - SDWebImage/Core (5.21.3) - share_handler_ios (0.0.14): - Flutter - share_handler_ios/share_handler_ios_models (= 0.0.14) @@ -113,8 +114,8 @@ DEPENDENCIES: - flutter_secure_storage (from `.symlinks/plugins/flutter_secure_storage/ios`) - flutter_tts (from `.symlinks/plugins/flutter_tts/ios`) - image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`) - - objective_c (from `.symlinks/plugins/objective_c/ios`) - package_info_plus (from `.symlinks/plugins/package_info_plus/ios`) + - path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`) - quick_actions_ios (from `.symlinks/plugins/quick_actions_ios/ios`) - record_ios (from `.symlinks/plugins/record_ios/ios`) - share_handler_ios (from `.symlinks/plugins/share_handler_ios/ios`) @@ -161,10 +162,10 @@ EXTERNAL SOURCES: :path: ".symlinks/plugins/flutter_tts/ios" image_picker_ios: :path: ".symlinks/plugins/image_picker_ios/ios" - objective_c: - :path: ".symlinks/plugins/objective_c/ios" package_info_plus: :path: ".symlinks/plugins/package_info_plus/ios" + path_provider_foundation: + :path: ".symlinks/plugins/path_provider_foundation/darwin" quick_actions_ios: :path: ".symlinks/plugins/quick_actions_ios/ios" record_ios: @@ -205,13 +206,13 @@ SPEC CHECKSUMS: flutter_secure_storage: 1ed9476fba7e7a782b22888f956cce43e2c62f13 flutter_tts: b88dbc8655d3dc961bc4a796e4e16a4cc1795833 image_picker_ios: e0ece4aa2a75771a7de3fa735d26d90817041326 - objective_c: 89e720c30d716b036faf9c9684022048eee1eee2 onnxruntime-c: 7f778680e96145956c0a31945f260321eed2611a onnxruntime-objc: 83d28b87525bd971259a66e153ea32b5d023de19 package_info_plus: af8e2ca6888548050f16fa2f1938db7b5a5df499 + path_provider_foundation: bb55f6dbba17d0dccd6737fe6f7f34fbd0376880 quick_actions_ios: 500fcc11711d9f646739093395c4ae8eec25f779 record_ios: f75fa1d57f840012775c0e93a38a7f3ceea1a374 - SDWebImage: f29024626962457f3470184232766516dee8dfea + SDWebImage: 16309af6d214ba3f77a7c6f6fdda888cb313a50a share_handler_ios: e2244e990f826b2c8eaa291ac3831569438ba0fb share_handler_ios_models: fc638c9b4330dc7f082586c92aee9dfa0b87b871 share_plus: 50da8cb520a8f0f65671c6c6a99b3617ed10a58a @@ -224,6 +225,6 @@ SPEC CHECKSUMS: wakelock_plus: e29112ab3ef0b318e58cfa5c32326458be66b556 webview_flutter_wkwebview: 8ebf4fded22593026f7dbff1fbff31ea98573c8d -PODFILE CHECKSUM: 467be2eaee7e6ac5b7b2d2ef8bea817d4d70b736 +PODFILE CHECKSUM: 32adf4606dae7e9ca2351c13b9e3ce1df6ad7ebf COCOAPODS: 1.16.2 diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index a9bf83b..ff92f4b 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -90,9 +90,7 @@ UIBackgroundModes audio - remote-notification processing - voip BGTaskSchedulerPermittedIdentifiers diff --git a/pubspec.lock b/pubspec.lock index 30acfb7..6e13dd2 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1013,14 +1013,6 @@ packages: url: "https://pub.dev" source: hosted version: "2.0.2" - objective_c: - dependency: transitive - description: - name: objective_c - sha256: "1f81ed9e41909d44162d7ec8663b2c647c202317cc0b56d3d56f6a13146a0b64" - url: "https://pub.dev" - source: hosted - version: "9.1.0" octo_image: dependency: transitive description: @@ -1089,10 +1081,10 @@ packages: dependency: transitive description: name: path_provider_foundation - sha256: "6192e477f34018ef1ea790c56fffc7302e3bc3efede9e798b934c252c8c105ba" + sha256: "97390a0719146c7c3e71b6866c34f1cde92685933165c1c671984390d2aca776" url: "https://pub.dev" source: hosted - version: "2.5.0" + version: "2.4.4" path_provider_linux: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 2193c12..b45f0f6 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: conduit description: Open-source mobile client for Open-WebUI -version: 2.2.6+46 +version: 2.2.6+64 publish_to: 'none' environment: