Skip to content

Commit 97888eb

Browse files
committed
docs: add SupaDrive sample app
1 parent b35f47b commit 97888eb

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
793895CA2954ABFF0044F2B8 /* ExamplesApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 793895C92954ABFF0044F2B8 /* ExamplesApp.swift */; };
1117
793895CC2954ABFF0044F2B8 /* RootView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 793895CB2954ABFF0044F2B8 /* RootView.swift */; };
1218
793895CE2954AC000044F2B8 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 793895CD2954AC000044F2B8 /* Assets.xcassets */; };
@@ -76,6 +82,13 @@
7682
/* End PBXBuildFile section */
7783

7884
/* Begin PBXFileReference section */
85+
792404B72C3454A9002959B3 /* SupaDrive.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SupaDrive.app; sourceTree = BUILT_PRODUCTS_DIR; };
86+
792404B92C3454A9002959B3 /* SupaDriveApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SupaDriveApp.swift; sourceTree = "<group>"; };
87+
792404BD2C3454AA002959B3 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
88+
792404BF2C3454AA002959B3 /* SupaDrive.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = SupaDrive.entitlements; sourceTree = "<group>"; };
89+
792404C12C3454AA002959B3 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
90+
792404E42C347463002959B3 /* AppView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppView.swift; sourceTree = "<group>"; };
91+
792404E62C34861E002959B3 /* AuthView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AuthView.swift; sourceTree = "<group>"; };
7992
793895C62954ABFF0044F2B8 /* Examples.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Examples.app; sourceTree = BUILT_PRODUCTS_DIR; };
8093
793895C92954ABFF0044F2B8 /* ExamplesApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExamplesApp.swift; sourceTree = "<group>"; };
8194
793895CB2954ABFF0044F2B8 /* RootView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RootView.swift; sourceTree = "<group>"; };
@@ -145,6 +158,14 @@
145158
/* End PBXFileReference section */
146159

