ios project skeleton

This commit is contained in:
2026-02-19 22:38:45 -08:00
parent 9d59b9dbb2
commit b91b03b74f
8 changed files with 123 additions and 0 deletions

2
ios/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
*.xcodeproj

View File

@@ -0,0 +1,13 @@
import Sybil
import SwiftUI
import UIKit
@main
struct SybilApp: App
{
var body: some Scene {
WindowGroup {
SplitView()
}
}
}

View File

@@ -0,0 +1,42 @@
packages:
Sybil:
path: Packages/Sybil
targets:
SybilApp:
type: application
platform: iOS
deploymentTarget: "18.0"
sources:
- Sources
dependencies:
- package: Sybil
product: Sybil
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.sybil.app
PRODUCT_MODULE_NAME: SybilApp
DEVELOPMENT_TEAM: ""
CODE_SIGN_STYLE: Automatic
SWIFT_VERSION: 6.0
TARGETED_DEVICE_FAMILY: "1,2"
GENERATE_INFOPLIST_FILE: YES
MARKETING_VERSION: 1.0
CURRENT_PROJECT_VERSION: 1
INFOPLIST_KEY_CFBundleDisplayName: Sybil
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents: YES
INFOPLIST_KEY_UILaunchScreen_Generation: YES
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone: UIInterfaceOrientationPortrait
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad: UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight
schemes:
Sybil:
build:
targets:
SybilApp: all
run:
config: Debug
test:
config: Debug
archive:
config: Release

8
ios/Packages/Sybil/.gitignore vendored Normal file
View File

@@ -0,0 +1,8 @@
.DS_Store
/.build
/Packages
xcuserdata/
DerivedData/
.swiftpm/configuration/registries.json
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
.netrc

View File

@@ -0,0 +1,27 @@
// swift-tools-version: 6.1
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Sybil",
platforms: [
.iOS("18.0")
],
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
name: "Sybil",
targets: ["Sybil"]),
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.target(
name: "Sybil"),
.testTarget(
name: "SybilTests",
dependencies: ["Sybil"]
),
]
)

View File

@@ -0,0 +1,19 @@
//
// SplitView.swift
// Sybil
//
// Created by James Magahern on 2/19/26.
//
import SwiftUI
public struct SplitView: View
{
public init() {
}
public var body: some View {
Text("Not Yet Implemented: replace me.")
}
}

View File

@@ -0,0 +1,6 @@
import Testing
@testable import Sybil
@Test func example() async throws {
// Write your test here and use APIs like `#expect(...)` to check expected conditions.
}

6
ios/project.yml Normal file
View File

@@ -0,0 +1,6 @@
name: Sybil
options:
createIntermediateGroups: true
generateEmptyDirectories: true
include:
- Apps/Sybil/project.yml