Skip to content

Commit

Permalink
Merge pull request #14 from SuryakantRapido/master
Browse files Browse the repository at this point in the history
Add Mapkit project with Swiftui
  • Loading branch information
SURYAKANTSHARMA authored Oct 30, 2024
2 parents 38384bb + b4e39c4 commit 966be9d
Show file tree
Hide file tree
Showing 27 changed files with 712 additions and 68 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
osx_image: xcode11
osx_image: xcode16
language: swift
script:
- xcodebuild clean build test -workspace UberCarAnimation.xcworkspace -scheme UberCarAnimation -destination 'platform=iOS Simulator,OS=13.0,name=iPhone 8' ONLY_ACTIVE_ARCH=YES
- xcodebuild clean build test -workspace UberCarAnimation.xcworkspace -scheme UberCarAnimation -destination 'platform=iOS Simulator,OS=13.0,name=iPhone 15' ONLY_ACTIVE_ARCH=YES

3 changes: 3 additions & 0 deletions CarAnimationMapKitSwiftui/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"editor.quickSuggestions": false
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,359 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 56;
objects = {

/* Begin PBXBuildFile section */
1880F5CF2C5DFFB50014D3AB /* CarAnimationMapKitSwiftuiApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1880F5CE2C5DFFB50014D3AB /* CarAnimationMapKitSwiftuiApp.swift */; };
1880F5D12C5DFFB50014D3AB /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1880F5D02C5DFFB50014D3AB /* ContentView.swift */; };
1880F5D32C5DFFB60014D3AB /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1880F5D22C5DFFB60014D3AB /* Assets.xcassets */; };
1880F5D62C5DFFB60014D3AB /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1880F5D52C5DFFB60014D3AB /* Preview Assets.xcassets */; };
1880F5DD2C5E02670014D3AB /* mapstogpx20190207_115833.gpx in Resources */ = {isa = PBXBuildFile; fileRef = 1880F5DC2C5E02670014D3AB /* mapstogpx20190207_115833.gpx */; };
1880F5E12C5E08240014D3AB /* MapViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1880F5E02C5E08240014D3AB /* MapViewModel.swift */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
1880F5CB2C5DFFB50014D3AB /* CarAnimationMapKitSwiftui.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CarAnimationMapKitSwiftui.app; sourceTree = BUILT_PRODUCTS_DIR; };
1880F5CE2C5DFFB50014D3AB /* CarAnimationMapKitSwiftuiApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CarAnimationMapKitSwiftuiApp.swift; sourceTree = "<group>"; };
1880F5D02C5DFFB50014D3AB /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
1880F5D22C5DFFB60014D3AB /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
1880F5D52C5DFFB60014D3AB /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
1880F5DC2C5E02670014D3AB /* mapstogpx20190207_115833.gpx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; name = mapstogpx20190207_115833.gpx; path = ../../UberCarAnimation/Resources/mapstogpx20190207_115833.gpx; sourceTree = "<group>"; };
1880F5E02C5E08240014D3AB /* MapViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MapViewModel.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
1880F5C82C5DFFB50014D3AB /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
1880F5C22C5DFFB40014D3AB = {
isa = PBXGroup;
children = (
1880F5CD2C5DFFB50014D3AB /* CarAnimationMapKitSwiftui */,
1880F5CC2C5DFFB50014D3AB /* Products */,
);
sourceTree = "<group>";
};
1880F5CC2C5DFFB50014D3AB /* Products */ = {
isa = PBXGroup;
children = (
1880F5CB2C5DFFB50014D3AB /* CarAnimationMapKitSwiftui.app */,
);
name = Products;
sourceTree = "<group>";
};
1880F5CD2C5DFFB50014D3AB /* CarAnimationMapKitSwiftui */ = {
isa = PBXGroup;
children = (
1880F5CE2C5DFFB50014D3AB /* CarAnimationMapKitSwiftuiApp.swift */,
1880F5D02C5DFFB50014D3AB /* ContentView.swift */,
1880F5E02C5E08240014D3AB /* MapViewModel.swift */,
1880F5DC2C5E02670014D3AB /* mapstogpx20190207_115833.gpx */,
1880F5D22C5DFFB60014D3AB /* Assets.xcassets */,
1880F5D42C5DFFB60014D3AB /* Preview Content */,
);
path = CarAnimationMapKitSwiftui;
sourceTree = "<group>";
};
1880F5D42C5DFFB60014D3AB /* Preview Content */ = {
isa = PBXGroup;
children = (
1880F5D52C5DFFB60014D3AB /* Preview Assets.xcassets */,
);
path = "Preview Content";
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
1880F5CA2C5DFFB50014D3AB /* CarAnimationMapKitSwiftui */ = {
isa = PBXNativeTarget;
buildConfigurationList = 1880F5D92C5DFFB60014D3AB /* Build configuration list for PBXNativeTarget "CarAnimationMapKitSwiftui" */;
buildPhases = (
1880F5C72C5DFFB50014D3AB /* Sources */,
1880F5C82C5DFFB50014D3AB /* Frameworks */,
1880F5C92C5DFFB50014D3AB /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = CarAnimationMapKitSwiftui;
productName = CarAnimationMapKitSwiftui;
productReference = 1880F5CB2C5DFFB50014D3AB /* CarAnimationMapKitSwiftui.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
1880F5C32C5DFFB40014D3AB /* Project object */ = {
isa = PBXProject;
attributes = {
BuildIndependentTargetsInParallel = 1;
LastSwiftUpdateCheck = 1530;
LastUpgradeCheck = 1530;
TargetAttributes = {
1880F5CA2C5DFFB50014D3AB = {
CreatedOnToolsVersion = 15.3;
};
};
};
buildConfigurationList = 1880F5C62C5DFFB40014D3AB /* Build configuration list for PBXProject "CarAnimationMapKitSwiftui" */;
compatibilityVersion = "Xcode 14.0";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 1880F5C22C5DFFB40014D3AB;
productRefGroup = 1880F5CC2C5DFFB50014D3AB /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
1880F5CA2C5DFFB50014D3AB /* CarAnimationMapKitSwiftui */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
1880F5C92C5DFFB50014D3AB /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
1880F5D62C5DFFB60014D3AB /* Preview Assets.xcassets in Resources */,
1880F5DD2C5E02670014D3AB /* mapstogpx20190207_115833.gpx in Resources */,
1880F5D32C5DFFB60014D3AB /* Assets.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
1880F5C72C5DFFB50014D3AB /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
1880F5D12C5DFFB50014D3AB /* ContentView.swift in Sources */,
1880F5CF2C5DFFB50014D3AB /* CarAnimationMapKitSwiftuiApp.swift in Sources */,
1880F5E12C5E08240014D3AB /* MapViewModel.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin XCBuildConfiguration section */
1880F5D72C5DFFB60014D3AB /* 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 = YES;
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;
};
1880F5D82C5DFFB60014D3AB /* 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 = YES;
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;
};
1880F5DA2C5DFFB60014D3AB /* 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_ASSET_PATHS = "\"CarAnimationMapKitSwiftui/Preview Content\"";
DEVELOPMENT_TEAM = 3RJD53NZ9H;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "We need your location to show your current position on the map.";
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = git.CarAnimationMapKitSwiftui;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
1880F5DB2C5DFFB60014D3AB /* 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_ASSET_PATHS = "\"CarAnimationMapKitSwiftui/Preview Content\"";
DEVELOPMENT_TEAM = 3RJD53NZ9H;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "We need your location to show your current position on the map.";
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = git.CarAnimationMapKitSwiftui;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
1880F5C62C5DFFB40014D3AB /* Build configuration list for PBXProject "CarAnimationMapKitSwiftui" */ = {
isa = XCConfigurationList;
buildConfigurations = (
1880F5D72C5DFFB60014D3AB /* Debug */,
1880F5D82C5DFFB60014D3AB /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
1880F5D92C5DFFB60014D3AB /* Build configuration list for PBXNativeTarget "CarAnimationMapKitSwiftui" */ = {
isa = XCConfigurationList;
buildConfigurations = (
1880F5DA2C5DFFB60014D3AB /* Debug */,
1880F5DB2C5DFFB60014D3AB /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 1880F5C32C5DFFB40014D3AB /* Project object */;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
Loading

0 comments on commit 966be9d

Please sign in to comment.