147160
/* Begin PBXFrameworksBuildPhase section */
161+
792404B42C3454A9002959B3 /* Frameworks */ = {
162+
isa = PBXFrameworksBuildPhase;
163+
buildActionMask = 2147483647;
164+
files = (
165+
792404E32C3473EC002959B3 /* Supabase in Frameworks */,
166+
);
167+
runOnlyForDeploymentPostprocessing = 0;
168+
};
148169
793895C32954ABFF0044F2B8 /* Frameworks */ = {
149170
isa = PBXFrameworksBuildPhase;
150171
buildActionMask = 2147483647;
@@ -178,12 +199,34 @@
178199
/* End PBXFrameworksBuildPhase section */
179200

180201
/* Begin PBXGroup section */
202+
792404B82C3454A9002959B3 /* SupaDrive */ = {
203+
isa = PBXGroup;
204+
children = (
205+
792404E62C34861E002959B3 /* AuthView.swift */,
206+
792404E42C347463002959B3 /* AppView.swift */,
207+
792404B92C3454A9002959B3 /* SupaDriveApp.swift */,
208+
792404BD2C3454AA002959B3 /* Assets.xcassets */,
209+
792404BF2C3454AA002959B3 /* SupaDrive.entitlements */,
210+
792404C02C3454AA002959B3 /* Preview Content */,
211+
);
212+
path = SupaDrive;
213+
sourceTree = "<group>";
214+
};
215+
792404C02C3454AA002959B3 /* Preview Content */ = {
216+
isa = PBXGroup;
217+
children = (
218+
792404C12C3454AA002959B3 /* Preview Assets.xcassets */,
219+
);
220+
path = "Preview Content";
221+
sourceTree = "<group>";
222+
};
181223
793895BD2954ABFF0044F2B8 = {
182224
isa = PBXGroup;
183225
children = (
184226
793895C82954ABFF0044F2B8 /* Examples */,
185227
79FEFFAD2B07873600D36347 /* UserManagement */,
186228
79D884C82B3C18830009EA4A /* SlackClone */,
229+
792404B82C3454A9002959B3 /* SupaDrive */,
187230
793895C72954ABFF0044F2B8 /* Products */,
188231
7956405A2954AC3E0088A06F /* Frameworks */,
189232
);
@@ -195,6 +238,7 @@
195238
793895C62954ABFF0044F2B8 /* Examples.app */,
196239
79FEFFAC2B07873600D36347 /* UserManagement.app */,
197240
79D884C72B3C18830009EA4A /* SlackClone.app */,
241+
792404B72C3454A9002959B3 /* SupaDrive.app */,
198242
);
199243
name = Products;
200244
sourceTree = "<group>";
@@ -341,6 +385,26 @@
341385
/* End PBXGroup section */
342386

343387
/* Begin PBXNativeTarget section */
388+
792404B62C3454A9002959B3 /* SupaDrive */ = {
389+
isa = PBXNativeTarget;
390+
buildConfigurationList = 792404DF2C3454AA002959B3 /* Build configuration list for PBXNativeTarget "SupaDrive" */;
391+
buildPhases = (
392+
792404B32C3454A9002959B3 /* Sources */,
393+
792404B42C3454A9002959B3 /* Frameworks */,
394+
792404B52C3454A9002959B3 /* Resources */,
395+
);
396+
buildRules = (
397+
);
398+
dependencies = (
399+
);
400+
name = SupaDrive;
401+
packageProductDependencies = (
402+
792404E22C3473EC002959B3 /* Supabase */,
403+
);
404+
productName = SupaDrive;
405+
productReference = 792404B72C3454A9002959B3 /* SupaDrive.app */;
406+
productType = "com.apple.product-type.application";
407+
};
344408
793895C52954ABFF0044F2B8 /* Examples */ = {
345409
isa = PBXNativeTarget;
346410
buildConfigurationList = 793895D52954AC000044F2B8 /* Build configuration list for PBXNativeTarget "Examples" */;
@@ -414,9 +478,12 @@
414478
isa = PBXProject;
415479
attributes = {
416480
BuildIndependentTargetsInParallel = 1;
417-
LastSwiftUpdateCheck = 1510;
481+
LastSwiftUpdateCheck = 1600;
418482
LastUpgradeCheck = 1510;
419483
TargetAttributes = {
484+
792404B62C3454A9002959B3 = {
485+
CreatedOnToolsVersion = 16.0;
486+
};
420487
793895C52954ABFF0044F2B8 = {
421488
CreatedOnToolsVersion = 14.1;
422489
};
@@ -450,11 +517,21 @@
450517
793895C52954ABFF0044F2B8 /* Examples */,
451518
79FEFFAB2B07873600D36347 /* UserManagement */,
452519
79D884C62B3C18830009EA4A /* SlackClone */,
520+
792404B62C3454A9002959B3 /* SupaDrive */,
453521
);
454522
};
455523
/* End PBXProject section */
456524

457525
/* Begin PBXResourcesBuildPhase section */
526+
792404B52C3454A9002959B3 /* Resources */ = {
527+
isa = PBXResourcesBuildPhase;
528+
buildActionMask = 2147483647;
529+
files = (
530+
792404C22C3454AA002959B3 /* Preview Assets.xcassets in Resources */,
531+
792404BE2C3454AA002959B3 /* Assets.xcassets in Resources */,
532+
);
533+
runOnlyForDeploymentPostprocessing = 0;
534+
};
458535
793895C42954ABFF0044F2B8 /* Resources */ = {
459536
isa = PBXResourcesBuildPhase;
460537
buildActionMask = 2147483647;
@@ -485,6 +562,16 @@
485562
/* End PBXResourcesBuildPhase section */
486563

487564
/* Begin PBXSourcesBuildPhase section */
565+
792404B32C3454A9002959B3 /* Sources */ = {
566+
isa = PBXSourcesBuildPhase;
567+
buildActionMask = 2147483647;
568+
files = (
569+
792404BA2C3454A9002959B3 /* SupaDriveApp.swift in Sources */,
570+
792404E52C347466002959B3 /* AppView.swift in Sources */,
571+
792404E72C348620002959B3 /* AuthView.swift in Sources */,
572+
);
573+
runOnlyForDeploymentPostprocessing = 0;
574+
};
488575
793895C22954ABFF0044F2B8 /* Sources */ = {
489576
isa = PBXSourcesBuildPhase;
490577
buildActionMask = 2147483647;
@@ -560,6 +647,87 @@
560647
/* End PBXSourcesBuildPhase section */
561648

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

9061074
/* Begin XCConfigurationList section */
1075+
792404DF2C3454AA002959B3 /* Build configuration list for PBXNativeTarget "SupaDrive" */ = {
1076+
isa = XCConfigurationList;
1077+
buildConfigurations = (
1078+
792404D92C3454AA002959B3 /* Debug */,
1079+
792404DA2C3454AA002959B3 /* Release */,
1080+
);
1081+
defaultConfigurationIsVisible = 0;
1082+
defaultConfigurationName = Release;
1083+
};
9071084
793895C12954ABFF0044F2B8 /* Build configuration list for PBXProject "Examples" */ = {
9081085
isa = XCConfigurationList;
9091086
buildConfigurations = (
@@ -978,6 +1155,10 @@
9781155
/* End XCRemoteSwiftPackageReference section */
9791156

9801157
/* Begin XCSwiftPackageProductDependency section */
1158+
792404E22C3473EC002959B3 /* Supabase */ = {
1159+
isa = XCSwiftPackageProductDependency;
1160+
productName = Supabase;
1161+
};
9811162
7956406C2955B3500088A06F /* SwiftUINavigation */ = {
9821163
isa = XCSwiftPackageProductDependency;
9831164
package = 7956406B2955B3500088A06F /* XCRemoteSwiftPackageReference "swiftui-navigation" */;

0 commit comments

Comments
 (0)