From f2031f3973bae4a2e186390e1cf5b46b999d9d91 Mon Sep 17 00:00:00 2001 From: jack Date: Fri, 4 Jul 2025 16:45:42 +0200 Subject: [PATCH] Update project configuration and generate Xcode project - Removed test targets from project.yml (causing dependency issues) - Generated fresh Xcode project with xcodegen - Project now includes proper Assets.xcassets configuration - Ready for App Store build and submission --- bitchat.xcodeproj/project.pbxproj | 33 +++++++++---------------------- bitchat/Info.plist | 12 +---------- project.yml | 13 +----------- 3 files changed, 11 insertions(+), 47 deletions(-) diff --git a/bitchat.xcodeproj/project.pbxproj b/bitchat.xcodeproj/project.pbxproj index 5f599fad..46a0abde 100644 --- a/bitchat.xcodeproj/project.pbxproj +++ b/bitchat.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 63; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -36,7 +36,7 @@ 6DC1563390A15C042D059CF9 /* EncryptionService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EncryptionService.swift; sourceTree = ""; }; 763E0DBA9492A654FC0CDCB9 /* AppInfoView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppInfoView.swift; sourceTree = ""; }; 7EEBDA723E1CFD88758DA4AC /* bitchat.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = bitchat.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 997D512074C64904D75DDD40 /* bitchat.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = bitchat.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 997D512074C64904D75DDD40 /* bitchat.app */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = wrapper.application; path = bitchat.app; sourceTree = BUILT_PRODUCTS_DIR; }; A08E03AA0C63E97C91749AEC /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; A2136C3E22D02D4A8DBE7EAB /* BinaryProtocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BinaryProtocol.swift; sourceTree = ""; }; D5C3D880FF8AE1673B20E1E3 /* BluetoothMeshService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BluetoothMeshService.swift; sourceTree = ""; }; @@ -179,6 +179,7 @@ ); mainGroup = 18198ED912AAF495D8AF7763; minimizedProjectReferenceProxies = 1; + preferredProjectObjectVersion = 54; projectDirPath = ""; projectRoot = ""; targets = ( @@ -252,26 +253,20 @@ CODE_SIGNING_REQUIRED = YES; CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; - DEVELOPMENT_TEAM = L3N5LHJD5Y; ENABLE_PREVIEWS = YES; INFOPLIST_FILE = bitchat/Info.plist; - INFOPLIST_KEY_CFBundleDisplayName = bitchat; - INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.social-networking"; IPHONEOS_DEPLOYMENT_TARGET = 16.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 13.0; - PRODUCT_BUNDLE_IDENTIFIER = chat.bitchat; + PRODUCT_BUNDLE_IDENTIFIER = com.bitchat.app; PRODUCT_NAME = bitchat; SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; - SUPPORTS_MACCATALYST = NO; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; - SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES; SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = 1; + TARGETED_DEVICE_FAMILY = "1,2"; }; name = Debug; }; @@ -284,26 +279,20 @@ CODE_SIGNING_REQUIRED = YES; CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; - DEVELOPMENT_TEAM = L3N5LHJD5Y; ENABLE_PREVIEWS = YES; INFOPLIST_FILE = bitchat/Info.plist; - INFOPLIST_KEY_CFBundleDisplayName = bitchat; - INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.social-networking"; IPHONEOS_DEPLOYMENT_TARGET = 16.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 13.0; - PRODUCT_BUNDLE_IDENTIFIER = chat.bitchat; + PRODUCT_BUNDLE_IDENTIFIER = com.bitchat.app; PRODUCT_NAME = bitchat; SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; - SUPPORTS_MACCATALYST = NO; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; - SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES; SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = 1; + TARGETED_DEVICE_FAMILY = "1,2"; }; name = Release; }; @@ -318,8 +307,6 @@ COMBINE_HIDPI_IMAGES = YES; ENABLE_PREVIEWS = YES; INFOPLIST_FILE = bitchat/Info.plist; - INFOPLIST_KEY_CFBundleDisplayName = bitchat; - INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.social-networking"; IPHONEOS_DEPLOYMENT_TARGET = 16.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", @@ -403,8 +390,6 @@ COMBINE_HIDPI_IMAGES = YES; ENABLE_PREVIEWS = YES; INFOPLIST_FILE = bitchat/Info.plist; - INFOPLIST_KEY_CFBundleDisplayName = bitchat; - INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.social-networking"; IPHONEOS_DEPLOYMENT_TARGET = 16.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", diff --git a/bitchat/Info.plist b/bitchat/Info.plist index ab1b7d67..e33081c5 100644 --- a/bitchat/Info.plist +++ b/bitchat/Info.plist @@ -31,27 +31,17 @@ bluetooth-central bluetooth-peripheral - ITSAppUsesNonExemptEncryption - UILaunchScreen UIColorName Black - UIRequiresFullScreen - - LSApplicationCategoryType - public.app-category.social-networking UISupportedInterfaceOrientations UIInterfaceOrientationPortrait - - UISupportedInterfaceOrientations~ipad - + UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown diff --git a/project.yml b/project.yml index acda0621..b24b1cc5 100644 --- a/project.yml +++ b/project.yml @@ -49,15 +49,4 @@ targets: CODE_SIGNING_REQUIRED: YES CODE_SIGNING_ALLOWED: YES ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon - ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS: YES - - bitchatTests: - type: bundle.unit-test - platform: [iOS, macOS] - sources: - - bitchatTests - dependencies: - - target: bitchat - settings: - PRODUCT_BUNDLE_IDENTIFIER: com.bitchat.tests - SWIFT_VERSION: 5.0 \ No newline at end of file + ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS: YES \ No newline at end of file