mirror of
https://github.com/StikDebug/StikDebug.git
synced 2026-10-15 20:10:30 +00:00
* Change default UPLOAD_IPA value to 'false' * Part 1 of the great debloat * Remove Mini Tools, adopt native alerts in StikJITApp, and update HomeView UI * Refactor views to use native SwiftUI alerts instead of CustomErrorView * Update ProfileView to use minimal List UI style with native alerts * Fix up homeview * Squash: Redesign HomeView, remove Feature Flags, enable all tabs, refactor alerts, and updates - Redesign HomeView to a simpler style with 'Enable JIT' action. - Remove 'Help & Info' and 'Quick Launch' from Home. - Fix DDI false positive by starting heartbeat on HomeView appear. - Restore robust DDI checks and update app name to 'StikDebug'. - Remove FeatureFlags and Beta tags; enable 'profiles', 'processes', 'location' tabs by default. - Remove 'Devices' tab; add 'Target Device IP' field in Settings. - Hardcode 'Settings' tab to 4th position. - Refactor 'SettingsView' tab customization to be reorder-only. - Remove 'Appearance' theme section from Settings. - Refactor custom error cards to use native SwiftUI/UIKit alerts across the app (HomeView, ConsoleLogsView, ProfileView, etc). - Restore JS callback support and script execution logic in HomeView. - Add necessary Color extensions. - Update project version to 3.0.0. * Clean up: Remove In-App Purchases, update checker, and unused IPA installer code * delete more bloat * fix build issue * Remove widget to save on App IDs * Attempt heartbeat restart when Enable JIT button is pressed * Get rid of PIP * Update Tab Naming * remove more bloat * final changes for today * Remove unused packages * UX Improvements * revert bundle id * Update README.md * remove old idevice * add updated idevice * Fix ddi false positive errors and add templates for GitHub stuff * Remove more unused stuff. * Fix links and update README content * Update compatibility table in README.md * Improve performance of console logs * Remove old code * Change default UPLOAD_IPA value to 'true' * remove the welcome sheet * import support for .mobiledevicepair * Add back LC JIT stuff * Fix heartbeat issues with LC JIT * update the build yml for nightly stuff * Update README.md * Update README.md * Update GitHub Actions workflow for IPA build * Update GitHub Actions workflow for nightly builds * Add URL scheme to kill tasks stikjit://kill-process?pid=1234 * fix build issues * Added App Intents * Unify the error handling style across the app
79 lines
2.4 KiB
YAML
79 lines
2.4 KiB
YAML
name: Build Debug IPA
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main", "semi-rewrite" ]
|
|
pull_request:
|
|
branches: [ "main", "semi-rewrite" ]
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
build_and_release:
|
|
name: Build & Release IPA
|
|
runs-on: macos-latest
|
|
env:
|
|
UPLOAD_IPA: ${{ vars.UPLOAD_IPA || 'true' }}
|
|
|
|
steps:
|
|
- name: 1. Fetch Source Code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: 2. Configure Xcode Environment
|
|
uses: maxim-lobanov/setup-xcode@v1
|
|
with:
|
|
xcode-version: '26.0.1'
|
|
|
|
- name: 3. Compile Project Archive
|
|
run: |
|
|
xcodebuild clean archive \
|
|
-project StikDebug.xcodeproj \
|
|
-scheme "StikDebug" \
|
|
-configuration Debug \
|
|
-archivePath build/StikDebug.xcarchive \
|
|
-sdk iphoneos \
|
|
-destination 'generic/platform=iOS' \
|
|
ONLY_ACTIVE_ARCH=NO \
|
|
CODE_SIGN_IDENTITY="" \
|
|
CODE_SIGNING_REQUIRED=NO \
|
|
CODE_SIGNING_ALLOWED=NO \
|
|
SWIFT_OPTIMIZATION_LEVEL="-Onone" \
|
|
IPHONEOS_DEPLOYMENT_TARGET=17.4
|
|
|
|
- name: 4. Package .app into .ipa
|
|
run: |
|
|
cp -R build/StikDebug.xcarchive/Products/Applications/StikDebug.app .
|
|
mkdir -p Payload
|
|
cp -R StikDebug.app Payload/
|
|
zip -r StikDebug.ipa Payload
|
|
rm -rf Payload StikDebug.app
|
|
|
|
- name: 5. Store IPA as Workflow Artifact
|
|
if: env.UPLOAD_IPA == 'true'
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: StikDebug-Debug.ipa
|
|
path: StikDebug.ipa
|
|
retention-days: 90
|
|
|
|
- name: 6. Extract Version Information
|
|
id: version
|
|
run: |
|
|
VERSION=$(sed -n 's/.*MARKETING_VERSION = \(.*\);/\1/p' StikDebug.xcodeproj/project.pbxproj | head -1 | xargs)
|
|
echo "app_version=$VERSION" >> "$GITHUB_OUTPUT"
|
|
|
|
- name: 7. Deploy to Nightly Release
|
|
if: env.UPLOAD_IPA == 'true' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/main'
|
|
uses: softprops/action-gh-release@v2
|
|
with:
|
|
tag_name: Nightly
|
|
name: "Nightly Build - v${{ steps.version.outputs.app_version }}"
|
|
prerelease: true
|
|
generate_release_notes: true
|
|
target_commitish: ${{ github.sha }}
|
|
files: |
|
|
StikDebug.ipa
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|