Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[auth][ios] fix compatibility for ios < 13 (#4252)

Prateek Sunalc1ea51235596
diff --git a/auth/ios/Runner.xcodeproj/project.pbxproj b/auth/ios/Runner.xcodeproj/project.pbxproj
index b60012aa8a..e9effce763 100644
--- a/auth/ios/Runner.xcodeproj/project.pbxproj
+++ b/auth/ios/Runner.xcodeproj/project.pbxproj
@@ -444,6 +444,100 @@
"$(inherited)",
"@executable_path/Frameworks",
);
+ OTHER_LDFLAGS = (
+ "$(inherited)",
+ "-l\"swiftCoreGraphics\"",
+ "-framework",
+ "\"AVFoundation\"",
+ "-framework",
+ "\"AVKit\"",
+ "-framework",
+ "\"DKImagePickerController\"",
+ "-framework",
+ "\"DKPhotoGallery\"",
+ "-framework",
+ "\"Foundation\"",
+ "-framework",
+ "\"ImageIO\"",
+ "-framework",
+ "\"LocalAuthentication\"",
+ "-framework",
+ "\"MTBBarcodeScanner\"",
+ "-framework",
+ "\"OrderedSet\"",
+ "-framework",
+ "\"Photos\"",
+ "-framework",
+ "\"QuartzCore\"",
+ "-framework",
+ "\"SDWebImage\"",
+ "-framework",
+ "\"Sentry\"",
+ "-framework",
+ "\"SwiftyGif\"",
+ "-framework",
+ "\"Toast\"",
+ "-framework",
+ "\"UIKit\"",
+ "-framework",
+ "\"app_links\"",
+ "-framework",
+ "\"connectivity_plus\"",
+ "-framework",
+ "\"device_info_plus\"",
+ "-framework",
+ "\"file_picker\"",
+ "-framework",
+ "\"file_saver\"",
+ "-framework",
+ "\"fk_user_agent\"",
+ "-framework",
+ "\"flutter_email_sender\"",
+ "-framework",
+ "\"flutter_inappwebview_ios\"",
+ "-framework",
+ "\"flutter_local_authentication\"",
+ "-framework",
+ "\"flutter_local_notifications\"",
+ "-framework",
+ "\"flutter_native_splash\"",
+ "-framework",
+ "\"flutter_secure_storage\"",
+ "-framework",
+ "\"fluttertoast\"",
+ "-framework",
+ "\"local_auth_darwin\"",
+ "-framework",
+ "\"move_to_background\"",
+ "-framework",
+ "\"package_info_plus\"",
+ "-framework",
+ "\"path_provider_foundation\"",
+ "-framework",
+ "\"privacy_screen\"",
+ "-framework",
+ "\"qr_code_scanner\"",
+ "-framework",
+ "\"sentry_flutter\"",
+ "-framework",
+ "\"share_plus\"",
+ "-framework",
+ "\"shared_preferences_foundation\"",
+ "-framework",
+ "\"sodium_libs\"",
+ "-framework",
+ "\"sqflite\"",
+ "-framework",
+ "\"sqlite3\"",
+ "-framework",
+ "\"sqlite3_flutter_libs\"",
+ "-framework",
+ "\"url_launcher_ios\"",
+ "-weak_framework",
+ "\"LinkPresentation\"",
+ "-weak_framework",
+ SwiftUI,
+ );
PRODUCT_BUNDLE_IDENTIFIER = io.ente.auth;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
@@ -592,6 +686,100 @@
"$(inherited)",
"@executable_path/Frameworks",
);
+ OTHER_LDFLAGS = (
+ "$(inherited)",
+ "-l\"swiftCoreGraphics\"",
+ "-framework",
+ "\"AVFoundation\"",
+ "-framework",
+ "\"AVKit\"",
+ "-framework",
+ "\"DKImagePickerController\"",
+ "-framework",
+ "\"DKPhotoGallery\"",
+ "-framework",
+ "\"Foundation\"",
+ "-framework",
+ "\"ImageIO\"",
+ "-framework",
+ "\"LocalAuthentication\"",
+ "-framework",
+ "\"MTBBarcodeScanner\"",
+ "-framework",
+ "\"OrderedSet\"",
+ "-framework",
+ "\"Photos\"",
+ "-framework",
+ "\"QuartzCore\"",
+ "-framework",
+ "\"SDWebImage\"",
+ "-framework",
+ "\"Sentry\"",
+ "-framework",
+ "\"SwiftyGif\"",
+ "-framework",
+ "\"Toast\"",
+ "-framework",
+ "\"UIKit\"",
+ "-framework",
+ "\"app_links\"",
+ "-framework",
+ "\"connectivity_plus\"",
+ "-framework",
+ "\"device_info_plus\"",
+ "-framework",
+ "\"file_picker\"",
+ "-framework",
+ "\"file_saver\"",
+ "-framework",
+ "\"fk_user_agent\"",
+ "-framework",
+ "\"flutter_email_sender\"",
+ "-framework",
+ "\"flutter_inappwebview_ios\"",
+ "-framework",
+ "\"flutter_local_authentication\"",
+ "-framework",
+ "\"flutter_local_notifications\"",
+ "-framework",
+ "\"flutter_native_splash\"",
+ "-framework",
+ "\"flutter_secure_storage\"",
+ "-framework",
+ "\"fluttertoast\"",
+ "-framework",
+ "\"local_auth_darwin\"",
+ "-framework",
+ "\"move_to_background\"",
+ "-framework",
+ "\"package_info_plus\"",
+ "-framework",
+ "\"path_provider_foundation\"",
+ "-framework",
+ "\"privacy_screen\"",
+ "-framework",
+ "\"qr_code_scanner\"",
+ "-framework",
+ "\"sentry_flutter\"",
+ "-framework",
+ "\"share_plus\"",
+ "-framework",
+ "\"shared_preferences_foundation\"",
+ "-framework",
+ "\"sodium_libs\"",
+ "-framework",
+ "\"sqflite\"",
+ "-framework",
+ "\"sqlite3\"",
+ "-framework",
+ "\"sqlite3_flutter_libs\"",
+ "-framework",
+ "\"url_launcher_ios\"",
+ "-weak_framework",
+ "\"LinkPresentation\"",
+ "-weak_framework",
+ SwiftUI,
+ );
PRODUCT_BUNDLE_IDENTIFIER = io.ente.auth;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";