diff --git a/Cargo.lock b/Cargo.lock index 19ea262..d5c05cf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2745,15 +2745,6 @@ version = "0.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e53debba6bda7a793e5f99b8dacf19e626084f525f7829104ba9898f367d85ff" -[[package]] -name = "mobile" -version = "0.1.0" -dependencies = [ - "bevy", - "cpal", - "ttt_ce", -] - [[package]] name = "naga" version = "0.19.2" diff --git a/Cargo.toml b/Cargo.toml index f9c9f11..8fe1ced 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,9 +6,6 @@ authors = ["Mikolaj Wojciech 'Nimfer' Gorski"] # ToDo: you are the author ;) edition = "2021" exclude = ["dist", "build", "assets", "credits"] -[workspace] -members = ["mobile"] - [profile.dev.package."*"] opt-level = 3 diff --git a/build/android/res/mipmap-mdpi/icon.png b/build/android/res/mipmap-mdpi/icon.png deleted file mode 100644 index 63a5cd3..0000000 Binary files a/build/android/res/mipmap-mdpi/icon.png and /dev/null differ diff --git a/build/windows/installer/Package.wxs b/build/windows/installer/Package.wxs index 0d47ad1..b5c2d3c 100644 --- a/build/windows/installer/Package.wxs +++ b/build/windows/installer/Package.wxs @@ -1,8 +1,8 @@ &2 - exit 2 - fi - - # Intel iOS simulator - export CFLAGS_x86_64_apple_ios="-target x86_64-apple-ios" - cargo rustc --crate-type staticlib --lib $RELFLAG --target x86_64-apple-ios - ;; - - arm64) - if [ $IS_SIMULATOR -eq 0 ]; then - # Hardware iOS targets - cargo rustc --crate-type staticlib --lib $RELFLAG --target aarch64-apple-ios - else - # M1 iOS simulator -- currently in Nightly only and requires to build `libstd` - cargo rustc --crate-type staticlib --lib $RELFLAG --target aarch64-apple-ios-sim - fi - esac -done diff --git a/mobile/ios-src/Assets.xcassets/AppIcon.appiconset/Contents.json b/mobile/ios-src/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 5a60908..0000000 --- a/mobile/ios-src/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "images" : [ - { - "filename" : "icon_1024x1024.png", - "idiom" : "universal", - "platform" : "ios", - "size" : "1024x1024" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/mobile/ios-src/Assets.xcassets/AppIcon.appiconset/icon_1024x1024.png b/mobile/ios-src/Assets.xcassets/AppIcon.appiconset/icon_1024x1024.png deleted file mode 100644 index a79c37d..0000000 Binary files a/mobile/ios-src/Assets.xcassets/AppIcon.appiconset/icon_1024x1024.png and /dev/null differ diff --git a/mobile/ios-src/Assets.xcassets/Contents.json b/mobile/ios-src/Assets.xcassets/Contents.json deleted file mode 100644 index 73c0059..0000000 --- a/mobile/ios-src/Assets.xcassets/Contents.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/mobile/ios-src/Info.plist b/mobile/ios-src/Info.plist deleted file mode 100644 index f815a6b..0000000 --- a/mobile/ios-src/Info.plist +++ /dev/null @@ -1,35 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 0.1.1 - CFBundleIconName - AppIcon - CFBundleVersion - 0.1.1 - UILaunchStoryboardName - LaunchScreen - UIRequiresFullScreen - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - UIInterfaceOrientationPortraitUpsideDown - - - diff --git a/mobile/ios-src/LaunchScreen.storyboard b/mobile/ios-src/LaunchScreen.storyboard deleted file mode 100644 index 324de1d..0000000 --- a/mobile/ios-src/LaunchScreen.storyboard +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/mobile/ios-src/bindings.h b/mobile/ios-src/bindings.h deleted file mode 100644 index a705f03..0000000 --- a/mobile/ios-src/bindings.h +++ /dev/null @@ -1 +0,0 @@ -void main_rs(void); diff --git a/mobile/ios-src/main.m b/mobile/ios-src/main.m deleted file mode 100644 index 7d152fb..0000000 --- a/mobile/ios-src/main.m +++ /dev/null @@ -1,6 +0,0 @@ -#import "bindings.h" - -int main() { - main_rs(); - return 0; -} diff --git a/mobile/manifest.yaml b/mobile/manifest.yaml deleted file mode 100644 index af084cc..0000000 --- a/mobile/manifest.yaml +++ /dev/null @@ -1,11 +0,0 @@ -android: - gradle: true - # this assets configuration is currently only used without gradle! - #assets: - # - "../assets/*" - icon: "ios-src/Assets.xcassets/AppIcon.appiconset/icon_1024x1024.png" - manifest: - package: "com.opencodebox.tttce" # Todo - version_code: 3 # Todo you should start at 1 - application: - label: "Trouble in Terror Town: Community Edition" # Todo diff --git a/mobile/mobile.xcodeproj/project.pbxproj b/mobile/mobile.xcodeproj/project.pbxproj deleted file mode 100644 index 69c019c..0000000 --- a/mobile/mobile.xcodeproj/project.pbxproj +++ /dev/null @@ -1,465 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 51; - objects = { - -/* Begin PBXBuildFile section */ - 134866208A035F8615C99114 /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 96A1E5B62F48B379829E8A0D /* Metal.framework */; }; - 2469A4292A6F9AC200ACF4EF /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 2469A4282A6F9AC200ACF4EF /* Assets.xcassets */; }; - 2469A42B2A6FAC7000ACF4EF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 2469A42A2A6FAC7000ACF4EF /* LaunchScreen.storyboard */; }; - 2604C99FAB5A8322EDCABB9F /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FE71FBCAA714DB4F42459106 /* UIKit.framework */; }; - 442540D056ADB9AE61A0A590 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9F1B41978FA53999AA836D0F /* Security.framework */; }; - 55892F1396056740E1AF9685 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = AF7DE91055EBD05ED77E57F9 /* main.m */; }; - 55B7188F81C3C4183F81D3AE /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = A39528EB2CCB182F5328223A /* libc++.tbd */; }; - 57CD6306253C7A940098CD4A /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 57CD6305253C7A940098CD4A /* AudioToolbox.framework */; }; - 57CD630E253C80EC0098CD4A /* assets in Resources */ = {isa = PBXBuildFile; fileRef = 57CD630A253C7F5F0098CD4A /* assets */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 26BF2C4863C966DABAB40DC8 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 8DBF1E2B5C613DA41701F6D9 /* Project object */; - proxyType = 1; - remoteGlobalIDString = D08AEBE0B1A9C9A7B8C7B33F; - remoteInfo = cargo_ios; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 160DB77300A3F1806F024D47 /* bindings.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = bindings.h; sourceTree = ""; }; - 2469A4282A6F9AC200ACF4EF /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "ios-src/Assets.xcassets"; sourceTree = SOURCE_ROOT; }; - 2469A42A2A6FAC7000ACF4EF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = ios-src/LaunchScreen.storyboard; sourceTree = ""; }; - 55EAC02897847195D2F44C15 /* mobile.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = mobile.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 57CD6305253C7A940098CD4A /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; }; - 57CD630A253C7F5F0098CD4A /* assets */ = {isa = PBXFileReference; lastKnownFileType = folder; name = assets; path = ../../assets; sourceTree = ""; }; - 8EE7F1E3B0303533925D7E33 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; - 96A1E5B62F48B379829E8A0D /* Metal.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Metal.framework; path = System/Library/Frameworks/Metal.framework; sourceTree = SDKROOT; }; - 9F1B41978FA53999AA836D0F /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; }; - A39528EB2CCB182F5328223A /* libc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.tbd"; path = "usr/lib/libc++.tbd"; sourceTree = SDKROOT; }; - AF7DE91055EBD05ED77E57F9 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - FE71FBCAA714DB4F42459106 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - D5A822CB2D6847BA8800BE4C /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 442540D056ADB9AE61A0A590 /* Security.framework in Frameworks */, - 134866208A035F8615C99114 /* Metal.framework in Frameworks */, - 2604C99FAB5A8322EDCABB9F /* UIKit.framework in Frameworks */, - 55B7188F81C3C4183F81D3AE /* libc++.tbd in Frameworks */, - 57CD6306253C7A940098CD4A /* AudioToolbox.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 321F7D6A765B38E746C35105 /* Products */ = { - isa = PBXGroup; - children = ( - 55EAC02897847195D2F44C15 /* mobile.app */, - ); - name = Products; - sourceTree = ""; - }; - 4F1D6F28B8A5D1927AB0ADED /* ios-src */ = { - isa = PBXGroup; - children = ( - 2469A4282A6F9AC200ACF4EF /* Assets.xcassets */, - 57CD630A253C7F5F0098CD4A /* assets */, - 160DB77300A3F1806F024D47 /* bindings.h */, - 8EE7F1E3B0303533925D7E33 /* Info.plist */, - AF7DE91055EBD05ED77E57F9 /* main.m */, - ); - path = "ios-src"; - sourceTree = ""; - }; - 8F2E3E6040EAD2EC9F3FA530 = { - isa = PBXGroup; - children = ( - 2469A42A2A6FAC7000ACF4EF /* LaunchScreen.storyboard */, - 4F1D6F28B8A5D1927AB0ADED /* ios-src */, - EB028409C2D0655412DA6E44 /* Frameworks */, - 321F7D6A765B38E746C35105 /* Products */, - ); - sourceTree = ""; - }; - EB028409C2D0655412DA6E44 /* Frameworks */ = { - isa = PBXGroup; - children = ( - 57CD6305253C7A940098CD4A /* AudioToolbox.framework */, - A39528EB2CCB182F5328223A /* libc++.tbd */, - 96A1E5B62F48B379829E8A0D /* Metal.framework */, - 9F1B41978FA53999AA836D0F /* Security.framework */, - FE71FBCAA714DB4F42459106 /* UIKit.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXLegacyTarget section */ - D08AEBE0B1A9C9A7B8C7B33F /* cargo_ios */ = { - isa = PBXLegacyTarget; - buildArgumentsString = build_rust_deps.sh; - buildConfigurationList = AA00A0CFDB11F37F2BA3FC2E /* Build configuration list for PBXLegacyTarget "cargo_ios" */; - buildPhases = ( - FE045B3D04D57B713A565FF8 /* Sources */, - ); - buildToolPath = /bin/sh; - buildWorkingDirectory = .; - dependencies = ( - ); - name = cargo_ios; - passBuildSettingsInEnvironment = 1; - productName = cargo_ios; - }; -/* End PBXLegacyTarget section */ - -/* Begin PBXNativeTarget section */ - 3BDB8152E4962373181B4FE5 /* mobile */ = { - isa = PBXNativeTarget; - buildConfigurationList = E714A1AEAAE517C348B5BD27 /* Build configuration list for PBXNativeTarget "mobile" */; - buildPhases = ( - 9F13800790AD9DBC2BC0F116 /* Sources */, - D5A822CB2D6847BA8800BE4C /* Frameworks */, - 57CD630D253C80E60098CD4A /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 19D4B9C22ADC6705B5132B4C /* PBXTargetDependency */, - ); - name = mobile; - productName = mobile; - productReference = 55EAC02897847195D2F44C15 /* mobile.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 8DBF1E2B5C613DA41701F6D9 /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1240; - }; - buildConfigurationList = 9D43D41707A5C30B227B83F9 /* Build configuration list for PBXProject "mobile" */; - compatibilityVersion = "Xcode 10.0"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = 8F2E3E6040EAD2EC9F3FA530; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 3BDB8152E4962373181B4FE5 /* mobile */, - D08AEBE0B1A9C9A7B8C7B33F /* cargo_ios */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 57CD630D253C80E60098CD4A /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 2469A42B2A6FAC7000ACF4EF /* LaunchScreen.storyboard in Resources */, - 2469A4292A6F9AC200ACF4EF /* Assets.xcassets in Resources */, - 57CD630E253C80EC0098CD4A /* assets in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 9F13800790AD9DBC2BC0F116 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 55892F1396056740E1AF9685 /* main.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - FE045B3D04D57B713A565FF8 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 19D4B9C22ADC6705B5132B4C /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = D08AEBE0B1A9C9A7B8C7B33F /* cargo_ios */; - targetProxy = 26BF2C4863C966DABAB40DC8 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - 4AD7BC6FDD56FF18FA6DA7D7 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = 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; - CODE_SIGN_IDENTITY = ""; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "$(inherited)", - "DEBUG=1", - ); - 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; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = iphoneos; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - }; - name = Debug; - }; - 5B14EC4ADC81FBF1F8CF20E9 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_CXX_LANGUAGE_STANDARD = "c++11"; - CLANG_CXX_LIBRARY = "libc++"; - CODE_SIGN_IDENTITY = ""; - DEVELOPMENT_TEAM = ""; - ENABLE_BITCODE = NO; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - "ios-src/", - ); - INFOPLIST_FILE = "ios-src/Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - "LIBRARY_SEARCH_PATHS[sdk=iphoneos*][arch=arm64]" = ( - "$(inherited)", - "../target/aarch64-apple-ios/dist", - ); - "LIBRARY_SEARCH_PATHS[sdk=iphonesimulator*][arch=arm64]" = ( - "$(inherited)", - "../target/aarch64-apple-ios-sim/dist", - ); - "LIBRARY_SEARCH_PATHS[sdk=iphonesimulator*][arch=x86_64]" = ( - "$(inherited)", - "../target/x86_64-apple-ios/dist", - ); - OTHER_LDFLAGS = ( - "$(inherited)", - "-lmobile", - "-lc++abi", - ); - PRODUCT_BUNDLE_IDENTIFIER /* Todo */ = com.opencodebox.tttce; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; - 79E3C28F06346EA58420A93D /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = 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; - CODE_SIGN_IDENTITY = ""; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - 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; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_VERSION = 5.0; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 8265913A25816D964A847F1B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "com.rust.cargo-ios"; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - A2D5B73DD30D562B6F366526 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_CXX_LANGUAGE_STANDARD = "c++11"; - CLANG_CXX_LIBRARY = "libc++"; - CODE_SIGN_IDENTITY = ""; - DEVELOPMENT_TEAM = ""; - ENABLE_BITCODE = NO; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - "ios-src/", - ); - INFOPLIST_FILE = "ios-src/Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - "LIBRARY_SEARCH_PATHS[sdk=iphoneos*][arch=arm64]" = ( - "$(inherited)", - "../target/aarch64-apple-ios/debug", - ); - "LIBRARY_SEARCH_PATHS[sdk=iphonesimulator*][arch=arm64]" = ( - "$(inherited)", - "../target/aarch64-apple-ios-sim/debug", - ); - "LIBRARY_SEARCH_PATHS[sdk=iphonesimulator*][arch=x86_64]" = ( - "$(inherited)", - "../target/x86_64-apple-ios/debug", - ); - OTHER_LDFLAGS = ( - "$(inherited)", - "-lmobile", - "-lc++abi", - ); - PRODUCT_BUNDLE_IDENTIFIER /* Todo */ = com.opencodebox.tttce; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - FEA9B18D9236F9F6DC6DF799 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = "com.rust.cargo-ios"; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 9D43D41707A5C30B227B83F9 /* Build configuration list for PBXProject "mobile" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 4AD7BC6FDD56FF18FA6DA7D7 /* Debug */, - 79E3C28F06346EA58420A93D /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Debug; - }; - AA00A0CFDB11F37F2BA3FC2E /* Build configuration list for PBXLegacyTarget "cargo_ios" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 8265913A25816D964A847F1B /* Debug */, - FEA9B18D9236F9F6DC6DF799 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Debug; - }; - E714A1AEAAE517C348B5BD27 /* Build configuration list for PBXNativeTarget "mobile" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - A2D5B73DD30D562B6F366526 /* Debug */, - 5B14EC4ADC81FBF1F8CF20E9 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Debug; - }; -/* End XCConfigurationList section */ - }; - rootObject = 8DBF1E2B5C613DA41701F6D9 /* Project object */; -} diff --git a/mobile/mobile.xcodeproj/xcshareddata/xcschemes/mobile.xcscheme b/mobile/mobile.xcodeproj/xcshareddata/xcschemes/mobile.xcscheme deleted file mode 100644 index 495aaf6..0000000 --- a/mobile/mobile.xcodeproj/xcshareddata/xcschemes/mobile.xcscheme +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/mobile/src/lib.rs b/mobile/src/lib.rs deleted file mode 100644 index 08234bb..0000000 --- a/mobile/src/lib.rs +++ /dev/null @@ -1,20 +0,0 @@ -use bevy::prelude::*; -use bevy::window::WindowMode; -use ttt_ce::GamePlugin; // ToDo: Replace ttt_ce with your new crate name. - -#[bevy_main] -fn main() { - App::new() - .add_plugins(( - DefaultPlugins.set(WindowPlugin { - primary_window: Some(Window { - resizable: false, - mode: WindowMode::BorderlessFullscreen, - ..default() - }), - ..default() - }), - GamePlugin, - )) - .run() -}