Skip to content

Commit 947e590

Browse files
committed
docs: add SupaDrive sample app
1 parent 4fd8252 commit 947e590

File tree

13 files changed

+748
-1
lines changed

13 files changed

+748
-1
lines changed

Examples/Examples.xcodeproj/project.pbxproj

Lines changed: 182 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10+
792404BA2C3454A9002959B3 /* SupaDriveApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 792404B92C3454A9002959B3 /* SupaDriveApp.swift */; };
11+
792404BE2C3454AA002959B3 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 792404BD2C3454AA002959B3 /* Assets.xcassets */; };
12+
792404C22C3454AA002959B3 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 792404C12C3454AA002959B3 /* Preview Assets.xcassets */; };
13+
792404E32C3473EC002959B3 /* Supabase in Frameworks */ = {isa = PBXBuildFile; productRef = 792404E22C3473EC002959B3 /* Supabase */; };
14+
792404E52C347466002959B3 /* AppView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 792404E42C347463002959B3 /* AppView.swift */; };
15+
792404E72C348620002959B3 /* AuthView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 792404E62C34861E002959B3 /* AuthView.swift */; };
1016
7928145D2CAB2CE2000B4ADB /* ResetPasswordView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7928145C2CAB2CDE000B4ADB /* ResetPasswordView.swift */; };
1117
793895CA2954ABFF0044F2B8 /* ExamplesApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 793895C92954ABFF0044F2B8 /* ExamplesApp.swift */; };
1218
793895CC2954ABFF0044F2B8 /* RootView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 793895CB2954ABFF0044F2B8 /* RootView.swift */; };
@@ -79,6 +85,13 @@
7985
/* End PBXBuildFile section */
8086

8187
/* Begin PBXFileReference section */
88+
792404B72C3454A9002959B3 /* SupaDrive.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SupaDrive.app; sourceTree = BUILT_PRODUCTS_DIR; };
89+
792404B92C3454A9002959B3 /* SupaDriveApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SupaDriveApp.swift; sourceTree = "<group>"; };
90+
792404BD2C3454AA002959B3 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
91+
792404BF2C3454AA002959B3 /* SupaDrive.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = SupaDrive.entitlements; sourceTree = "<group>"; };
92+
792404C12C3454AA002959B3 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
93+
792404E42C347463002959B3 /* AppView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppView.swift; sourceTree = "<group>"; };
94+
792404E62C34861E002959B3 /* AuthView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AuthView.swift; sourceTree = "<group>"; };
8295
7928145C2CAB2CDE000B4ADB /* ResetPasswordView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ResetPasswordView.swift; sourceTree = "<group>"; };
8396
793895C62954ABFF0044F2B8 /* Examples.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Examples.app; sourceTree = BUILT_PRODUCTS_DIR; };
8497
793895C92954ABFF0044F2B8 /* ExamplesApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExamplesApp.swift; sourceTree = "<group>"; };
@@ -151,6 +164,14 @@
151164
/* End PBXFileReference section */
152165

