Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
corybuecker committed Jan 12, 2024
0 parents commit e1075bf
Show file tree
Hide file tree
Showing 7 changed files with 182 additions and 0 deletions.
96 changes: 96 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

## User settings
xcuserdata/

## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
*.xcscmblueprint
*.xccheckout

## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
build/
DerivedData/
*.moved-aside
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3

## Obj-C/Swift specific
*.hmap

## App packaging
*.ipa
*.dSYM.zip
*.dSYM

## Playgrounds
timeline.xctimeline
playground.xcworkspace

# Swift Package Manager
#
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
# Packages/
# Package.pins
# Package.resolved
# *.xcodeproj
#
# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
# hence it is not needed unless you have added a package configuration file to your project
# .swiftpm

.build/

# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
# Pods/
#
# Add this line if you want to avoid checking in source code from the Xcode workspace
# *.xcworkspace

# Carthage
#
# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/Checkouts

Carthage/Build/

# Accio dependency management
Dependencies/
.accio/

# fastlane
#
# It is recommended to not store the screenshots in the git repo.
# Instead, use fastlane to re-generate the screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/#source-control

fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots/**/*.png
fastlane/test_output

# Code Injection
#
# After new code Injection tools there's a generated folder /iOSInjectionProject
# https://github.com/johnno1962/injectionforxcode

iOSInjectionProject/

.DS_Store
.env

SimpleBudget.xcodeproj
buildServer.json
16 changes: 16 additions & 0 deletions Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?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>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>com.corybuecker.SimpleBudget</string>
<key>CFBundleName</key>
<string>Simple Budget</string>
<key>CFBundleShortVersionString</key>
<string>1</string>
<key>CFBundleVersion</key>
<string>1.0</string>
</dict>
</plist>
20 changes: 20 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Copyright 2024 Stanton Cory Buecker


Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the “Software”), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
13 changes: 13 additions & 0 deletions Sources/ContentView.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import SwiftUI

struct ContentView: View {
init() {
print("test")
}

var body: some View {
return VStack {
Text("Hello, World!")
}
}
}
10 changes: 10 additions & 0 deletions Sources/SimpleBudget.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import SwiftUI

@main
struct SimpleBudget: App {
var body: some Scene {
WindowGroup {
ContentView()
}
}
}
14 changes: 14 additions & 0 deletions launch.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash -ex

#rm -rf SimpleBudget.xcodeproj
#
#xcodegen
#
#xcodebuild clean build -project SimpleBudget.xcodeproj -allowProvisioningUpdates -sdk iphonesimulator
#xcrun simctl install MyPhone build/Debug-iphonesimulator/SimpleBudget.app

#xcode-build-server config -project SimpleBudget.xcodeproj -scheme SimpleBudget

xcodebuild clean build -project SimpleBudget.xcodeproj -allowProvisioningUpdates -sdk iphonesimulator -configuration Debug
xcrun simctl install MyPhone build/Debug-iphonesimulator/SimpleBudget.app
xcrun simctl launch --console-pty --terminate-running-process MyPhone com.corybuecker.SimpleBudget
13 changes: 13 additions & 0 deletions project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: SimpleBudget
options:
bundleIdPrefix: com.corybuecker
settings:
DEVELOPMENT_TEAM: ${DEVELOPMENT_TEAM}
INFOPLIST_FILE: Info.plist
targets:
SimpleBudget:
type: application
platform: iOS
deploymentTarget: "17.2"
sources:
- Sources

0 comments on commit e1075bf

Please sign in to comment.