Skip to content

Commit 00a4eb7

Browse files
committed
fix: Add debugging to build script and update README
BUILD SCRIPT IMPROVEMENTS: - Added debug output to show current directory and project files - Added check for actual AudioKeeper.app in build output - Added fallback to find any .app files if AudioKeeper.app not found - Better error handling for missing build output README UPDATES: - Added Known Issues section explaining Homebrew problem - Updated Homebrew section to warn users about broken installation - Recommended manual installation until issue is resolved This should help identify why GitHub Actions is creating test app instead of real app.
1 parent f8fb969 commit 00a4eb7

File tree

2 files changed

+35
-4
lines changed

2 files changed

+35
-4
lines changed

README.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,14 @@ A professional macOS menu bar application that automatically maintains your pref
2828

2929
[![Download Latest](https://img.shields.io/badge/Download-Latest%20Release-blue?style=for-the-badge&logo=github)](https://github.com/rekruizer/AudioKeeper/releases/latest)
3030

31-
### Homebrew Cask (Coming Soon)
31+
### Homebrew Cask (⚠️ Currently Broken)
3232

3333
```bash
34-
# Install via Homebrew (when available)
35-
brew install --cask audiokeeper
34+
# ⚠️ WARNING: Homebrew installation is currently broken
35+
# The DMG contains a test app instead of the real application
36+
# Please use manual installation below until this is fixed
37+
38+
# brew install --cask audiokeeper # DON'T USE YET
3639
```
3740

3841
#### ⚠️ Installation without Developer Certificate
@@ -92,6 +95,17 @@ AudioKeeper/
9295
└── LICENSE # MIT License
9396
```
9497

98+
## ⚠️ Known Issues
99+
100+
### Homebrew Cask Installation
101+
- **Problem**: DMG files contain test application instead of real app
102+
- **Status**: GitHub Actions build is failing to create proper app
103+
- **Workaround**: Use manual installation from GitHub Releases
104+
- **Fix**: Working on resolving Xcode build issues in CI/CD
105+
106+
### Manual Installation Recommended
107+
Until the Homebrew issue is resolved, please use the manual installation method above.
108+
95109
## 🛠️ Development
96110

97111
### Requirements

Scripts/build_release.sh

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ rm -rf AudioKeeper.app
1616
rm -rf *.dmg
1717

1818
# Build release version with explicit destination
19+
echo "📁 Current directory: $(pwd)"
20+
echo "📁 Project files:"
21+
ls -la AudioKeeper.xcodeproj/
22+
23+
echo "🔨 Building with xcodebuild..."
1924
xcodebuild -project AudioKeeper.xcodeproj \
2025
-scheme AudioKeeper \
2126
-configuration Release \
@@ -34,8 +39,20 @@ xcodebuild -project AudioKeeper.xcodeproj \
3439
if [ $? -eq 0 ]; then
3540
echo "✅ Build successful!"
3641

42+
# Check what was built
43+
echo "📁 Build output:"
44+
ls -la build/Build/Products/Release/
45+
3746
# Copy app to current directory
38-
cp -R build/Build/Products/Release/AudioKeeper.app ./
47+
if [ -d "build/Build/Products/Release/AudioKeeper.app" ]; then
48+
echo "📦 Copying real app..."
49+
cp -R build/Build/Products/Release/AudioKeeper.app ./
50+
else
51+
echo "❌ No AudioKeeper.app found in build output!"
52+
echo "📁 Available files:"
53+
find build/ -name "*.app" -type d
54+
exit 1
55+
fi
3956

4057
# Code sign the app (if certificates are available)
4158
if [ -n "$APPLE_CERTIFICATE" ] && [ -n "$APPLE_CERTIFICATE_PASSWORD" ]; then

0 commit comments

Comments
 (0)