-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·60 lines (54 loc) · 2.06 KB
/
setup.sh
File metadata and controls
executable file
·60 lines (54 loc) · 2.06 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#!/bin/bash
# AURELIUM - Setup Script
# This script helps set up the Aurelium project for development
manual_setup() {
echo "📖 Manual Setup Instructions:"
echo ""
echo "1️⃣ Open Xcode 15+ and create a new project:"
echo " • File → New → Project"
echo " • Choose 'App' template (iOS)"
echo " • Product Name: Aurelium"
echo " • Bundle ID: com.aurelium.app"
echo " • Interface: SwiftUI"
echo " • Language: Swift"
echo " • ✅ Use Core Data"
echo ""
echo "2️⃣ Replace default files:"
echo " • Delete generated AureliumApp.swift, ContentView.swift, Assets.xcassets"
echo " • Copy everything from /workspace/Aurelium/ into your Xcode project"
echo ""
echo "3️⃣ Configure capabilities:"
echo " • Select project → Signing & Capabilities"
echo " • Add iCloud → Enable CloudKit (container: iCloud.com.aurelium.app)"
echo " • Add Face ID capability"
echo ""
echo "4️⃣ Build and run!"
echo " • Select iOS 17+ simulator/device"
echo " • Cmd+B to build, Cmd+R to run"
echo ""
echo "📚 See README.md for more details"
}
echo "🌟 AURELIUM - Luxury Travel App Setup"
echo "======================================"
# Check if XcodeGen is installed
if command -v xcodegen &> /dev/null; then
echo "✅ XcodeGen found"
echo "📦 Generating Xcode project..."
if xcodegen generate; then
echo "✅ Xcode project generated successfully!"
echo "🚀 Opening Aurelium.xcodeproj..."
open Aurelium.xcodeproj 2>/dev/null || echo "💡 Xcode project created! Open Aurelium.xcodeproj in Xcode to continue."
else
echo "❌ Failed to generate Xcode project"
echo "💡 Falling back to manual setup..."
manual_setup
fi
else
echo "⚠️ XcodeGen not found (optional)"
echo "📦 You can install it with: brew install xcodegen"
echo ""
manual_setup
fi
echo ""
echo "🎯 Ready to build your luxury travel companion!"
echo " \"Your World, Curated\" - AURELIUM"