From ea502c39e5350f032b66b738bd936f68a27765ca Mon Sep 17 00:00:00 2001 From: SilverLABS Date: Sat, 4 Apr 2026 20:33:11 +0100 Subject: [PATCH] chore(xcode): add XcodeGen scaffold for device deployment Adds project.yml (XcodeGen spec), Info.plist, entitlements, and placeholder asset catalog so the project can be built in Xcode and deployed to iPhone 14 via USB or wireless pairing. Co-Authored-By: Claude Sonnet 4.6 --- .../AppIcon.appiconset/Contents.json | 13 ++++ SilverApple/Assets.xcassets/Contents.json | 6 ++ SilverApple/Info.plist | 61 +++++++++++++++++++ SilverApple/SilverApple.entitlements | 11 ++++ project.yml | 50 +++++++++++++++ 5 files changed, 141 insertions(+) create mode 100644 SilverApple/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 SilverApple/Assets.xcassets/Contents.json create mode 100644 SilverApple/Info.plist create mode 100644 SilverApple/SilverApple.entitlements create mode 100644 project.yml diff --git a/SilverApple/Assets.xcassets/AppIcon.appiconset/Contents.json b/SilverApple/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..13613e3 --- /dev/null +++ b/SilverApple/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,13 @@ +{ + "images" : [ + { + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/SilverApple/Assets.xcassets/Contents.json b/SilverApple/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/SilverApple/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/SilverApple/Info.plist b/SilverApple/Info.plist new file mode 100644 index 0000000..fbab81e --- /dev/null +++ b/SilverApple/Info.plist @@ -0,0 +1,61 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleDisplayName + SilverApple + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + $(PRODUCT_BUNDLE_PACKAGE_TYPE) + CFBundleShortVersionString + 0.1.0 + CFBundleVersion + 1 + + + CFBundleURLTypes + + + CFBundleURLName + uk.silverlabs.silverapple.oauth + CFBundleURLSchemes + + silverapple + + + + + + NSAppTransportSecurity + + NSAllowsArbitraryLoads + + NSAllowsLocalNetworking + + + + + LSRequiresIPhoneOS + + UIApplicationSceneManifest + + UIApplicationSupportsMultipleScenes + + + UILaunchScreen + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + + + diff --git a/SilverApple/SilverApple.entitlements b/SilverApple/SilverApple.entitlements new file mode 100644 index 0000000..ceae621 --- /dev/null +++ b/SilverApple/SilverApple.entitlements @@ -0,0 +1,11 @@ + + + + + + keychain-access-groups + + $(AppIdentifierPrefix)uk.silverlabs.silverapple + + + diff --git a/project.yml b/project.yml new file mode 100644 index 0000000..5f285b7 --- /dev/null +++ b/project.yml @@ -0,0 +1,50 @@ +name: SilverApple + +options: + bundleIdPrefix: uk.silverlabs + deploymentTarget: + iOS: "16.0" + xcodeVersion: "15.0" + createIntermediateGroups: true + groupSortPosition: top + +settings: + base: + SWIFT_VERSION: "5.9" + DEVELOPMENT_TEAM: "" # Fill in your Apple Developer Team ID before building + CODE_SIGN_STYLE: Automatic + ENABLE_BITCODE: false + +targets: + SilverApple: + type: application + platform: iOS + deploymentTarget: "16.0" + sources: + - path: SilverApple + settings: + base: + PRODUCT_BUNDLE_IDENTIFIER: uk.silverlabs.silverapple + INFOPLIST_FILE: SilverApple/Info.plist + CODE_SIGN_ENTITLEMENTS: SilverApple/SilverApple.entitlements + ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon + TARGETED_DEVICE_FAMILY: "1" # iPhone only + dependencies: + - framework: AuthenticationServices.framework + embed: false + - framework: SafariServices.framework + embed: false + - framework: Security.framework + embed: false + + SilverAppleTests: + type: bundle.unit-test + platform: iOS + deploymentTarget: "16.0" + sources: + - path: SilverAppleTests + settings: + base: + PRODUCT_BUNDLE_IDENTIFIER: uk.silverlabs.silverapple.tests + dependencies: + - target: SilverApple