File tree Expand file tree Collapse file tree 2 files changed +40
-1
lines changed
Expand file tree Collapse file tree 2 files changed +40
-1
lines changed Original file line number Diff line number Diff line change 219219 <key>CFBundleVersion</key>
220220 <string>$BUILD_NUMBER </string>
221221 <key>LSMinimumSystemVersion</key>
222- <string>${MACOSX_DEPLOYMENT_TARGET :- 14.0} </string>
222+ <string>14.0</string>
223223 <key>LSUIElement</key>
224224 <false/>
225225 <key>NSHighResolutionCapable</key>
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Fix Gatekeeper issues for ClickIt.app
4+ # Use this script to resolve "damaged app" issues on Apple Silicon Macs
5+
6+ set -e
7+
8+ APP_PATH=" ${1:- dist/ ClickIt.app} "
9+
10+ echo " 🔧 Fixing Gatekeeper issues for $APP_PATH ..."
11+
12+ if [ ! -d " $APP_PATH " ]; then
13+ echo " ❌ App not found at $APP_PATH "
14+ echo " 💡 Usage: $0 [path/to/ClickIt.app]"
15+ exit 1
16+ fi
17+
18+ echo " 🔍 Removing quarantine attributes..."
19+ xattr -rd com.apple.quarantine " $APP_PATH " 2> /dev/null || echo " No quarantine attributes found"
20+
21+ echo " 🔍 Removing extended attributes..."
22+ xattr -c " $APP_PATH " 2> /dev/null || echo " No extended attributes found"
23+
24+ echo " 🔍 Checking Gatekeeper status..."
25+ if spctl --assess --type exec " $APP_PATH " 2> /dev/null; then
26+ echo " ✅ App passes Gatekeeper assessment"
27+ else
28+ echo " ⚠️ App rejected by Gatekeeper (expected with self-signed certificate)"
29+ echo " 🔧 To run the app despite Gatekeeper:"
30+ echo " 1. Try to open the app normally"
31+ echo " 2. When blocked, go to System Settings > Privacy & Security"
32+ echo " 3. Click 'Open Anyway' next to the ClickIt warning"
33+ echo " OR"
34+ echo " 4. Disable Gatekeeper temporarily: sudo spctl --master-disable"
35+ echo " 5. Re-enable after testing: sudo spctl --master-enable"
36+ fi
37+
38+ echo " ✅ Gatekeeper fixes applied successfully!"
39+ echo " 📱 Try opening: open '$APP_PATH '"
You can’t perform that action at this time.
0 commit comments