Skip to content

Commit 06a8c26

Browse files
committed
docs: add SupaDrive sample app
1 parent 8a80aae commit 06a8c26

File tree

14 files changed

+753
-6
lines changed

14 files changed

+753
-6
lines changed

Examples/Examples.xcodeproj/project.pbxproj

+182-1
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 */; };
@@ -75,6 +81,13 @@
7581
/* End PBXBuildFile section */
7682

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

145158
/* Begin PBXFrameworksBuildPhase section */
159+
792404B42C3454A9002959B3 /* Frameworks */ = {
160+
isa = PBXFrameworksBuildPhase;
161+
buildActionMask = 2147483647;
162+
files = (
163+
792404E32C3473EC002959B3 /* Supabase in Frameworks */,
164+
);
165+
runOnlyForDeploymentPostprocessing = 0;
166+
};
146167
793895C32954ABFF0044F2B8 /* Frameworks */ = {
147168
isa = PBXFrameworksBuildPhase;
148169
buildActionMask = 2147483647;
@@ -176,12 +197,34 @@
176197
/* End PBXFrameworksBuildPhase section */
177198

178199
/* Begin PBXGroup section */
200+
792404B82C3454A9002959B3 /* SupaDrive */ = {
201+
isa = PBXGroup;
202+
children = (
203+
792404E62C34861E002959B3 /* AuthView.swift */,
204+
792404E42C347463002959B3 /* AppView.swift */,
205+
792404B92C3454A9002959B3 /* SupaDriveApp.swift */,
206+
792404BD2C3454AA002959B3 /* Assets.xcassets */,
207+
792404BF2C3454AA002959B3 /* SupaDrive.entitlements */,
208+
792404C02C3454AA002959B3 /* Preview Content */,
209+
);
210+
path = SupaDrive;
211+
sourceTree = "<group>";
212+
};
213+
792404C02C3454AA002959B3 /* Preview Content */ = {
214+
isa = PBXGroup;
215+
children = (
216+
792404C12C3454AA002959B3 /* Preview Assets.xcassets */,
217+
);
218+
path = "Preview Content";
219+
sourceTree = "<group>";
220+
};
179221
793895BD2954ABFF0044F2B8 = {
180222
isa = PBXGroup;
181223
children = (
182224
793895C82954ABFF0044F2B8 /* Examples */,
183225
79FEFFAD2B07873600D36347 /* UserManagement */,
184226
79D884C82B3C18830009EA4A /* SlackClone */,
227+
792404B82C3454A9002959B3 /* SupaDrive */,
185228
793895C72954ABFF0044F2B8 /* Products */,
186229
7956405A2954AC3E0088A06F /* Frameworks */,
187230
);
@@ -193,6 +236,7 @@
193236
793895C62954ABFF0044F2B8 /* Examples.app */,
194237
79FEFFAC2B07873600D36347 /* UserManagement.app */,
195238
79D884C72B3C18830009EA4A /* SlackClone.app */,
239+
792404B72C3454A9002959B3 /* SupaDrive.app */,
196240
);
197241
name = Products;
198242
sourceTree = "<group>";
@@ -338,6 +382,26 @@
338382
/* End PBXGroup section */
339383

340384
/* Begin PBXNativeTarget section */
385+
792404B62C3454A9002959B3 /* SupaDrive */ = {
386+
isa = PBXNativeTarget;
387+
buildConfigurationList = 792404DF2C3454AA002959B3 /* Build configuration list for PBXNativeTarget "SupaDrive" */;
388+
buildPhases = (
389+
792404B32C3454A9002959B3 /* Sources */,
390+
792404B42C3454A9002959B3 /* Frameworks */,
391+
792404B52C3454A9002959B3 /* Resources */,
392+
);
393+
buildRules = (
394+
);
395+
dependencies = (
396+
);
397+
name = SupaDrive;
398+
packageProductDependencies = (
399+
792404E22C3473EC002959B3 /* Supabase */,
400+
);
401+
productName = SupaDrive;
402+
productReference = 792404B72C3454A9002959B3 /* SupaDrive.app */;
403+
productType = "com.apple.product-type.application";
404+
};
341405
793895C52954ABFF0044F2B8 /* Examples */ = {
342406
isa = PBXNativeTarget;
343407
buildConfigurationList = 793895D52954AC000044F2B8 /* Build configuration list for PBXNativeTarget "Examples" */;
@@ -411,9 +475,12 @@
411475
isa = PBXProject;
412476
attributes = {
413477
BuildIndependentTargetsInParallel = 1;
414-
LastSwiftUpdateCheck = 1510;
478+
LastSwiftUpdateCheck = 1600;
415479
LastUpgradeCheck = 1510;
416480
TargetAttributes = {
481+
792404B62C3454A9002959B3 = {
482+
CreatedOnToolsVersion = 16.0;
483+
};
417484
793895C52954ABFF0044F2B8 = {
418485
CreatedOnToolsVersion = 14.1;
419486
};
@@ -447,11 +514,21 @@
447514
793895C52954ABFF0044F2B8 /* Examples */,
448515
79FEFFAB2B07873600D36347 /* UserManagement */,
449516
79D884C62B3C18830009EA4A /* SlackClone */,
517+
792404B62C3454A9002959B3 /* SupaDrive */,
450518
);
451519
};
452520
/* End PBXProject section */
453521

454522
/* Begin PBXResourcesBuildPhase section */
523+
792404B52C3454A9002959B3 /* Resources */ = {
524+
isa = PBXResourcesBuildPhase;
525+
buildActionMask = 2147483647;
526+
files = (
527+
792404C22C3454AA002959B3 /* Preview Assets.xcassets in Resources */,
528+
792404BE2C3454AA002959B3 /* Assets.xcassets in Resources */,
529+
);
530+
runOnlyForDeploymentPostprocessing = 0;
531+
};
455532
793895C42954ABFF0044F2B8 /* Resources */ = {
456533
isa = PBXResourcesBuildPhase;
457534
buildActionMask = 2147483647;
@@ -482,6 +559,16 @@
482559
/* End PBXResourcesBuildPhase section */
483560

484561
/* Begin PBXSourcesBuildPhase section */
562+
792404B32C3454A9002959B3 /* Sources */ = {
563+
isa = PBXSourcesBuildPhase;
564+
buildActionMask = 2147483647;
565+
files = (
566+
792404BA2C3454A9002959B3 /* SupaDriveApp.swift in Sources */,
567+
792404E52C347466002959B3 /* AppView.swift in Sources */,
568+
792404E72C348620002959B3 /* AuthView.swift in Sources */,
569+
);
570+
runOnlyForDeploymentPostprocessing = 0;
571+
};
485572
793895C22954ABFF0044F2B8 /* Sources */ = {
486573
isa = PBXSourcesBuildPhase;
487574
buildActionMask = 2147483647;
@@ -556,6 +643,87 @@
556643
/* End PBXSourcesBuildPhase section */
557644

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

9021070
/* Begin XCConfigurationList section */
1071+
792404DF2C3454AA002959B3 /* Build configuration list for PBXNativeTarget "SupaDrive" */ = {
1072+
isa = XCConfigurationList;
1073+
buildConfigurations = (
1074+
792404D92C3454AA002959B3 /* Debug */,
1075+
792404DA2C3454AA002959B3 /* Release */,
1076+
);
1077+
defaultConfigurationIsVisible = 0;
1078+
defaultConfigurationName = Release;
1079+
};
9031080
793895C12954ABFF0044F2B8 /* Build configuration list for PBXProject "Examples" */ = {
9041081
isa = XCConfigurationList;
9051082
buildConfigurations = (
@@ -974,6 +1151,10 @@
9741151
/* End XCRemoteSwiftPackageReference section */
9751152

9761153
/* Begin XCSwiftPackageProductDependency section */
1154+
792404E22C3473EC002959B3 /* Supabase */ = {
1155+
isa = XCSwiftPackageProductDependency;
1156+
productName = Supabase;
1157+
};
9771158
7956406C2955B3500088A06F /* SwiftUINavigation */ = {
9781159
isa = XCSwiftPackageProductDependency;
9791160
package = 7956406B2955B3500088A06F /* XCRemoteSwiftPackageReference "swiftui-navigation" */;

0 commit comments

Comments
 (0)