-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds a basic example for the full service DAI in Swift.
PiperOrigin-RevId: 643356762
- Loading branch information
Showing
11 changed files
with
842 additions
and
0 deletions.
There are no files selected for viewing
368 changes: 368 additions & 0 deletions
368
Swift/BasicExample/BasicExample.xcodeproj/project.pbxproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,368 @@ | ||
// !$*UTF8*$! | ||
{ | ||
archiveVersion = 1; | ||
classes = { | ||
}; | ||
objectVersion = 56; | ||
objects = { | ||
|
||
/* Begin PBXBuildFile section */ | ||
D20D1DC82C1652260021D157 /* iPhone.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D20D1DC62C1652260021D157 /* iPhone.storyboard */; }; | ||
D20D1DC92C1652260021D157 /* iPad.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D20D1DC72C1652260021D157 /* iPad.storyboard */; }; | ||
D21627942C165053004B08EF /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = D21627932C165053004B08EF /* AppDelegate.swift */; }; | ||
D21627982C165053004B08EF /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = D21627972C165053004B08EF /* ViewController.swift */; }; | ||
D21627A02C165055004B08EF /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D216279F2C165055004B08EF /* Assets.xcassets */; }; | ||
/* End PBXBuildFile section */ | ||
|
||
/* Begin PBXFileReference section */ | ||
D20D1DC62C1652260021D157 /* iPhone.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = iPhone.storyboard; sourceTree = "<group>"; }; | ||
D20D1DC72C1652260021D157 /* iPad.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = iPad.storyboard; sourceTree = "<group>"; }; | ||
D21627902C165053004B08EF /* BasicExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = BasicExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
D21627932C165053004B08EF /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; }; | ||
D21627972C165053004B08EF /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; }; | ||
D216279F2C165055004B08EF /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; }; | ||
D21627A42C165055004B08EF /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; | ||
/* End PBXFileReference section */ | ||
|
||
/* Begin PBXFrameworksBuildPhase section */ | ||
D216278D2C165053004B08EF /* Frameworks */ = { | ||
isa = PBXFrameworksBuildPhase; | ||
buildActionMask = 2147483647; | ||
files = ( | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
/* End PBXFrameworksBuildPhase section */ | ||
|
||
/* Begin PBXGroup section */ | ||
C3F09BE363D05255D29BD1ED /* Pods */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
); | ||
path = Pods; | ||
sourceTree = "<group>"; | ||
}; | ||
D21627872C165053004B08EF = { | ||
isa = PBXGroup; | ||
children = ( | ||
D21627922C165053004B08EF /* BasicExample */, | ||
D21627912C165053004B08EF /* Products */, | ||
C3F09BE363D05255D29BD1ED /* Pods */, | ||
); | ||
sourceTree = "<group>"; | ||
}; | ||
D21627912C165053004B08EF /* Products */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
D21627902C165053004B08EF /* BasicExample.app */, | ||
); | ||
name = Products; | ||
sourceTree = "<group>"; | ||
}; | ||
D21627922C165053004B08EF /* BasicExample */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
D21627932C165053004B08EF /* AppDelegate.swift */, | ||
D21627972C165053004B08EF /* ViewController.swift */, | ||
D216279F2C165055004B08EF /* Assets.xcassets */, | ||
D20D1DC72C1652260021D157 /* iPad.storyboard */, | ||
D20D1DC62C1652260021D157 /* iPhone.storyboard */, | ||
D21627A42C165055004B08EF /* Info.plist */, | ||
); | ||
name = BasicExample; | ||
path = app; | ||
sourceTree = "<group>"; | ||
}; | ||
/* End PBXGroup section */ | ||
|
||
/* Begin PBXNativeTarget section */ | ||
D216278F2C165053004B08EF /* BasicExample */ = { | ||
isa = PBXNativeTarget; | ||
buildConfigurationList = D21627A72C165055004B08EF /* Build configuration list for PBXNativeTarget "BasicExample" */; | ||
buildPhases = ( | ||
D216278C2C165053004B08EF /* Sources */, | ||
D216278D2C165053004B08EF /* Frameworks */, | ||
D216278E2C165053004B08EF /* Resources */, | ||
); | ||
buildRules = ( | ||
); | ||
dependencies = ( | ||
); | ||
name = BasicExample; | ||
productName = BasicExample; | ||
productReference = D21627902C165053004B08EF /* BasicExample.app */; | ||
productType = "com.apple.product-type.application"; | ||
}; | ||
/* End PBXNativeTarget section */ | ||
|
||
/* Begin PBXProject section */ | ||
D21627882C165053004B08EF /* Project object */ = { | ||
isa = PBXProject; | ||
attributes = { | ||
BuildIndependentTargetsInParallel = 1; | ||
LastSwiftUpdateCheck = 1530; | ||
LastUpgradeCheck = 1530; | ||
TargetAttributes = { | ||
D216278F2C165053004B08EF = { | ||
CreatedOnToolsVersion = 15.3; | ||
}; | ||
}; | ||
}; | ||
buildConfigurationList = D216278B2C165053004B08EF /* Build configuration list for PBXProject "BasicExample" */; | ||
compatibilityVersion = "Xcode 14.0"; | ||
developmentRegion = en; | ||
hasScannedForEncodings = 0; | ||
knownRegions = ( | ||
en, | ||
Base, | ||
); | ||
mainGroup = D21627872C165053004B08EF; | ||
productRefGroup = D21627912C165053004B08EF /* Products */; | ||
projectDirPath = ""; | ||
projectRoot = ""; | ||
targets = ( | ||
D216278F2C165053004B08EF /* BasicExample */, | ||
); | ||
}; | ||
/* End PBXProject section */ | ||
|
||
/* Begin PBXResourcesBuildPhase section */ | ||
D216278E2C165053004B08EF /* Resources */ = { | ||
isa = PBXResourcesBuildPhase; | ||
buildActionMask = 2147483647; | ||
files = ( | ||
D21627A02C165055004B08EF /* Assets.xcassets in Resources */, | ||
D20D1DC92C1652260021D157 /* iPad.storyboard in Resources */, | ||
D20D1DC82C1652260021D157 /* iPhone.storyboard in Resources */, | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
/* End PBXResourcesBuildPhase section */ | ||
|
||
/* Begin PBXSourcesBuildPhase section */ | ||
D216278C2C165053004B08EF /* Sources */ = { | ||
isa = PBXSourcesBuildPhase; | ||
buildActionMask = 2147483647; | ||
files = ( | ||
D21627982C165053004B08EF /* ViewController.swift in Sources */, | ||
D21627942C165053004B08EF /* AppDelegate.swift in Sources */, | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
/* End PBXSourcesBuildPhase section */ | ||
|
||
/* Begin XCBuildConfiguration section */ | ||
D21627A52C165055004B08EF /* Debug */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
ALWAYS_SEARCH_USER_PATHS = NO; | ||
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; | ||
CLANG_ANALYZER_NONNULL = YES; | ||
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; | ||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; | ||
CLANG_ENABLE_MODULES = YES; | ||
CLANG_ENABLE_OBJC_ARC = YES; | ||
CLANG_ENABLE_OBJC_WEAK = YES; | ||
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; | ||
CLANG_WARN_BOOL_CONVERSION = YES; | ||
CLANG_WARN_COMMA = YES; | ||
CLANG_WARN_CONSTANT_CONVERSION = YES; | ||
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; | ||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | ||
CLANG_WARN_DOCUMENTATION_COMMENTS = YES; | ||
CLANG_WARN_EMPTY_BODY = YES; | ||
CLANG_WARN_ENUM_CONVERSION = YES; | ||
CLANG_WARN_INFINITE_RECURSION = YES; | ||
CLANG_WARN_INT_CONVERSION = YES; | ||
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; | ||
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; | ||
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; | ||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | ||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; | ||
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; | ||
CLANG_WARN_STRICT_PROTOTYPES = YES; | ||
CLANG_WARN_SUSPICIOUS_MOVE = YES; | ||
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; | ||
CLANG_WARN_UNREACHABLE_CODE = YES; | ||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | ||
COPY_PHASE_STRIP = NO; | ||
DEBUG_INFORMATION_FORMAT = dwarf; | ||
ENABLE_STRICT_OBJC_MSGSEND = YES; | ||
ENABLE_TESTABILITY = YES; | ||
ENABLE_USER_SCRIPT_SANDBOXING = NO; | ||
GCC_C_LANGUAGE_STANDARD = gnu17; | ||
GCC_DYNAMIC_NO_PIC = NO; | ||
GCC_NO_COMMON_BLOCKS = YES; | ||
GCC_OPTIMIZATION_LEVEL = 0; | ||
GCC_PREPROCESSOR_DEFINITIONS = ( | ||
"DEBUG=1", | ||
"$(inherited)", | ||
); | ||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | ||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | ||
GCC_WARN_UNDECLARED_SELECTOR = YES; | ||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | ||
GCC_WARN_UNUSED_FUNCTION = YES; | ||
GCC_WARN_UNUSED_VARIABLE = YES; | ||
IPHONEOS_DEPLOYMENT_TARGET = 17.4; | ||
LOCALIZATION_PREFERS_STRING_CATALOGS = YES; | ||
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; | ||
MTL_FAST_MATH = YES; | ||
ONLY_ACTIVE_ARCH = YES; | ||
SDKROOT = iphoneos; | ||
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; | ||
SWIFT_OPTIMIZATION_LEVEL = "-Onone"; | ||
}; | ||
name = Debug; | ||
}; | ||
D21627A62C165055004B08EF /* Release */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
ALWAYS_SEARCH_USER_PATHS = NO; | ||
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; | ||
CLANG_ANALYZER_NONNULL = YES; | ||
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; | ||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; | ||
CLANG_ENABLE_MODULES = YES; | ||
CLANG_ENABLE_OBJC_ARC = YES; | ||
CLANG_ENABLE_OBJC_WEAK = YES; | ||
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; | ||
CLANG_WARN_BOOL_CONVERSION = YES; | ||
CLANG_WARN_COMMA = YES; | ||
CLANG_WARN_CONSTANT_CONVERSION = YES; | ||
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; | ||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | ||
CLANG_WARN_DOCUMENTATION_COMMENTS = YES; | ||
CLANG_WARN_EMPTY_BODY = YES; | ||
CLANG_WARN_ENUM_CONVERSION = YES; | ||
CLANG_WARN_INFINITE_RECURSION = YES; | ||
CLANG_WARN_INT_CONVERSION = YES; | ||
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; | ||
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; | ||
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; | ||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | ||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; | ||
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; | ||
CLANG_WARN_STRICT_PROTOTYPES = YES; | ||
CLANG_WARN_SUSPICIOUS_MOVE = YES; | ||
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; | ||
CLANG_WARN_UNREACHABLE_CODE = YES; | ||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | ||
COPY_PHASE_STRIP = NO; | ||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; | ||
ENABLE_NS_ASSERTIONS = NO; | ||
ENABLE_STRICT_OBJC_MSGSEND = YES; | ||
ENABLE_USER_SCRIPT_SANDBOXING = NO; | ||
GCC_C_LANGUAGE_STANDARD = gnu17; | ||
GCC_NO_COMMON_BLOCKS = YES; | ||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | ||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | ||
GCC_WARN_UNDECLARED_SELECTOR = YES; | ||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | ||
GCC_WARN_UNUSED_FUNCTION = YES; | ||
GCC_WARN_UNUSED_VARIABLE = YES; | ||
IPHONEOS_DEPLOYMENT_TARGET = 17.4; | ||
LOCALIZATION_PREFERS_STRING_CATALOGS = YES; | ||
MTL_ENABLE_DEBUG_INFO = NO; | ||
MTL_FAST_MATH = YES; | ||
SDKROOT = iphoneos; | ||
SWIFT_COMPILATION_MODE = wholemodule; | ||
VALIDATE_PRODUCT = YES; | ||
}; | ||
name = Release; | ||
}; | ||
D21627A82C165055004B08EF /* Debug */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | ||
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; | ||
CODE_SIGN_STYLE = Automatic; | ||
CURRENT_PROJECT_VERSION = 1; | ||
DEVELOPMENT_TEAM = Z95L3YYF93; | ||
ENABLE_USER_SCRIPT_SANDBOXING = NO; | ||
GENERATE_INFOPLIST_FILE = YES; | ||
INFOPLIST_FILE = app/Info.plist; | ||
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; | ||
INFOPLIST_KEY_UILaunchStoryboardName = iPhone.storyboard; | ||
INFOPLIST_KEY_UIMainStoryboardFile = iPhone; | ||
INFOPLIST_KEY_UIRequiredDeviceCapabilities = arm64; | ||
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait; | ||
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; | ||
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; | ||
LD_RUNPATH_SEARCH_PATHS = ( | ||
"$(inherited)", | ||
"@executable_path/Frameworks", | ||
); | ||
MARKETING_VERSION = 1.0; | ||
PRODUCT_BUNDLE_IDENTIFIER = google.BasicExample; | ||
PRODUCT_NAME = "$(TARGET_NAME)"; | ||
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; | ||
SUPPORTS_MACCATALYST = NO; | ||
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; | ||
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; | ||
SWIFT_EMIT_LOC_STRINGS = YES; | ||
SWIFT_VERSION = 5.0; | ||
TARGETED_DEVICE_FAMILY = "1,2"; | ||
}; | ||
name = Debug; | ||
}; | ||
D21627A92C165055004B08EF /* Release */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | ||
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; | ||
CODE_SIGN_STYLE = Automatic; | ||
CURRENT_PROJECT_VERSION = 1; | ||
DEVELOPMENT_TEAM = Z95L3YYF93; | ||
ENABLE_USER_SCRIPT_SANDBOXING = NO; | ||
GENERATE_INFOPLIST_FILE = YES; | ||
INFOPLIST_FILE = app/Info.plist; | ||
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; | ||
INFOPLIST_KEY_UILaunchStoryboardName = iPhone.storyboard; | ||
INFOPLIST_KEY_UIMainStoryboardFile = iPhone; | ||
INFOPLIST_KEY_UIRequiredDeviceCapabilities = arm64; | ||
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait; | ||
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; | ||
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; | ||
LD_RUNPATH_SEARCH_PATHS = ( | ||
"$(inherited)", | ||
"@executable_path/Frameworks", | ||
); | ||
MARKETING_VERSION = 1.0; | ||
PRODUCT_BUNDLE_IDENTIFIER = google.BasicExample; | ||
PRODUCT_NAME = "$(TARGET_NAME)"; | ||
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; | ||
SUPPORTS_MACCATALYST = NO; | ||
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; | ||
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; | ||
SWIFT_EMIT_LOC_STRINGS = YES; | ||
SWIFT_VERSION = 5.0; | ||
TARGETED_DEVICE_FAMILY = "1,2"; | ||
}; | ||
name = Release; | ||
}; | ||
/* End XCBuildConfiguration section */ | ||
|
||
/* Begin XCConfigurationList section */ | ||
D216278B2C165053004B08EF /* Build configuration list for PBXProject "BasicExample" */ = { | ||
isa = XCConfigurationList; | ||
buildConfigurations = ( | ||
D21627A52C165055004B08EF /* Debug */, | ||
D21627A62C165055004B08EF /* Release */, | ||
); | ||
defaultConfigurationIsVisible = 0; | ||
defaultConfigurationName = Release; | ||
}; | ||
D21627A72C165055004B08EF /* Build configuration list for PBXNativeTarget "BasicExample" */ = { | ||
isa = XCConfigurationList; | ||
buildConfigurations = ( | ||
D21627A82C165055004B08EF /* Debug */, | ||
D21627A92C165055004B08EF /* Release */, | ||
); | ||
defaultConfigurationIsVisible = 0; | ||
defaultConfigurationName = Release; | ||
}; | ||
/* End XCConfigurationList section */ | ||
}; | ||
rootObject = D21627882C165053004B08EF /* Project object */; | ||
} |
Oops, something went wrong.