π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Force-link cupertino_http and objective_c on iOS simulator
Manav Rathief8a02bfaaff
diff --git a/mobile/apps/photos/ios/Podfile b/mobile/apps/photos/ios/Podfileindex 524f704ec2..5cc80f5799 100644--- a/mobile/apps/photos/ios/Podfile+++ b/mobile/apps/photos/ios/Podfile@@ -52,4 +52,24 @@ post_install do |installer|endend++ # Temporary Flutter 3.32.8 arm64-simulator workaround.+ # Remove once the app is on Flutter 3.38+ and these frameworks load normally.+ installer.aggregate_targets.each do |aggregate_target|+ aggregate_target.user_project.native_targets.each do |target|+ next unless target.name == 'Runner'++ force_link_flags = [+ '$(inherited)',+ '-Wl,-needed_framework,cupertino_http',+ '-Wl,-needed_framework,objective_c',+ ]++ target.build_configurations.each do |config|+ config.build_settings['OTHER_LDFLAGS[sdk=iphonesimulator*]'] = force_link_flags+ end+ end++ aggregate_target.user_project.save+ endenddiff --git a/mobile/apps/photos/ios/Podfile.lock b/mobile/apps/photos/ios/Podfile.lockindex 8c83731841..aa97179afe 100644--- a/mobile/apps/photos/ios/Podfile.lock+++ b/mobile/apps/photos/ios/Podfile.lock@@ -577,6 +577,6 @@ SPEC CHECKSUMS:wakelock_plus: e29112ab3ef0b318e58cfa5c32326458be66b556workmanager_apple: 904529ae31e97fc5be632cf628507652294a0778-PODFILE CHECKSUM: 8409734576b4c0ab3386a469963a73df93f97062+PODFILE CHECKSUM: 1c99c7c32f840e3e08127181dd09d4755dbe2090COCOAPODS: 1.16.2diff --git a/mobile/apps/photos/ios/Runner.xcodeproj/project.pbxproj b/mobile/apps/photos/ios/Runner.xcodeproj/project.pbxprojindex 6ebd9eeb8c..5d68379c8a 100644--- a/mobile/apps/photos/ios/Runner.xcodeproj/project.pbxproj+++ b/mobile/apps/photos/ios/Runner.xcodeproj/project.pbxproj@@ -1043,6 +1043,11 @@"$(PROJECT_DIR)/Flutter",);MARKETING_VERSION = 0.0.11;+ "OTHER_LDFLAGS[sdk=iphonesimulator*]" = (+ "$(inherited)",+ "-Wl,-needed_framework,cupertino_http",+ "-Wl,-needed_framework,objective_c",+ );PRODUCT_BUNDLE_IDENTIFIER = io.ente.frame;PRODUCT_NAME = "$(TARGET_NAME)";PROVISIONING_PROFILE_SPECIFIER = "";@@ -1345,6 +1350,11 @@"$(PROJECT_DIR)/Flutter",);MARKETING_VERSION = 0.0.11;+ "OTHER_LDFLAGS[sdk=iphonesimulator*]" = (+ "$(inherited)",+ "-Wl,-needed_framework,cupertino_http",+ "-Wl,-needed_framework,objective_c",+ );PRODUCT_BUNDLE_IDENTIFIER = io.ente.frame.debug;PRODUCT_NAME = "$(TARGET_NAME)";PROVISIONING_PROFILE_SPECIFIER = "";@@ -1388,6 +1398,11 @@"$(PROJECT_DIR)/Flutter",);MARKETING_VERSION = 0.0.11;+ "OTHER_LDFLAGS[sdk=iphonesimulator*]" = (+ "$(inherited)",+ "-Wl,-needed_framework,cupertino_http",+ "-Wl,-needed_framework,objective_c",+ );PRODUCT_BUNDLE_IDENTIFIER = io.ente.frame;PRODUCT_NAME = "$(TARGET_NAME)";PROVISIONING_PROFILE_SPECIFIER = "";