TagSpaces is an offline, open source, document manager with tagging support
chore: finalizing icloud support for the ios app
Ilian Sapundshiev886dbb5927d2
diff --git a/capacitor/ios/App/App.xcodeproj/project.pbxproj b/capacitor/ios/App/App.xcodeproj/project.pbxprojindex 5969ad950..d12f790be 100644--- a/capacitor/ios/App/App.xcodeproj/project.pbxproj+++ b/capacitor/ios/App/App.xcodeproj/project.pbxproj@@ -17,6 +17,9 @@50B271D11FEDC1A000F3C39B /* public in Resources */ = {isa = PBXBuildFile; fileRef = 50B271D01FEDC1A000F3C39B /* public */; };D1F87A2C0000000000000002 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = D1F87A2C0000000000000001 /* PrivacyInfo.xcprivacy */; };D1F87A2C0000000000000011 /* ICloudPlugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = D1F87A2C0000000000000010 /* ICloudPlugin.swift */; };+ D1F87A2C0000000000000031 /* MainViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = D1F87A2C0000000000000030 /* MainViewController.swift */; };+ D1F87A2C0000000000000041 /* iCloud.org.tagspaces.mobileapp.png in Resources */ = {isa = PBXBuildFile; fileRef = D1F87A2C0000000000000040 /* iCloud.org.tagspaces.mobileapp.png */; };+ D1F87A2C0000000000000051 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = D1F87A2C0000000000000050 /* [email protected] */; };/* End PBXBuildFile section *//* Begin PBXFileReference section */@@ -33,6 +36,9 @@D1F87A2C0000000000000001 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };D1F87A2C0000000000000003 /* App.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = App.entitlements; sourceTree = "<group>"; };D1F87A2C0000000000000010 /* ICloudPlugin.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ICloudPlugin.swift; sourceTree = "<group>"; };+ D1F87A2C0000000000000030 /* MainViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainViewController.swift; sourceTree = "<group>"; };+ D1F87A2C0000000000000040 /* iCloud.org.tagspaces.mobileapp.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = iCloud.org.tagspaces.mobileapp.png; sourceTree = "<group>"; };+ D1F87A2C0000000000000050 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };/* End PBXFileReference section *//* Begin PBXFrameworksBuildPhase section */@@ -70,6 +76,9 @@50379B222058CBB4000EE86E /* capacitor.config.json */,504EC3071FED79650016851F /* AppDelegate.swift */,D1F87A2C0000000000000010 /* ICloudPlugin.swift */,+ D1F87A2C0000000000000030 /* MainViewController.swift */,+ D1F87A2C0000000000000040 /* iCloud.org.tagspaces.mobileapp.png */,+ D1F87A2C0000000000000050 /* [email protected] */,504EC30B1FED79650016851F /* Main.storyboard */,504EC30E1FED79650016851F /* Assets.xcassets */,504EC3101FED79650016851F /* LaunchScreen.storyboard */,@@ -117,7 +126,6 @@504EC3031FED79650016851F = {CreatedOnToolsVersion = 9.2;LastSwiftMigration = 1100;- ProvisioningStyle = Automatic;};};};@@ -154,6 +162,8 @@504EC30D1FED79650016851F /* Main.storyboard in Resources */,2FAD9763203C412B000D30F8 /* config.xml in Resources */,D1F87A2C0000000000000002 /* PrivacyInfo.xcprivacy in Resources */,+ D1F87A2C0000000000000041 /* iCloud.org.tagspaces.mobileapp.png in Resources */,+ D1F87A2C0000000000000051 /* [email protected] in Resources */,);runOnlyForDeploymentPostprocessing = 0;};@@ -166,6 +176,7 @@files = (504EC3081FED79650016851F /* AppDelegate.swift in Sources */,D1F87A2C0000000000000011 /* ICloudPlugin.swift in Sources */,+ D1F87A2C0000000000000031 /* MainViewController.swift in Sources */,);runOnlyForDeploymentPostprocessing = 0;};@@ -306,6 +317,7 @@buildSettings = {ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;CODE_SIGN_ENTITLEMENTS = App/App.entitlements;+ CODE_SIGN_IDENTITY = "Apple Development";CODE_SIGN_STYLE = Automatic;CURRENT_PROJECT_VERSION = 2;DEVELOPMENT_TEAM = DLK22E2679;@@ -319,6 +331,7 @@OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";PRODUCT_BUNDLE_IDENTIFIER = org.tagspaces.mobileapp;PRODUCT_NAME = TagSpaces;+ PROVISIONING_PROFILE_SPECIFIER = "";SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;SWIFT_VERSION = 5.0;TARGETED_DEVICE_FAMILY = "1,2";@@ -330,6 +343,7 @@buildSettings = {ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;CODE_SIGN_ENTITLEMENTS = App/App.entitlements;+ CODE_SIGN_IDENTITY = "Apple Development";CODE_SIGN_STYLE = Automatic;CURRENT_PROJECT_VERSION = 2;DEVELOPMENT_TEAM = DLK22E2679;@@ -342,6 +356,7 @@MARKETING_VERSION = 1.0;PRODUCT_BUNDLE_IDENTIFIER = org.tagspaces.mobileapp;PRODUCT_NAME = TagSpaces;+ PROVISIONING_PROFILE_SPECIFIER = "";SWIFT_ACTIVE_COMPILATION_CONDITIONS = "";SWIFT_VERSION = 5.0;TARGETED_DEVICE_FAMILY = "1,2";diff --git a/capacitor/ios/App/App/Base.lproj/Main.storyboard b/capacitor/ios/App/App/Base.lproj/Main.storyboardindex b44df7be8..b09af0185 100644--- a/capacitor/ios/App/App/Base.lproj/Main.storyboard+++ b/capacitor/ios/App/App/Base.lproj/Main.storyboard@@ -11,7 +11,7 @@<!--Bridge View Controller--><scene sceneID="tne-QT-ifu"><objects>- <viewController id="BYZ-38-t0r" customClass="CAPBridgeViewController" customModule="Capacitor" sceneMemberID="viewController"/>+ <viewController id="BYZ-38-t0r" customClass="MainViewController" customModule="App" customModuleProvider="target" sceneMemberID="viewController"/><placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/></objects></scene>diff --git a/capacitor/ios/App/App/MainViewController.swift b/capacitor/ios/App/App/MainViewController.swiftnew file mode 100644index 000000000..18de4c2e7--- /dev/null+++ b/capacitor/ios/App/App/MainViewController.swift@@ -0,0 +1,8 @@+import Capacitor+import UIKit++class MainViewController: CAPBridgeViewController {+ override open func capacitorDidLoad() {+ bridge?.registerPluginInstance(ICloudPlugin())+ }+}diff --git a/capacitor/ios/App/App/iCloud.org.tagspaces.mobileapp.png b/capacitor/ios/App/App/iCloud.org.tagspaces.mobileapp.pngnew file mode 100644index 000000000..184314528Binary files /dev/null and b/capacitor/ios/App/App/iCloud.org.tagspaces.mobileapp.png differdiff --git a/capacitor/ios/App/App/[email protected] b/capacitor/ios/App/App/[email protected]new file mode 100644index 000000000..0c7d0a301Binary files /dev/null and b/capacitor/ios/App/App/[email protected] differ