-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcreate_project.sh
More file actions
executable file
·31 lines (23 loc) · 906 Bytes
/
create_project.sh
File metadata and controls
executable file
·31 lines (23 loc) · 906 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
# Create Bastion Xcode project
# This script creates a complete macOS app project structure
PROJECT_DIR="/Volumes/Data/xcode/Bastion"
cd "$PROJECT_DIR"
# Create project using Swift Package Manager as base, then convert
swift package init --type executable --name Bastion 2>/dev/null || true
# Better approach: Use xcodegen or create manually
# For now, let's use a simpler approach with xcodeproj Ruby gem or direct XML
cat > create_xcode_project.swift << 'EOFSWIFT'
import Foundation
// This will be compiled and run to create the Xcode project
// For now, output instructions
print("To create Xcode project:")
print("1. Open Xcode")
print("2. File -> New -> Project")
print("3. Choose macOS -> App")
print("4. Product Name: Bastion")
print("5. Interface: SwiftUI")
print("6. Language: Swift")
print("7. Save to: /Volumes/Data/xcode/Bastion")
EOFSWIFT
swift create_xcode_project.swift