153166
/* Begin PBXFrameworksBuildPhase section */
167+
792404B42C3454A9002959B3 /* Frameworks */ = {
168+
isa = PBXFrameworksBuildPhase;
169+
buildActionMask = 2147483647;
170+
files = (
171+
792404E32C3473EC002959B3 /* Supabase in Frameworks */,
172+
);
173+
runOnlyForDeploymentPostprocessing = 0;
174+
};
154175
793895C32954ABFF0044F2B8 /* Frameworks */ = {
155176
isa = PBXFrameworksBuildPhase;
156177
buildActionMask = 2147483647;
@@ -184,12 +205,34 @@
184205
/* End PBXFrameworksBuildPhase section */
185206

186207
/* Begin PBXGroup section */
208+
792404B82C3454A9002959B3 /* SupaDrive */ = {
209+
isa = PBXGroup;
210+
children = (
211+
792404E62C34861E002959B3 /* AuthView.swift */,
212+
792404E42C347463002959B3 /* AppView.swift */,
213+
792404B92C3454A9002959B3 /* SupaDriveApp.swift */,
214+
792404BD2C3454AA002959B3 /* Assets.xcassets */,
215+
792404BF2C3454AA002959B3 /* SupaDrive.entitlements */,
216+
792404C02C3454AA002959B3 /* Preview Content */,
217+
);
218+
path = SupaDrive;
219+
sourceTree = "<group>";
220+
};
221+
792404C02C3454AA002959B3 /* Preview Content */ = {
222+
isa = PBXGroup;
223+
children = (
224+
792404C12C3454AA002959B3 /* Preview Assets.xcassets */,
225+
);
226+
path = "Preview Content";
227+
sourceTree = "<group>";
228+
};
187229
793895BD2954ABFF0044F2B8 = {
188230
isa = PBXGroup;
189231
children = (
190232
793895C82954ABFF0044F2B8 /* Examples */,
191233
79FEFFAD2B07873600D36347 /* UserManagement */,
192234
79D884C82B3C18830009EA4A /* SlackClone */,
235+
792404B82C3454A9002959B3 /* SupaDrive */,
193236
793895C72954ABFF0044F2B8 /* Products */,
194237
7956405A2954AC3E0088A06F /* Frameworks */,
195238
);
@@ -201,6 +244,7 @@
201244
793895C62954ABFF0044F2B8 /* Examples.app */,
202245
79FEFFAC2B07873600D36347 /* UserManagement.app */,
203246
79D884C72B3C18830009EA4A /* SlackClone.app */,
247+
792404B72C3454A9002959B3 /* SupaDrive.app */,
204248
);
205249
name = Products;
206250
sourceTree = "<group>";
@@ -350,6 +394,26 @@
350394
/* End PBXGroup section */
351395

352396
/* Begin PBXNativeTarget section */
397+
792404B62C3454A9002959B3 /* SupaDrive */ = {
398+
isa = PBXNativeTarget;
399+
buildConfigurationList = 792404DF2C3454AA002959B3 /* Build configuration list for PBXNativeTarget "SupaDrive" */;
400+
buildPhases = (
401+
792404B32C3454A9002959B3 /* Sources */,
402+
792404B42C3454A9002959B3 /* Frameworks */,
403+
792404B52C3454A9002959B3 /* Resources */,
404+
);
405+
buildRules = (
406+
);
407+
dependencies = (
408+
);
409+
name = SupaDrive;
410+
packageProductDependencies = (
411+
792404E22C3473EC002959B3 /* Supabase */,
412+
);
413+
productName = SupaDrive;
414+
productReference = 792404B72C3454A9002959B3 /* SupaDrive.app */;
415+
productType = "com.apple.product-type.application";
416+
};
353417
793895C52954ABFF0044F2B8 /* Examples */ = {
354418
isa = PBXNativeTarget;
355419
buildConfigurationList = 793895D52954AC000044F2B8 /* Build configuration list for PBXNativeTarget "Examples" */;
@@ -423,9 +487,12 @@
423487
isa = PBXProject;
424488
attributes = {
425489
BuildIndependentTargetsInParallel = 1;
426-
LastSwiftUpdateCheck = 1510;
490+
LastSwiftUpdateCheck = 1600;
427491
LastUpgradeCheck = 1510;
428492
TargetAttributes = {
493+
792404B62C3454A9002959B3 = {
494+
CreatedOnToolsVersion = 16.0;
495+
};
429496
793895C52954ABFF0044F2B8 = {
430497
CreatedOnToolsVersion = 14.1;
431498
};
@@ -459,11 +526,21 @@
459526
793895C52954ABFF0044F2B8 /* Examples */,
460527
79FEFFAB2B07873600D36347 /* UserManagement */,
461528
79D884C62B3C18830009EA4A /* SlackClone */,
529+
792404B62C3454A9002959B3 /* SupaDrive */,
462530
);
463531
};
464532
/* End PBXProject section */
465533

466534
/* Begin PBXResourcesBuildPhase section */
535+
792404B52C3454A9002959B3 /* Resources */ = {
536+
isa = PBXResourcesBuildPhase;
537+
buildActionMask = 2147483647;
538+
files = (
539+
792404C22C3454AA002959B3 /* Preview Assets.xcassets in Resources */,
540+
792404BE2C3454AA002959B3 /* Assets.xcassets in Resources */,
541+
);
542+
runOnlyForDeploymentPostprocessing = 0;
543+
};
467544
793895C42954ABFF0044F2B8 /* Resources */ = {
468545
isa = PBXResourcesBuildPhase;
469546
buildActionMask = 2147483647;
@@ -495,6 +572,16 @@
495572
/* End PBXResourcesBuildPhase section */
496573

497574
/* Begin PBXSourcesBuildPhase section */
575+
792404B32C3454A9002959B3 /* Sources */ = {
576+
isa = PBXSourcesBuildPhase;
577+
buildActionMask = 2147483647;
578+
files = (
579+
792404BA2C3454A9002959B3 /* SupaDriveApp.swift in Sources */,
580+
792404E52C347466002959B3 /* AppView.swift in Sources */,
581+
792404E72C348620002959B3 /* AuthView.swift in Sources */,
582+
);
583+
runOnlyForDeploymentPostprocessing = 0;
584+
};
498585
793895C22954ABFF0044F2B8 /* Sources */ = {
499586
isa = PBXSourcesBuildPhase;
500587
buildActionMask = 2147483647;
@@ -572,6 +659,87 @@
572659
/* End PBXSourcesBuildPhase section */
573660

574661
/* Begin XCBuildConfiguration section */
662+
792404D92C3454AA002959B3 /* Debug */ = {
663+
isa = XCBuildConfiguration;
664+
buildSettings = {
665+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
666+
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
667+
CODE_SIGN_ENTITLEMENTS = SupaDrive/SupaDrive.entitlements;
668+
CODE_SIGN_STYLE = Automatic;
669+
CURRENT_PROJECT_VERSION = 1;
670+
DEVELOPMENT_ASSET_PATHS = "\"SupaDrive/Preview Content\"";
671+
DEVELOPMENT_TEAM = ELTTE7K8TT;
672+
ENABLE_HARDENED_RUNTIME = YES;
673+
ENABLE_PREVIEWS = YES;
674+
GENERATE_INFOPLIST_FILE = YES;
675+
"INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES;
676+
"INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphonesimulator*]" = YES;
677+
"INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphoneos*]" = YES;
678+
"INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphonesimulator*]" = YES;
679+
"INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphoneos*]" = YES;
680+
"INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphonesimulator*]" = YES;
681+
"INFOPLIST_KEY_UIStatusBarStyle[sdk=iphoneos*]" = UIStatusBarStyleDefault;
682+
"INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault;
683+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
684+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
685+
IPHONEOS_DEPLOYMENT_TARGET = 18.0;
686+
LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
687+
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
688+
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
689+
MACOSX_DEPLOYMENT_TARGET = 14.5;
690+
MARKETING_VERSION = 1.0;
691+
PRODUCT_BUNDLE_IDENTIFIER = com.supabase.SupaDrive;
692+
PRODUCT_NAME = "$(TARGET_NAME)";
693+
SDKROOT = auto;
694+
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx xros xrsimulator";
695+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
696+
SWIFT_EMIT_LOC_STRINGS = YES;
697+
SWIFT_VERSION = 5.0;
698+
TARGETED_DEVICE_FAMILY = "1,2,7";
699+
XROS_DEPLOYMENT_TARGET = 2.0;
700+
};
701+
name = Debug;
702+
};
703+
792404DA2C3454AA002959B3 /* Release */ = {
704+
isa = XCBuildConfiguration;
705+
buildSettings = {
706+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
707+
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
708+
CODE_SIGN_ENTITLEMENTS = SupaDrive/SupaDrive.entitlements;
709+
CODE_SIGN_STYLE = Automatic;
710+
CURRENT_PROJECT_VERSION = 1;
711+
DEVELOPMENT_ASSET_PATHS = "\"SupaDrive/Preview Content\"";
712+
DEVELOPMENT_TEAM = ELTTE7K8TT;
713+
ENABLE_HARDENED_RUNTIME = YES;
714+
ENABLE_PREVIEWS = YES;
715+
GENERATE_INFOPLIST_FILE = YES;
716+
"INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES;
717+
"INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphonesimulator*]" = YES;
718+
"INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphoneos*]" = YES;
719+
"INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphonesimulator*]" = YES;
720+
"INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphoneos*]" = YES;
721+
"INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphonesimulator*]" = YES;
722+
"INFOPLIST_KEY_UIStatusBarStyle[sdk=iphoneos*]" = UIStatusBarStyleDefault;
723+
"INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault;
724+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
725+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
726+
IPHONEOS_DEPLOYMENT_TARGET = 18.0;
727+
LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
728+
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
729+
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
730+
MACOSX_DEPLOYMENT_TARGET = 14.5;
731+
MARKETING_VERSION = 1.0;
732+
PRODUCT_BUNDLE_IDENTIFIER = com.supabase.SupaDrive;
733+
PRODUCT_NAME = "$(TARGET_NAME)";
734+
SDKROOT = auto;
735+
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx xros xrsimulator";
736+
SWIFT_EMIT_LOC_STRINGS = YES;
737+
SWIFT_VERSION = 5.0;
738+
TARGETED_DEVICE_FAMILY = "1,2,7";
739+
XROS_DEPLOYMENT_TARGET = 2.0;
740+
};
741+
name = Release;
742+
};
575743
793895D32954AC000044F2B8 /* Debug */ = {
576744
isa = XCBuildConfiguration;
577745
buildSettings = {
@@ -928,6 +1096,15 @@
9281096
/* End XCBuildConfiguration section */
9291097

9301098
/* Begin XCConfigurationList section */
1099+
792404DF2C3454AA002959B3 /* Build configuration list for PBXNativeTarget "SupaDrive" */ = {
1100+
isa = XCConfigurationList;
1101+
buildConfigurations = (
1102+
792404D92C3454AA002959B3 /* Debug */,
1103+
792404DA2C3454AA002959B3 /* Release */,
1104+
);
1105+
defaultConfigurationIsVisible = 0;
1106+
defaultConfigurationName = Release;
1107+
};
9311108
793895C12954ABFF0044F2B8 /* Build configuration list for PBXProject "Examples" */ = {
9321109
isa = XCConfigurationList;
9331110
buildConfigurations = (
@@ -1002,6 +1179,10 @@
10021179
/* End XCRemoteSwiftPackageReference section */
10031180

10041181
/* Begin XCSwiftPackageProductDependency section */
1182+
792404E22C3473EC002959B3 /* Supabase */ = {
1183+
isa = XCSwiftPackageProductDependency;
1184+
productName = Supabase;
1185+
};
10051186
7956406C2955B3500088A06F /* SwiftUINavigation */ = {
10061187
isa = XCSwiftPackageProductDependency;
10071188
package = 7956406B2955B3500088A06F /* XCRemoteSwiftPackageReference "swiftui-navigation" */;

0 commit comments

Comments
 (0)