mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-10 07:13:28 +01:00
Compare commits
50 Commits
auto-updat
...
feature/Da
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e9d3060df7 | ||
|
|
c59043068e | ||
|
|
65c43d683c | ||
|
|
9e6147c860 | ||
|
|
b3074cadf9 | ||
|
|
9c5c597ce6 | ||
|
|
977a452605 | ||
|
|
17640fe6cf | ||
|
|
2e4f6ee420 | ||
|
|
a3768d9221 | ||
|
|
80c3390363 | ||
|
|
a5e3869d8f | ||
|
|
aa7d7c2d02 | ||
|
|
015f205569 | ||
|
|
e59fb15926 | ||
|
|
173c585f2d | ||
|
|
6f8c27793e | ||
|
|
332b81c803 | ||
|
|
4b343b500d | ||
|
|
e87c537642 | ||
|
|
2e6300cce2 | ||
|
|
09514d15a6 | ||
|
|
0de23dcba0 | ||
|
|
bacb153151 | ||
|
|
a01aa299d8 | ||
|
|
44edbddbd8 | ||
|
|
79d677cf3c | ||
|
|
be39b6512f | ||
|
|
fcfeea35da | ||
|
|
7d0eb8c61e | ||
|
|
4d8438a6b6 | ||
|
|
f611244e35 | ||
|
|
546a978d3b | ||
|
|
70b23fb073 | ||
|
|
a56ca597d6 | ||
|
|
679e0228a8 | ||
|
|
e153394323 | ||
|
|
5bd1fcfcfd | ||
|
|
2a392ddc44 | ||
|
|
b5cb8bc0d9 | ||
|
|
ab9df8201a | ||
|
|
b0fac34ffc | ||
|
|
5ede9f7c6b | ||
|
|
c7254fd23e | ||
|
|
55fcea04af | ||
|
|
c212c0a6b2 | ||
|
|
a31fd6709a | ||
|
|
e367fd2b73 | ||
|
|
1ca67d0241 | ||
|
|
8ffa952ff9 |
34
.github/ISSUE_TEMPLATE/bug_report.md
vendored
34
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@@ -1,34 +0,0 @@
|
|||||||
---
|
|
||||||
name: Bug report
|
|
||||||
about: Create a report to help us improve
|
|
||||||
title: "[BUG]"
|
|
||||||
labels: bug
|
|
||||||
assignees: ''
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
**Describe the bug**
|
|
||||||
A clear and concise description of what the bug is.
|
|
||||||
|
|
||||||
**To Reproduce**
|
|
||||||
Steps to reproduce the behavior:
|
|
||||||
1. Go to '...'
|
|
||||||
2. Click on '....'
|
|
||||||
3. Scroll down to '....'
|
|
||||||
4. See error
|
|
||||||
|
|
||||||
**Expected behavior**
|
|
||||||
A clear and concise description of what you expected to happen.
|
|
||||||
|
|
||||||
**Screenshots**
|
|
||||||
If applicable, add screenshots to help explain your problem.
|
|
||||||
|
|
||||||
**Logs**
|
|
||||||
Please send logs generated with [idevicedebug](https://github.com/libimobiledevice/libimobiledevice) or Xcode. We will close the issue if a log is missing.
|
|
||||||
|
|
||||||
**iDevice (please complete the following information):**
|
|
||||||
- Device: [e.g. iPhone6]
|
|
||||||
- OS: [e.g. iOS8.1]
|
|
||||||
|
|
||||||
**Additional context**
|
|
||||||
Add any other context about the problem here.
|
|
||||||
40
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
Normal file
40
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
name: Bug Report
|
||||||
|
description: Report a bug
|
||||||
|
title: "[BUG] "
|
||||||
|
labels: ["bug"]
|
||||||
|
assignees:
|
||||||
|
- naturecodevoid
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
Thanks for taking the time to fill out this bug report! Before you continue filling out the report, please **[search in GitHub Issues](https://github.com/SideStore/SideStore/issues?q=is%3Aissue+is%3Aopen) for the bug you are experiencing** in case it has already been reported.
|
||||||
|
|
||||||
|
**Please use [Discord](https://discord.gg/RgpFBX3Q3k) or [GitHub Discussions](https://github.com/SideStore/SideStore/discussions) for support.**
|
||||||
|
- type: textarea
|
||||||
|
id: description
|
||||||
|
attributes:
|
||||||
|
label: Describe the bug
|
||||||
|
description: What is the bug and how did you discover it?
|
||||||
|
placeholder: Please be clear and concise with your description.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: how-to-reproduce
|
||||||
|
attributes:
|
||||||
|
label: Instructions to reproduce
|
||||||
|
description: Please include clear and consistent instructions for reproducing the bug to make it easier for us to fix it.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: input
|
||||||
|
id: app-version
|
||||||
|
attributes:
|
||||||
|
label: What version of SideStore are you using?
|
||||||
|
description: To retrieve this, go to `Settings` in the SideStore app and scroll down to the bottom.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: other-info
|
||||||
|
attributes:
|
||||||
|
label: Other info
|
||||||
|
description: If you have any other comments, other info that might be useful, or if you found a workaround, please put it here.
|
||||||
10
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
10
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
# force issue template usage
|
||||||
|
blank_issues_enabled: false
|
||||||
|
|
||||||
|
contact_links:
|
||||||
|
- name: Discord
|
||||||
|
url: https://discord.gg/RgpFBX3Q3k
|
||||||
|
about: If you need support, please go here first instead of making an issue!
|
||||||
|
- name: GitHub Discussions
|
||||||
|
url: https://github.com/SideStore/SideStore/discussions
|
||||||
|
about: As an alternative to Discord, you can also make a new GitHub discussion.
|
||||||
33
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
Normal file
33
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
name: Feature Request
|
||||||
|
description: Suggest a feature
|
||||||
|
title: "[FEATURE REQUEST] "
|
||||||
|
labels: ["enhancement"]
|
||||||
|
assignees:
|
||||||
|
- naturecodevoid
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
Thanks for taking the time to fill out this feature request! Before you continue filling out the form, please **[search in GitHub Issues](https://github.com/SideStore/SideStore/issues?q=is%3Aissue+is%3Aopen) for the feature you are suggestion** in case it has already been suggested.
|
||||||
|
|
||||||
|
**Please use [Discord](https://discord.gg/RgpFBX3Q3k) or [GitHub Discussions](https://github.com/SideStore/SideStore/discussions) for support.**
|
||||||
|
- type: textarea
|
||||||
|
id: description
|
||||||
|
attributes:
|
||||||
|
label: Describe the feature
|
||||||
|
description: What is the feature? How would it work?
|
||||||
|
placeholder: Please be clear and concise with your description.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: use-cases
|
||||||
|
attributes:
|
||||||
|
label: Use cases
|
||||||
|
description: Please include multiple use cases where this feature would be useful.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: alternatives
|
||||||
|
attributes:
|
||||||
|
label: Alternatives
|
||||||
|
description: If you have alternative ideas of how this feature could work, you can put them here.
|
||||||
15
.github/pull_request_template.md
vendored
Normal file
15
.github/pull_request_template.md
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
### Changes
|
||||||
|
|
||||||
|
<!-- Fill this list with what your PR changes. Example: -->
|
||||||
|
- Fix bug
|
||||||
|
- Change UI for QOL
|
||||||
|
|
||||||
|
<!-- If your PR is ready to be merged, you can remove this section. -->
|
||||||
|
### Todo before merge
|
||||||
|
|
||||||
|
<!-- Example: -->
|
||||||
|
- [x] Finish UI changes
|
||||||
|
- [ ] Test
|
||||||
|
|
||||||
|
<!-- If your PR doesn't close an issue, you can remove the next line. -->
|
||||||
|
Closes #1234
|
||||||
104
.github/workflows/beta.yml
vendored
104
.github/workflows/beta.yml
vendored
@@ -1,16 +1,12 @@
|
|||||||
name: Beta SideStore build
|
name: Beta SideStore build
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
tags:
|
||||||
- develop
|
- '[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+' # example: 1.0.0-beta.1
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build and upload SideStore Beta
|
name: Build and upload SideStore Beta
|
||||||
if: startsWith(github.event.head_commit.message, '[beta]')
|
|
||||||
concurrency:
|
|
||||||
group: ${{ github.ref }}
|
|
||||||
cancel-in-progress: true
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
@@ -25,63 +21,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
# - name: Cache rust cargo
|
|
||||||
# id: cache-rust-cargo
|
|
||||||
# uses: actions/cache@v3
|
|
||||||
# env:
|
|
||||||
# cache-name: cache-rust-cargo
|
|
||||||
# with:
|
|
||||||
# path: ~/.cargo
|
|
||||||
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
|
|
||||||
# restore-keys: |
|
|
||||||
# ${{ runner.os }}-build-${{ env.cache-name }}-
|
|
||||||
# ${{ runner.os }}-build-
|
|
||||||
# ${{ runner.os }}-
|
|
||||||
|
|
||||||
# - name: Cache rust minimuxer
|
|
||||||
# id: cache-rust-minimuxer
|
|
||||||
# uses: actions/cache@v3
|
|
||||||
# env:
|
|
||||||
# cache-name: cache-rust-minimuxer
|
|
||||||
# with:
|
|
||||||
# path: ./Dependencies/minimuxer/target
|
|
||||||
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
|
|
||||||
# restore-keys: |
|
|
||||||
# ${{ runner.os }}-build-${{ env.cache-name }}-
|
|
||||||
# ${{ runner.os }}-build-
|
|
||||||
# ${{ runner.os }}-
|
|
||||||
|
|
||||||
# - name: Cache rust em_proxy
|
|
||||||
# id: cache-rust-em_proxy
|
|
||||||
# uses: actions/cache@v3
|
|
||||||
# env:
|
|
||||||
# cache-name: cache-rust-em_proxy
|
|
||||||
# with:
|
|
||||||
# path: ./Dependencies/em_proxy/target
|
|
||||||
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
|
|
||||||
# restore-keys: |
|
|
||||||
# ${{ runner.os }}-build-${{ env.cache-name }}-
|
|
||||||
# ${{ runner.os }}-build-
|
|
||||||
# ${{ runner.os }}-
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: brew install ldid
|
run: brew install ldid
|
||||||
|
|
||||||
- name: Install rustup
|
- name: Change version to tag
|
||||||
uses: actions-rs/toolchain@v1
|
run: sed -e '/MARKETING_VERSION = .*/s/= .*/= ${{ github.ref_name }}/' -i '' Build.xcconfig
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
target: aarch64-apple-ios
|
|
||||||
|
|
||||||
# - name: Create emotional damage
|
|
||||||
# run: cd Dependencies/em_proxy && cargo build --release --target aarch64-apple-ios
|
|
||||||
|
|
||||||
# - name: Build minimuxer
|
|
||||||
# run: cd Dependencies/minimuxer && cargo build --release --target aarch64-apple-ios
|
|
||||||
|
|
||||||
- name: Add beta suffix to version
|
|
||||||
run: sed -e '/MARKETING_VERSION = .*/s/$/-beta.${{ github.run_number }}/' -i '' Build.xcconfig
|
|
||||||
|
|
||||||
- name: Setup Xcode
|
- name: Setup Xcode
|
||||||
uses: maxim-lobanov/setup-xcode@v1.4.1
|
uses: maxim-lobanov/setup-xcode@v1.4.1
|
||||||
@@ -89,29 +33,13 @@ jobs:
|
|||||||
xcode-version: ${{ matrix.version }}
|
xcode-version: ${{ matrix.version }}
|
||||||
|
|
||||||
- name: Build SideStore
|
- name: Build SideStore
|
||||||
run: |
|
run: make build | xcpretty && exit ${PIPESTATUS[0]}
|
||||||
xcodebuild -project AltStore.xcodeproj \
|
|
||||||
-scheme AltStore \
|
|
||||||
-sdk iphoneos \
|
|
||||||
archive -archivePath ./archive \
|
|
||||||
CODE_SIGNING_REQUIRED=NO \
|
|
||||||
AD_HOC_CODE_SIGNING_ALLOWED=YES \
|
|
||||||
CODE_SIGNING_ALLOWED=NO \
|
|
||||||
DEVELOPMENT_TEAM=XYZ0123456 \
|
|
||||||
ORG_IDENTIFIER=com.SideStore \
|
|
||||||
| xcpretty && exit ${PIPESTATUS[0]}
|
|
||||||
|
|
||||||
- name: Fakesign app
|
- name: Fakesign app
|
||||||
run: |
|
run: make fakesign
|
||||||
rm -rf archive.xcarchive/Products/Applications/SideStore.app/Frameworks/AltStoreCore.framework/Frameworks/
|
|
||||||
ldid -SAltStore/Resources/tempEnt.plist archive.xcarchive/Products/Applications/SideStore.app/SideStore
|
|
||||||
|
|
||||||
- name: Convert to IPA
|
- name: Convert to IPA
|
||||||
run: |
|
run: make ipa
|
||||||
mkdir Payload
|
|
||||||
mkdir Payload/SideStore.app
|
|
||||||
cp -R archive.xcarchive/Products/Applications/SideStore.app/ Payload/SideStore.app/
|
|
||||||
zip -r SideStore.ipa Payload
|
|
||||||
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v3.1.0
|
uses: actions/upload-artifact@v3.1.0
|
||||||
@@ -131,22 +59,22 @@ jobs:
|
|||||||
id: date_altstore
|
id: date_altstore
|
||||||
run: echo "date=$(date -u +'%Y-%m-%d')" >> $GITHUB_OUTPUT
|
run: echo "date=$(date -u +'%Y-%m-%d')" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Upload to beta release
|
- name: Upload to new beta release
|
||||||
uses: IsaacShelton/update-existing-release@v1.3.1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
release: "Beta"
|
name: ${{ steps.version.outputs.version }}
|
||||||
tag: "beta"
|
tag_name: ${{ github.ref_name }}
|
||||||
|
draft: true
|
||||||
prerelease: true
|
prerelease: true
|
||||||
files: SideStore.ipa
|
files: SideStore.ipa
|
||||||
body: |
|
body: |
|
||||||
This is an ⚠️ **EXPERIMENTAL** ⚠️ beta build for commit [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }}).
|
<!-- NOTE: to reset SideSource cache, go to `https://apps.sidestore.io/reset-cache/nightly/<sidesource key>`. This is not included in the GitHub Action since it makes draft releases so they can be edited and have a changelog. -->
|
||||||
|
Beta builds are hand-picked builds from development commits that will allow you to try out new features earlier than normal. However, **they might contain bugs and other issues. Use at your own risk!**
|
||||||
|
|
||||||
Beta builds are hand-picked builds from development commits that will allow you to try out new features earlier than normal, but with a lower chance of bugs than if you used nightly builds. However, since these changes are newer and less tested, they still have a good chance of bugs, so **use at your own risk**.
|
## Changelog
|
||||||
|
|
||||||
If you want to be on the bleeding edge and use the latest development builds, you can look at [SideStore Nightly](https://github.com/${{ github.repository }}/releases/tag/nightly). **Please be aware that these builds have a much higher chance of bugs than beta or stable**.
|
- TODO
|
||||||
|
|
||||||
If you use the `SideStore (Beta)` app, it will use the latest beta build (make sure to update it in "My Apps").
|
|
||||||
|
|
||||||
## Build Info
|
## Build Info
|
||||||
|
|
||||||
|
|||||||
13
.github/workflows/danger.yml
vendored
Normal file
13
.github/workflows/danger.yml
vendored
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
name: "Danger Swift"
|
||||||
|
on: [pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Danger JS
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Danger Swift
|
||||||
|
uses: danger/swift@2.0.3
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
28
.github/workflows/increase-nightly-build-num.sh
vendored
Normal file
28
.github/workflows/increase-nightly-build-num.sh
vendored
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Ensure we are in root directory
|
||||||
|
cd "$(dirname "$0")/../.."
|
||||||
|
|
||||||
|
DATE=`date -u +'%Y.%m.%d'`
|
||||||
|
BUILD_NUM=1
|
||||||
|
|
||||||
|
write() {
|
||||||
|
sed -e "/MARKETING_VERSION = .*/s/$/-nightly.$DATE.$BUILD_NUM/" -i '' Build.xcconfig
|
||||||
|
echo "$DATE,$BUILD_NUM" > .nightly-build-num
|
||||||
|
}
|
||||||
|
|
||||||
|
if [ ! -f ".nightly-build-num" ]; then
|
||||||
|
write
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
LAST_DATE=`cat .nightly-build-num | perl -n -e '/([^,]*),([^ ]*)$/ && print $1'`
|
||||||
|
LAST_BUILD_NUM=`cat .nightly-build-num | perl -n -e '/([^,]*),([^ ]*)$/ && print $2'`
|
||||||
|
|
||||||
|
if [[ "$DATE" != "$LAST_DATE" ]]; then
|
||||||
|
write
|
||||||
|
else
|
||||||
|
BUILD_NUM=`expr $LAST_BUILD_NUM + 1`
|
||||||
|
write
|
||||||
|
fi
|
||||||
|
|
||||||
89
.github/workflows/nightly.yml
vendored
89
.github/workflows/nightly.yml
vendored
@@ -24,63 +24,17 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
# - name: Cache rust cargo
|
|
||||||
# id: cache-rust-cargo
|
|
||||||
# uses: actions/cache@v3
|
|
||||||
# env:
|
|
||||||
# cache-name: cache-rust-cargo
|
|
||||||
# with:
|
|
||||||
# path: ~/.cargo
|
|
||||||
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
|
|
||||||
# restore-keys: |
|
|
||||||
# ${{ runner.os }}-build-${{ env.cache-name }}-
|
|
||||||
# ${{ runner.os }}-build-
|
|
||||||
# ${{ runner.os }}-
|
|
||||||
|
|
||||||
# - name: Cache rust minimuxer
|
|
||||||
# id: cache-rust-minimuxer
|
|
||||||
# uses: actions/cache@v3
|
|
||||||
# env:
|
|
||||||
# cache-name: cache-rust-minimuxer
|
|
||||||
# with:
|
|
||||||
# path: ./Dependencies/minimuxer/target
|
|
||||||
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
|
|
||||||
# restore-keys: |
|
|
||||||
# ${{ runner.os }}-build-${{ env.cache-name }}-
|
|
||||||
# ${{ runner.os }}-build-
|
|
||||||
# ${{ runner.os }}-
|
|
||||||
|
|
||||||
# - name: Cache rust em_proxy
|
|
||||||
# id: cache-rust-em_proxy
|
|
||||||
# uses: actions/cache@v3
|
|
||||||
# env:
|
|
||||||
# cache-name: cache-rust-em_proxy
|
|
||||||
# with:
|
|
||||||
# path: ./Dependencies/em_proxy/target
|
|
||||||
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
|
|
||||||
# restore-keys: |
|
|
||||||
# ${{ runner.os }}-build-${{ env.cache-name }}-
|
|
||||||
# ${{ runner.os }}-build-
|
|
||||||
# ${{ runner.os }}-
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: brew install ldid
|
run: brew install ldid
|
||||||
|
|
||||||
- name: Install rustup
|
- name: Cache .nightly-build-num
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
path: .nightly-build-num
|
||||||
override: true
|
key: nightly-build-num
|
||||||
target: aarch64-apple-ios
|
|
||||||
|
|
||||||
# - name: Create emotional damage
|
- name: Increase nightly build number and set as version
|
||||||
# run: cd Dependencies/em_proxy && cargo build --release --target aarch64-apple-ios
|
run: bash .github/workflows/increase-nightly-build-num.sh
|
||||||
|
|
||||||
# - name: Build minimuxer
|
|
||||||
# run: cd Dependencies/minimuxer && cargo build --release --target aarch64-apple-ios
|
|
||||||
|
|
||||||
- name: Add nightly suffix to version
|
|
||||||
run: sed -e '/MARKETING_VERSION = .*/s/$/-nightly.${{ github.run_number }}/' -i '' Build.xcconfig
|
|
||||||
|
|
||||||
- name: Setup Xcode
|
- name: Setup Xcode
|
||||||
uses: maxim-lobanov/setup-xcode@v1.4.1
|
uses: maxim-lobanov/setup-xcode@v1.4.1
|
||||||
@@ -88,29 +42,13 @@ jobs:
|
|||||||
xcode-version: ${{ matrix.version }}
|
xcode-version: ${{ matrix.version }}
|
||||||
|
|
||||||
- name: Build SideStore
|
- name: Build SideStore
|
||||||
run: |
|
run: make build | xcpretty && exit ${PIPESTATUS[0]}
|
||||||
xcodebuild -project AltStore.xcodeproj \
|
|
||||||
-scheme AltStore \
|
|
||||||
-sdk iphoneos \
|
|
||||||
archive -archivePath ./archive \
|
|
||||||
CODE_SIGNING_REQUIRED=NO \
|
|
||||||
AD_HOC_CODE_SIGNING_ALLOWED=YES \
|
|
||||||
CODE_SIGNING_ALLOWED=NO \
|
|
||||||
DEVELOPMENT_TEAM=XYZ0123456 \
|
|
||||||
ORG_IDENTIFIER=com.SideStore \
|
|
||||||
| xcpretty && exit ${PIPESTATUS[0]}
|
|
||||||
|
|
||||||
- name: Fakesign app
|
- name: Fakesign app
|
||||||
run: |
|
run: make fakesign
|
||||||
rm -rf archive.xcarchive/Products/Applications/SideStore.app/Frameworks/AltStoreCore.framework/Frameworks/
|
|
||||||
ldid -SAltStore/Resources/tempEnt.plist archive.xcarchive/Products/Applications/SideStore.app/SideStore
|
|
||||||
|
|
||||||
- name: Convert to IPA
|
- name: Convert to IPA
|
||||||
run: |
|
run: make ipa
|
||||||
mkdir Payload
|
|
||||||
mkdir Payload/SideStore.app
|
|
||||||
cp -R archive.xcarchive/Products/Applications/SideStore.app/ Payload/SideStore.app/
|
|
||||||
zip -r SideStore.ipa Payload
|
|
||||||
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v3.1.0
|
uses: actions/upload-artifact@v3.1.0
|
||||||
@@ -141,11 +79,9 @@ jobs:
|
|||||||
body: |
|
body: |
|
||||||
This is an ⚠️ **EXPERIMENTAL** ⚠️ nightly build for commit [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }}).
|
This is an ⚠️ **EXPERIMENTAL** ⚠️ nightly build for commit [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }}).
|
||||||
|
|
||||||
Nightly builds are built from the most recent commit which means you'll be able to try out new features very early. However, since these changes are much newer and less tested, they have a much higher chance of bugs, so **use at your own risk**.
|
Nightly builds are **extremely experimental builds only meant to be used by developers and alpha testers. They often contain bugs and experimental features. Use at your own risk!**
|
||||||
|
|
||||||
If you want to try out new features early but want a lower chance of bugs, you can look at [SideStore Beta](https://github.com/${{ github.repository }}/releases/tag/beta).
|
If you want to try out new features early but want a lower chance of bugs, you can look at [SideStore Beta](https://github.com/${{ github.repository }}/releases?q=beta).
|
||||||
|
|
||||||
If you use the `SideStore (Nightly)` app, it will use the latest nightly build (make sure to update it in "My Apps").
|
|
||||||
|
|
||||||
## Build Info
|
## Build Info
|
||||||
|
|
||||||
@@ -153,3 +89,6 @@ jobs:
|
|||||||
Built at (UTC date): `${{ steps.date_altstore.outputs.date }}`
|
Built at (UTC date): `${{ steps.date_altstore.outputs.date }}`
|
||||||
Commit SHA: `${{ github.sha }}`
|
Commit SHA: `${{ github.sha }}`
|
||||||
Version: `${{ steps.version.outputs.version }}`
|
Version: `${{ steps.version.outputs.version }}`
|
||||||
|
|
||||||
|
- name: Reset cache for apps.sidestore.io/nightly
|
||||||
|
run: sleep 10 && curl https://apps.sidestore.io/reset-cache/nightly/${{ secrets.SIDESOURCE_KEY }}
|
||||||
|
|||||||
75
.github/workflows/pr.yml
vendored
75
.github/workflows/pr.yml
vendored
@@ -19,60 +19,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
# - name: Cache rust cargo
|
|
||||||
# id: cache-rust-cargo
|
|
||||||
# uses: actions/cache@v3
|
|
||||||
# env:
|
|
||||||
# cache-name: cache-rust-cargo
|
|
||||||
# with:
|
|
||||||
# path: ~/.cargo
|
|
||||||
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
|
|
||||||
# restore-keys: |
|
|
||||||
# ${{ runner.os }}-build-${{ env.cache-name }}-
|
|
||||||
# ${{ runner.os }}-build-
|
|
||||||
# ${{ runner.os }}-
|
|
||||||
|
|
||||||
# - name: Cache rust minimuxer
|
|
||||||
# id: cache-rust-minimuxer
|
|
||||||
# uses: actions/cache@v3
|
|
||||||
# env:
|
|
||||||
# cache-name: cache-rust-minimuxer
|
|
||||||
# with:
|
|
||||||
# path: ./Dependencies/minimuxer/target
|
|
||||||
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
|
|
||||||
# restore-keys: |
|
|
||||||
# ${{ runner.os }}-build-${{ env.cache-name }}-
|
|
||||||
# ${{ runner.os }}-build-
|
|
||||||
# ${{ runner.os }}-
|
|
||||||
|
|
||||||
# - name: Cache rust em_proxy
|
|
||||||
# id: cache-rust-em_proxy
|
|
||||||
# uses: actions/cache@v3
|
|
||||||
# env:
|
|
||||||
# cache-name: cache-rust-em_proxy
|
|
||||||
# with:
|
|
||||||
# path: ./Dependencies/em_proxy/target
|
|
||||||
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
|
|
||||||
# restore-keys: |
|
|
||||||
# ${{ runner.os }}-build-${{ env.cache-name }}-
|
|
||||||
# ${{ runner.os }}-build-
|
|
||||||
# ${{ runner.os }}-
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: brew install ldid
|
run: brew install ldid
|
||||||
|
|
||||||
- name: Install rustup
|
- name: Add PR suffix to version
|
||||||
uses: actions-rs/toolchain@v1
|
run: sed -e '/MARKETING_VERSION = .*/s/$/-pr.${{ github.event.pull_request.number }}/' -i '' Build.xcconfig
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
target: aarch64-apple-ios
|
|
||||||
|
|
||||||
# - name: Create emotional damage
|
|
||||||
# run: cd Dependencies/em_proxy && cargo build --release --target aarch64-apple-ios
|
|
||||||
|
|
||||||
# - name: Build minimuxer
|
|
||||||
# run: cd Dependencies/minimuxer && cargo build --release --target aarch64-apple-ios
|
|
||||||
|
|
||||||
- name: Setup Xcode
|
- name: Setup Xcode
|
||||||
uses: maxim-lobanov/setup-xcode@v1.4.1
|
uses: maxim-lobanov/setup-xcode@v1.4.1
|
||||||
@@ -80,29 +31,13 @@ jobs:
|
|||||||
xcode-version: ${{ matrix.version }}
|
xcode-version: ${{ matrix.version }}
|
||||||
|
|
||||||
- name: Build SideStore
|
- name: Build SideStore
|
||||||
run: |
|
run: make build | xcpretty && exit ${PIPESTATUS[0]}
|
||||||
xcodebuild -project AltStore.xcodeproj \
|
|
||||||
-scheme AltStore \
|
|
||||||
-sdk iphoneos \
|
|
||||||
archive -archivePath ./archive \
|
|
||||||
CODE_SIGNING_REQUIRED=NO \
|
|
||||||
AD_HOC_CODE_SIGNING_ALLOWED=YES \
|
|
||||||
CODE_SIGNING_ALLOWED=NO \
|
|
||||||
DEVELOPMENT_TEAM=XYZ0123456 \
|
|
||||||
ORG_IDENTIFIER=com.SideStore \
|
|
||||||
| xcpretty && exit ${PIPESTATUS[0]}
|
|
||||||
|
|
||||||
- name: Fakesign app
|
- name: Fakesign app
|
||||||
run: |
|
run: make fakesign
|
||||||
rm -rf archive.xcarchive/Products/Applications/SideStore.app/Frameworks/AltStoreCore.framework/Frameworks/
|
|
||||||
ldid -SAltStore/Resources/tempEnt.plist archive.xcarchive/Products/Applications/SideStore.app/SideStore
|
|
||||||
|
|
||||||
- name: Convert to IPA
|
- name: Convert to IPA
|
||||||
run: |
|
run: make ipa
|
||||||
mkdir Payload
|
|
||||||
mkdir Payload/SideStore.app
|
|
||||||
cp -R archive.xcarchive/Products/Applications/SideStore.app/ Payload/SideStore.app/
|
|
||||||
zip -r SideStore.ipa Payload
|
|
||||||
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v3.1.0
|
uses: actions/upload-artifact@v3.1.0
|
||||||
|
|||||||
80
.github/workflows/stable.yml
vendored
80
.github/workflows/stable.yml
vendored
@@ -2,7 +2,7 @@ name: Stable SideStore build
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- '[0-9]+.[0-9]+.[0-9]+*'
|
- '[0-9]+.[0-9]+.[0-9]+' # example: 1.0.0
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -21,60 +21,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
# - name: Cache rust cargo
|
|
||||||
# id: cache-rust-cargo
|
|
||||||
# uses: actions/cache@v3
|
|
||||||
# env:
|
|
||||||
# cache-name: cache-rust-cargo
|
|
||||||
# with:
|
|
||||||
# path: ~/.cargo
|
|
||||||
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
|
|
||||||
# restore-keys: |
|
|
||||||
# ${{ runner.os }}-build-${{ env.cache-name }}-
|
|
||||||
# ${{ runner.os }}-build-
|
|
||||||
# ${{ runner.os }}-
|
|
||||||
|
|
||||||
# - name: Cache rust minimuxer
|
|
||||||
# id: cache-rust-minimuxer
|
|
||||||
# uses: actions/cache@v3
|
|
||||||
# env:
|
|
||||||
# cache-name: cache-rust-minimuxer
|
|
||||||
# with:
|
|
||||||
# path: ./Dependencies/minimuxer/target
|
|
||||||
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
|
|
||||||
# restore-keys: |
|
|
||||||
# ${{ runner.os }}-build-${{ env.cache-name }}-
|
|
||||||
# ${{ runner.os }}-build-
|
|
||||||
# ${{ runner.os }}-
|
|
||||||
|
|
||||||
# - name: Cache rust em_proxy
|
|
||||||
# id: cache-rust-em_proxy
|
|
||||||
# uses: actions/cache@v3
|
|
||||||
# env:
|
|
||||||
# cache-name: cache-rust-em_proxy
|
|
||||||
# with:
|
|
||||||
# path: ./Dependencies/em_proxy/target
|
|
||||||
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
|
|
||||||
# restore-keys: |
|
|
||||||
# ${{ runner.os }}-build-${{ env.cache-name }}-
|
|
||||||
# ${{ runner.os }}-build-
|
|
||||||
# ${{ runner.os }}-
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: brew install ldid
|
run: brew install ldid
|
||||||
|
|
||||||
- name: Install rustup
|
- name: Change version to tag
|
||||||
uses: actions-rs/toolchain@v1
|
run: sed -e '/MARKETING_VERSION = .*/s/= .*/= ${{ github.ref_name }}/' -i '' Build.xcconfig
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
target: aarch64-apple-ios
|
|
||||||
|
|
||||||
# - name: Create emotional damage
|
|
||||||
# run: cd Dependencies/em_proxy && cargo build --release --target aarch64-apple-ios
|
|
||||||
|
|
||||||
# - name: Build minimuxer
|
|
||||||
# run: cd Dependencies/minimuxer && cargo build --release --target aarch64-apple-ios
|
|
||||||
|
|
||||||
- name: Setup Xcode
|
- name: Setup Xcode
|
||||||
uses: maxim-lobanov/setup-xcode@v1.4.1
|
uses: maxim-lobanov/setup-xcode@v1.4.1
|
||||||
@@ -82,29 +33,13 @@ jobs:
|
|||||||
xcode-version: ${{ matrix.version }}
|
xcode-version: ${{ matrix.version }}
|
||||||
|
|
||||||
- name: Build SideStore
|
- name: Build SideStore
|
||||||
run: |
|
run: make build | xcpretty && exit ${PIPESTATUS[0]}
|
||||||
xcodebuild -project AltStore.xcodeproj \
|
|
||||||
-scheme AltStore \
|
|
||||||
-sdk iphoneos \
|
|
||||||
archive -archivePath ./archive \
|
|
||||||
CODE_SIGNING_REQUIRED=NO \
|
|
||||||
AD_HOC_CODE_SIGNING_ALLOWED=YES \
|
|
||||||
CODE_SIGNING_ALLOWED=NO \
|
|
||||||
DEVELOPMENT_TEAM=XYZ0123456 \
|
|
||||||
ORG_IDENTIFIER=com.SideStore \
|
|
||||||
| xcpretty && exit ${PIPESTATUS[0]}
|
|
||||||
|
|
||||||
- name: Fakesign app
|
- name: Fakesign app
|
||||||
run: |
|
run: make fakesign
|
||||||
rm -rf archive.xcarchive/Products/Applications/SideStore.app/Frameworks/AltStoreCore.framework/Frameworks/
|
|
||||||
ldid -SAltStore/Resources/tempEnt.plist archive.xcarchive/Products/Applications/SideStore.app/SideStore
|
|
||||||
|
|
||||||
- name: Convert to IPA
|
- name: Convert to IPA
|
||||||
run: |
|
run: make ipa
|
||||||
mkdir Payload
|
|
||||||
mkdir Payload/SideStore.app
|
|
||||||
cp -R archive.xcarchive/Products/Applications/SideStore.app/ Payload/SideStore.app/
|
|
||||||
zip -r SideStore.ipa Payload
|
|
||||||
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v3.1.0
|
uses: actions/upload-artifact@v3.1.0
|
||||||
@@ -129,10 +64,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
name: ${{ steps.version.outputs.version }}
|
name: ${{ steps.version.outputs.version }}
|
||||||
tag_name: ${{ github.ref }}
|
tag_name: ${{ github.ref_name }}
|
||||||
draft: true
|
draft: true
|
||||||
files: SideStore.ipa
|
files: SideStore.ipa
|
||||||
body: |
|
body: |
|
||||||
|
<!-- NOTE: to reset SideSource cache, go to `https://apps.sidestore.io/reset-cache/nightly/<sidesource key>`. This is not included in the GitHub Action since it makes draft releases so they can be edited and have a changelog. -->
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
- TODO
|
- TODO
|
||||||
|
|||||||
10
.gitignore
vendored
10
.gitignore
vendored
@@ -34,3 +34,13 @@ xcuserdata
|
|||||||
|
|
||||||
## AppCode specific
|
## AppCode specific
|
||||||
.idea/
|
.idea/
|
||||||
|
|
||||||
|
.build
|
||||||
|
|
||||||
|
Payload/
|
||||||
|
SideStore.ipa
|
||||||
|
Dependencies/.*-prebuilt-fetch-*
|
||||||
|
Dependencies/minimuxer/*
|
||||||
|
Dependencies/em_proxy/*
|
||||||
|
!Dependencies/**/.gitkeep
|
||||||
|
.nightly-build-num
|
||||||
|
|||||||
6
.gitmodules
vendored
6
.gitmodules
vendored
@@ -13,15 +13,9 @@
|
|||||||
[submodule "Dependencies/MarkdownAttributedString"]
|
[submodule "Dependencies/MarkdownAttributedString"]
|
||||||
path = Dependencies/MarkdownAttributedString
|
path = Dependencies/MarkdownAttributedString
|
||||||
url = https://github.com/chockenberry/MarkdownAttributedString.git
|
url = https://github.com/chockenberry/MarkdownAttributedString.git
|
||||||
[submodule "Dependencies/em_proxy"]
|
|
||||||
path = Dependencies/em_proxy
|
|
||||||
url = https://github.com/jkcoxson/em_proxy
|
|
||||||
[submodule "Dependencies/libimobiledevice-glue"]
|
[submodule "Dependencies/libimobiledevice-glue"]
|
||||||
path = Dependencies/libimobiledevice-glue
|
path = Dependencies/libimobiledevice-glue
|
||||||
url = https://github.com/libimobiledevice/libimobiledevice-glue
|
url = https://github.com/libimobiledevice/libimobiledevice-glue
|
||||||
[submodule "Dependencies/minimuxer"]
|
|
||||||
path = Dependencies/minimuxer
|
|
||||||
url = https://github.com/jkcoxson/minimuxer
|
|
||||||
[submodule "Dependencies/libfragmentzip"]
|
[submodule "Dependencies/libfragmentzip"]
|
||||||
path = Dependencies/libfragmentzip
|
path = Dependencies/libfragmentzip
|
||||||
url = https://github.com/SideStore/libfragmentzip.git
|
url = https://github.com/SideStore/libfragmentzip.git
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
19B9B7452845E6DF0076EF69 /* SelectTeamViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19B9B7442845E6DF0076EF69 /* SelectTeamViewController.swift */; };
|
19B9B7452845E6DF0076EF69 /* SelectTeamViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19B9B7442845E6DF0076EF69 /* SelectTeamViewController.swift */; };
|
||||||
4879A95F2861046500FC1BBD /* AltSign in Frameworks */ = {isa = PBXBuildFile; productRef = 4879A95E2861046500FC1BBD /* AltSign */; };
|
4879A95F2861046500FC1BBD /* AltSign in Frameworks */ = {isa = PBXBuildFile; productRef = 4879A95E2861046500FC1BBD /* AltSign */; };
|
||||||
4879A9622861049C00FC1BBD /* OpenSSL in Frameworks */ = {isa = PBXBuildFile; productRef = 4879A9612861049C00FC1BBD /* OpenSSL */; };
|
4879A9622861049C00FC1BBD /* OpenSSL in Frameworks */ = {isa = PBXBuildFile; productRef = 4879A9612861049C00FC1BBD /* OpenSSL */; };
|
||||||
|
99C4EF4D2979132100CB538D /* SemanticVersion in Frameworks */ = {isa = PBXBuildFile; productRef = 99C4EF4C2979132100CB538D /* SemanticVersion */; };
|
||||||
B3146ED2284F581E00BBC3FD /* Roxas.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B3146ECD284F580500BBC3FD /* Roxas.framework */; };
|
B3146ED2284F581E00BBC3FD /* Roxas.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B3146ECD284F580500BBC3FD /* Roxas.framework */; };
|
||||||
B3146ED3284F581E00BBC3FD /* Roxas.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = B3146ECD284F580500BBC3FD /* Roxas.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
|
B3146ED3284F581E00BBC3FD /* Roxas.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = B3146ECD284F580500BBC3FD /* Roxas.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
|
||||||
B33FFBA8295F8E98002259E6 /* libfragmentzip.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B343F894295F7F9B002B1159 /* libfragmentzip.a */; };
|
B33FFBA8295F8E98002259E6 /* libfragmentzip.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B343F894295F7F9B002B1159 /* libfragmentzip.a */; };
|
||||||
@@ -500,7 +501,6 @@
|
|||||||
/* End PBXCopyFilesBuildPhase section */
|
/* End PBXCopyFilesBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXFileReference section */
|
/* Begin PBXFileReference section */
|
||||||
19104DA92909BC7100C49C7B /* em_proxy.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = em_proxy.h; sourceTree = "<group>"; };
|
|
||||||
19104DB22909C06C00C49C7B /* libEmotionalDamage.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libEmotionalDamage.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
19104DB22909C06C00C49C7B /* libEmotionalDamage.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libEmotionalDamage.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
19104DB42909C06D00C49C7B /* EmotionalDamage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EmotionalDamage.swift; sourceTree = "<group>"; };
|
19104DB42909C06D00C49C7B /* EmotionalDamage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EmotionalDamage.swift; sourceTree = "<group>"; };
|
||||||
191E5FAB290A5D92001A3B7C /* libminimuxer.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libminimuxer.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
191E5FAB290A5D92001A3B7C /* libminimuxer.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libminimuxer.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
@@ -509,7 +509,6 @@
|
|||||||
191E5FCF290A651D001A3B7C /* jplist.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = jplist.c; path = Dependencies/libplist/src/jplist.c; sourceTree = SOURCE_ROOT; };
|
191E5FCF290A651D001A3B7C /* jplist.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = jplist.c; path = Dependencies/libplist/src/jplist.c; sourceTree = SOURCE_ROOT; };
|
||||||
191E5FD0290A651D001A3B7C /* jsmn.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = jsmn.c; path = Dependencies/libplist/src/jsmn.c; sourceTree = SOURCE_ROOT; };
|
191E5FD0290A651D001A3B7C /* jsmn.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = jsmn.c; path = Dependencies/libplist/src/jsmn.c; sourceTree = SOURCE_ROOT; };
|
||||||
191E5FD1290A651D001A3B7C /* jsmn.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = jsmn.h; path = Dependencies/libplist/src/jsmn.h; sourceTree = SOURCE_ROOT; };
|
191E5FD1290A651D001A3B7C /* jsmn.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = jsmn.h; path = Dependencies/libplist/src/jsmn.h; sourceTree = SOURCE_ROOT; };
|
||||||
191E5FD7290A6EFB001A3B7C /* minimuxer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = minimuxer.h; path = ../Dependencies/minimuxer/minimuxer.h; sourceTree = "<group>"; };
|
|
||||||
1920B04E2924AC8300744F60 /* Settings.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = Settings.bundle; sourceTree = "<group>"; };
|
1920B04E2924AC8300744F60 /* Settings.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = Settings.bundle; sourceTree = "<group>"; };
|
||||||
19B9B7442845E6DF0076EF69 /* SelectTeamViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SelectTeamViewController.swift; sourceTree = "<group>"; };
|
19B9B7442845E6DF0076EF69 /* SelectTeamViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SelectTeamViewController.swift; sourceTree = "<group>"; };
|
||||||
B3146EC6284F580500BBC3FD /* Roxas.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = Roxas.xcodeproj; path = Dependencies/Roxas/Roxas.xcodeproj; sourceTree = "<group>"; };
|
B3146EC6284F580500BBC3FD /* Roxas.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = Roxas.xcodeproj; path = Dependencies/Roxas/Roxas.xcodeproj; sourceTree = "<group>"; };
|
||||||
@@ -896,6 +895,7 @@
|
|||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
B3C395F1284F2DE700DA9E2F /* KeychainAccess in Frameworks */,
|
B3C395F1284F2DE700DA9E2F /* KeychainAccess in Frameworks */,
|
||||||
|
99C4EF4D2979132100CB538D /* SemanticVersion in Frameworks */,
|
||||||
4879A95F2861046500FC1BBD /* AltSign in Frameworks */,
|
4879A95F2861046500FC1BBD /* AltSign in Frameworks */,
|
||||||
B39575F5284F29E20080B4FF /* Roxas.framework in Frameworks */,
|
B39575F5284F29E20080B4FF /* Roxas.framework in Frameworks */,
|
||||||
);
|
);
|
||||||
@@ -937,7 +937,6 @@
|
|||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
B343F84D295F6323002B1159 /* em_proxy.xcodeproj */,
|
B343F84D295F6323002B1159 /* em_proxy.xcodeproj */,
|
||||||
19104DA92909BC7100C49C7B /* em_proxy.h */,
|
|
||||||
19104DB42909C06D00C49C7B /* EmotionalDamage.swift */,
|
19104DB42909C06D00C49C7B /* EmotionalDamage.swift */,
|
||||||
);
|
);
|
||||||
path = EmotionalDamage;
|
path = EmotionalDamage;
|
||||||
@@ -947,7 +946,6 @@
|
|||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
B343F847295F6321002B1159 /* minimuxer.xcodeproj */,
|
B343F847295F6321002B1159 /* minimuxer.xcodeproj */,
|
||||||
191E5FD7290A6EFB001A3B7C /* minimuxer.h */,
|
|
||||||
191E5FAD290A5D92001A3B7C /* minimuxer.swift */,
|
191E5FAD290A5D92001A3B7C /* minimuxer.swift */,
|
||||||
);
|
);
|
||||||
path = minimuxer;
|
path = minimuxer;
|
||||||
@@ -1937,11 +1935,13 @@
|
|||||||
buildRules = (
|
buildRules = (
|
||||||
);
|
);
|
||||||
dependencies = (
|
dependencies = (
|
||||||
|
99C4EF51297994E200CB538D /* PBXTargetDependency */,
|
||||||
);
|
);
|
||||||
name = AltStoreCore;
|
name = AltStoreCore;
|
||||||
packageProductDependencies = (
|
packageProductDependencies = (
|
||||||
B3C395F0284F2DE700DA9E2F /* KeychainAccess */,
|
B3C395F0284F2DE700DA9E2F /* KeychainAccess */,
|
||||||
4879A95E2861046500FC1BBD /* AltSign */,
|
4879A95E2861046500FC1BBD /* AltSign */,
|
||||||
|
99C4EF4C2979132100CB538D /* SemanticVersion */,
|
||||||
);
|
);
|
||||||
productName = AltStoreCore;
|
productName = AltStoreCore;
|
||||||
productReference = BF66EE7E2501AE50007EE018 /* AltStoreCore.framework */;
|
productReference = BF66EE7E2501AE50007EE018 /* AltStoreCore.framework */;
|
||||||
@@ -2060,6 +2060,7 @@
|
|||||||
B3C395FD284F3C0900DA9E2F /* XCRemoteSwiftPackageReference "STPrivilegedTask" */,
|
B3C395FD284F3C0900DA9E2F /* XCRemoteSwiftPackageReference "STPrivilegedTask" */,
|
||||||
4879A95D2861046500FC1BBD /* XCRemoteSwiftPackageReference "AltSign" */,
|
4879A95D2861046500FC1BBD /* XCRemoteSwiftPackageReference "AltSign" */,
|
||||||
4879A9602861049C00FC1BBD /* XCRemoteSwiftPackageReference "OpenSSL" */,
|
4879A9602861049C00FC1BBD /* XCRemoteSwiftPackageReference "OpenSSL" */,
|
||||||
|
99C4EF472978D52400CB538D /* XCRemoteSwiftPackageReference "SemanticVersion" */,
|
||||||
);
|
);
|
||||||
productRefGroup = BFD2476B2284B9A500981D42 /* Products */;
|
productRefGroup = BFD2476B2284B9A500981D42 /* Products */;
|
||||||
projectDirPath = "";
|
projectDirPath = "";
|
||||||
@@ -2543,6 +2544,10 @@
|
|||||||
isa = PBXTargetDependency;
|
isa = PBXTargetDependency;
|
||||||
productRef = 191E5FD9290AFA49001A3B7C /* OpenSSL */;
|
productRef = 191E5FD9290AFA49001A3B7C /* OpenSSL */;
|
||||||
};
|
};
|
||||||
|
99C4EF51297994E200CB538D /* PBXTargetDependency */ = {
|
||||||
|
isa = PBXTargetDependency;
|
||||||
|
productRef = 99C4EF50297994E200CB538D /* SemanticVersion */;
|
||||||
|
};
|
||||||
B343F86F295F76FD002B1159 /* PBXTargetDependency */ = {
|
B343F86F295F76FD002B1159 /* PBXTargetDependency */ = {
|
||||||
isa = PBXTargetDependency;
|
isa = PBXTargetDependency;
|
||||||
name = "minimuxer-staticlib";
|
name = "minimuxer-staticlib";
|
||||||
@@ -2610,15 +2615,14 @@
|
|||||||
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
|
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
|
||||||
LIBRARY_SEARCH_PATHS = (
|
LIBRARY_SEARCH_PATHS = (
|
||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"$(PROJECT_DIR)/Dependencies/em_proxy/target/aarch64-apple-ios/release",
|
"$(PROJECT_DIR)/Dependencies/em_proxy",
|
||||||
"$(PROJECT_DIR)/Dependencies/em_proxy/target/aarch64-apple-ios/debug",
|
|
||||||
);
|
);
|
||||||
MACOSX_DEPLOYMENT_TARGET = "$(RECOMMENDED_MACOSX_DEPLOYMENT_TARGET)";
|
MACOSX_DEPLOYMENT_TARGET = "$(RECOMMENDED_MACOSX_DEPLOYMENT_TARGET)";
|
||||||
OTHER_LDFLAGS = "-ObjC";
|
OTHER_LDFLAGS = "-ObjC";
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
SKIP_INSTALL = YES;
|
SKIP_INSTALL = YES;
|
||||||
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
||||||
SWIFT_OBJC_BRIDGING_HEADER = EmotionalDamage/em_proxy.h;
|
SWIFT_OBJC_BRIDGING_HEADER = Dependencies/em_proxy/em_proxy.h;
|
||||||
SWIFT_VERSION = 5.0;
|
SWIFT_VERSION = 5.0;
|
||||||
TARGETED_DEVICE_FAMILY = "1,2";
|
TARGETED_DEVICE_FAMILY = "1,2";
|
||||||
TVOS_DEPLOYMENT_TARGET = 14.0;
|
TVOS_DEPLOYMENT_TARGET = 14.0;
|
||||||
@@ -2637,14 +2641,13 @@
|
|||||||
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
|
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
|
||||||
LIBRARY_SEARCH_PATHS = (
|
LIBRARY_SEARCH_PATHS = (
|
||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"$(PROJECT_DIR)/Dependencies/em_proxy/target/aarch64-apple-ios/release",
|
"$(PROJECT_DIR)/Dependencies/em_proxy",
|
||||||
"$(PROJECT_DIR)/Dependencies/em_proxy/target/aarch64-apple-ios/debug",
|
|
||||||
);
|
);
|
||||||
MACOSX_DEPLOYMENT_TARGET = "$(RECOMMENDED_MACOSX_DEPLOYMENT_TARGET)";
|
MACOSX_DEPLOYMENT_TARGET = "$(RECOMMENDED_MACOSX_DEPLOYMENT_TARGET)";
|
||||||
OTHER_LDFLAGS = "-ObjC";
|
OTHER_LDFLAGS = "-ObjC";
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
SKIP_INSTALL = YES;
|
SKIP_INSTALL = YES;
|
||||||
SWIFT_OBJC_BRIDGING_HEADER = EmotionalDamage/em_proxy.h;
|
SWIFT_OBJC_BRIDGING_HEADER = Dependencies/em_proxy/em_proxy.h;
|
||||||
SWIFT_VERSION = 5.0;
|
SWIFT_VERSION = 5.0;
|
||||||
TARGETED_DEVICE_FAMILY = "1,2";
|
TARGETED_DEVICE_FAMILY = "1,2";
|
||||||
TVOS_DEPLOYMENT_TARGET = 14.0;
|
TVOS_DEPLOYMENT_TARGET = 14.0;
|
||||||
@@ -2664,14 +2667,13 @@
|
|||||||
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
|
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
|
||||||
LIBRARY_SEARCH_PATHS = (
|
LIBRARY_SEARCH_PATHS = (
|
||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"$(PROJECT_DIR)/Dependencies/minimuxer/target/aarch64-apple-ios/release",
|
"$(PROJECT_DIR)/Dependencies/minimuxer",
|
||||||
"$(PROJECT_DIR)/Dependencies/minimuxer/target/aarch64-apple-ios/debug",
|
|
||||||
);
|
);
|
||||||
OTHER_LDFLAGS = "-ObjC";
|
OTHER_LDFLAGS = "-ObjC";
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
SKIP_INSTALL = YES;
|
SKIP_INSTALL = YES;
|
||||||
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
||||||
SWIFT_OBJC_BRIDGING_HEADER = minimuxer/minimuxer.h;
|
SWIFT_OBJC_BRIDGING_HEADER = Dependencies/minimuxer/minimuxer.h;
|
||||||
SWIFT_VERSION = 5.0;
|
SWIFT_VERSION = 5.0;
|
||||||
TARGETED_DEVICE_FAMILY = "1,2";
|
TARGETED_DEVICE_FAMILY = "1,2";
|
||||||
};
|
};
|
||||||
@@ -2688,13 +2690,12 @@
|
|||||||
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
|
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
|
||||||
LIBRARY_SEARCH_PATHS = (
|
LIBRARY_SEARCH_PATHS = (
|
||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"$(PROJECT_DIR)/Dependencies/minimuxer/target/aarch64-apple-ios/release",
|
"$(PROJECT_DIR)/Dependencies/minimuxer",
|
||||||
"$(PROJECT_DIR)/Dependencies/minimuxer/target/aarch64-apple-ios/debug",
|
|
||||||
);
|
);
|
||||||
OTHER_LDFLAGS = "-ObjC";
|
OTHER_LDFLAGS = "-ObjC";
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
SKIP_INSTALL = YES;
|
SKIP_INSTALL = YES;
|
||||||
SWIFT_OBJC_BRIDGING_HEADER = minimuxer/minimuxer.h;
|
SWIFT_OBJC_BRIDGING_HEADER = Dependencies/minimuxer/minimuxer.h;
|
||||||
SWIFT_VERSION = 5.0;
|
SWIFT_VERSION = 5.0;
|
||||||
TARGETED_DEVICE_FAMILY = "1,2";
|
TARGETED_DEVICE_FAMILY = "1,2";
|
||||||
};
|
};
|
||||||
@@ -3194,8 +3195,6 @@
|
|||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"$(PROJECT_DIR)/Dependencies/fragmentzip",
|
"$(PROJECT_DIR)/Dependencies/fragmentzip",
|
||||||
"$(PROJECT_DIR)/Dependencies/libcurl",
|
"$(PROJECT_DIR)/Dependencies/libcurl",
|
||||||
"$(PROJECT_DIR)/Dependencies/minimuxer/target/aarch64-apple-ios/debug",
|
|
||||||
"$(PROJECT_DIR)/Dependencies/minimuxer/target/aarch64-apple-ios/release",
|
|
||||||
);
|
);
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = "$(PRODUCT_BUNDLE_IDENTIFIER)";
|
PRODUCT_BUNDLE_IDENTIFIER = "$(PRODUCT_BUNDLE_IDENTIFIER)";
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
@@ -3230,8 +3229,6 @@
|
|||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"$(PROJECT_DIR)/Dependencies/fragmentzip",
|
"$(PROJECT_DIR)/Dependencies/fragmentzip",
|
||||||
"$(PROJECT_DIR)/Dependencies/libcurl",
|
"$(PROJECT_DIR)/Dependencies/libcurl",
|
||||||
"$(PROJECT_DIR)/Dependencies/minimuxer/target/aarch64-apple-ios/debug",
|
|
||||||
"$(PROJECT_DIR)/Dependencies/minimuxer/target/aarch64-apple-ios/release",
|
|
||||||
);
|
);
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = "$(PRODUCT_BUNDLE_IDENTIFIER)";
|
PRODUCT_BUNDLE_IDENTIFIER = "$(PRODUCT_BUNDLE_IDENTIFIER)";
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
@@ -3346,6 +3343,14 @@
|
|||||||
minimumVersion = 1.1.180;
|
minimumVersion = 1.1.180;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
99C4EF472978D52400CB538D /* XCRemoteSwiftPackageReference "SemanticVersion" */ = {
|
||||||
|
isa = XCRemoteSwiftPackageReference;
|
||||||
|
repositoryURL = "https://github.com/SwiftPackageIndex/SemanticVersion.git";
|
||||||
|
requirement = {
|
||||||
|
kind = upToNextMajorVersion;
|
||||||
|
minimumVersion = 0.3.5;
|
||||||
|
};
|
||||||
|
};
|
||||||
B3C395EF284F2DE700DA9E2F /* XCRemoteSwiftPackageReference "KeychainAccess" */ = {
|
B3C395EF284F2DE700DA9E2F /* XCRemoteSwiftPackageReference "KeychainAccess" */ = {
|
||||||
isa = XCRemoteSwiftPackageReference;
|
isa = XCRemoteSwiftPackageReference;
|
||||||
repositoryURL = "https://github.com/kishikawakatsumi/KeychainAccess.git";
|
repositoryURL = "https://github.com/kishikawakatsumi/KeychainAccess.git";
|
||||||
@@ -3417,6 +3422,16 @@
|
|||||||
package = 4879A9602861049C00FC1BBD /* XCRemoteSwiftPackageReference "OpenSSL" */;
|
package = 4879A9602861049C00FC1BBD /* XCRemoteSwiftPackageReference "OpenSSL" */;
|
||||||
productName = OpenSSL;
|
productName = OpenSSL;
|
||||||
};
|
};
|
||||||
|
99C4EF4C2979132100CB538D /* SemanticVersion */ = {
|
||||||
|
isa = XCSwiftPackageProductDependency;
|
||||||
|
package = 99C4EF472978D52400CB538D /* XCRemoteSwiftPackageReference "SemanticVersion" */;
|
||||||
|
productName = SemanticVersion;
|
||||||
|
};
|
||||||
|
99C4EF50297994E200CB538D /* SemanticVersion */ = {
|
||||||
|
isa = XCSwiftPackageProductDependency;
|
||||||
|
package = 99C4EF472978D52400CB538D /* XCRemoteSwiftPackageReference "SemanticVersion" */;
|
||||||
|
productName = SemanticVersion;
|
||||||
|
};
|
||||||
B3C395F0284F2DE700DA9E2F /* KeychainAccess */ = {
|
B3C395F0284F2DE700DA9E2F /* KeychainAccess */ = {
|
||||||
isa = XCSwiftPackageProductDependency;
|
isa = XCSwiftPackageProductDependency;
|
||||||
package = B3C395EF284F2DE700DA9E2F /* XCRemoteSwiftPackageReference "KeychainAccess" */;
|
package = B3C395EF284F2DE700DA9E2F /* XCRemoteSwiftPackageReference "KeychainAccess" */;
|
||||||
|
|||||||
@@ -63,6 +63,15 @@
|
|||||||
"version" : "1.10.1"
|
"version" : "1.10.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"identity" : "semanticversion",
|
||||||
|
"kind" : "remoteSourceControl",
|
||||||
|
"location" : "https://github.com/SwiftPackageIndex/SemanticVersion.git",
|
||||||
|
"state" : {
|
||||||
|
"revision" : "fc670910dc0903cc269b3d0b776cda5703979c4e",
|
||||||
|
"version" : "0.3.5"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"identity" : "sparkle",
|
"identity" : "sparkle",
|
||||||
"kind" : "remoteSourceControl",
|
"kind" : "remoteSourceControl",
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ final class LaunchViewController: RSTLaunchViewController, UIDocumentPickerDeleg
|
|||||||
} else {
|
} else {
|
||||||
// Show an alert explaining the pairing file
|
// Show an alert explaining the pairing file
|
||||||
// Create new Alert
|
// Create new Alert
|
||||||
let dialogMessage = UIAlertController(title: "Pairing File", message: "Select the pairing file for your device. For more information, go to https://youtu.be/dQw4w9WgXcQ", preferredStyle: .alert)
|
let dialogMessage = UIAlertController(title: "Pairing File", message: "Select the pairing file for your device. For more information, go to https://wiki.sidestore.io/guides/install#pairing-process", preferredStyle: .alert)
|
||||||
|
|
||||||
// Create OK button with action handler
|
// Create OK button with action handler
|
||||||
let ok = UIAlertAction(title: "OK", style: .default, handler: { (action) -> Void in
|
let ok = UIAlertAction(title: "OK", style: .default, handler: { (action) -> Void in
|
||||||
|
|||||||
@@ -392,7 +392,8 @@ extension AppManager
|
|||||||
func fetchAppIDs(completionHandler: @escaping (Result<([AppID], NSManagedObjectContext), Error>) -> Void)
|
func fetchAppIDs(completionHandler: @escaping (Result<([AppID], NSManagedObjectContext), Error>) -> Void)
|
||||||
{
|
{
|
||||||
let authenticationOperation = self.authenticate(presentingViewController: nil) { (result) in
|
let authenticationOperation = self.authenticate(presentingViewController: nil) { (result) in
|
||||||
print("Authenticated for fetching App IDs with result:", result)
|
// result contains name, email, auth token, OTP and other possibly personal/account specific info. we don't want this logged
|
||||||
|
//print("Authenticated for fetching App IDs with result:", result)
|
||||||
}
|
}
|
||||||
|
|
||||||
let fetchAppIDsOperation = FetchAppIDsOperation(context: authenticationOperation.context)
|
let fetchAppIDsOperation = FetchAppIDsOperation(context: authenticationOperation.context)
|
||||||
|
|||||||
@@ -16,9 +16,10 @@
|
|||||||
<key>Key</key>
|
<key>Key</key>
|
||||||
<string>customAnisetteURL</string>
|
<string>customAnisetteURL</string>
|
||||||
<key>DefaultValue</key>
|
<key>DefaultValue</key>
|
||||||
<string>http://191.101.206.188:6969</string>
|
<string>http://ani.sidestore.io</string>
|
||||||
<key>Titles</key>
|
<key>Titles</key>
|
||||||
<array>
|
<array>
|
||||||
|
<string>SideStore</string>
|
||||||
<string>Macley (US)</string>
|
<string>Macley (US)</string>
|
||||||
<string>Macley (DE)</string>
|
<string>Macley (DE)</string>
|
||||||
<string>DrPudding</string>
|
<string>DrPudding</string>
|
||||||
@@ -31,6 +32,7 @@
|
|||||||
</array>
|
</array>
|
||||||
<key>Values</key>
|
<key>Values</key>
|
||||||
<array>
|
<array>
|
||||||
|
<string>http://ani.sidestore.io</string>
|
||||||
<string>http://us1.sternserv.tech</string>
|
<string>http://us1.sternserv.tech</string>
|
||||||
<string>http://de1.sternserv.tech</string>
|
<string>http://de1.sternserv.tech</string>
|
||||||
<string>https://sign.rheaa.xyz</string>
|
<string>https://sign.rheaa.xyz</string>
|
||||||
|
|||||||
@@ -173,8 +173,7 @@ private extension PatreonViewController
|
|||||||
|
|
||||||
@objc func openPatreonURL(_ sender: UIButton)
|
@objc func openPatreonURL(_ sender: UIButton)
|
||||||
{
|
{
|
||||||
// TODO: Is this the final URL? @JoeMatt
|
let patreonURL = URL(string: "https://www.patreon.com/SideStore")!
|
||||||
let patreonURL = URL(string: "https://www.patreon.com/JitStreamer")!
|
|
||||||
|
|
||||||
let safariViewController = SFSafariViewController(url: patreonURL)
|
let safariViewController = SFSafariViewController(url: patreonURL)
|
||||||
safariViewController.preferredControlTintColor = self.view.tintColor
|
safariViewController.preferredControlTintColor = self.view.tintColor
|
||||||
|
|||||||
@@ -381,13 +381,12 @@ private extension SourcesViewController
|
|||||||
dispatchGroup.notify(queue: .main) {
|
dispatchGroup.notify(queue: .main) {
|
||||||
if let error = fetchError
|
if let error = fetchError
|
||||||
{
|
{
|
||||||
finish(.failure(error))
|
print(error)
|
||||||
}
|
// 1 error doesn't mean all trusted sources failed to load! Riley, why did you do this???????
|
||||||
else
|
// finish(.failure(error))
|
||||||
{
|
|
||||||
let sources = featuredSourceURLs.compactMap { sourcesByURL[$0] }
|
|
||||||
finish(.success(sources))
|
|
||||||
}
|
}
|
||||||
|
let sources = featuredSourceURLs.compactMap { sourcesByURL[$0] }
|
||||||
|
finish(.success(sources))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -56,6 +56,7 @@
|
|||||||
<attribute name="certificateSerialNumber" optional="YES" attributeType="String"/>
|
<attribute name="certificateSerialNumber" optional="YES" attributeType="String"/>
|
||||||
<attribute name="expirationDate" attributeType="Date" usesScalarValueType="NO"/>
|
<attribute name="expirationDate" attributeType="Date" usesScalarValueType="NO"/>
|
||||||
<attribute name="hasAlternateIcon" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
|
<attribute name="hasAlternateIcon" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
|
||||||
|
<attribute name="hasUpdate" optional="YES" attributeType="Boolean" usesScalarValueType="YES"/>
|
||||||
<attribute name="installedDate" attributeType="Date" usesScalarValueType="NO"/>
|
<attribute name="installedDate" attributeType="Date" usesScalarValueType="NO"/>
|
||||||
<attribute name="isActive" attributeType="Boolean" defaultValueString="YES" usesScalarValueType="YES"/>
|
<attribute name="isActive" attributeType="Boolean" defaultValueString="YES" usesScalarValueType="YES"/>
|
||||||
<attribute name="isRefreshing" transient="YES" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
|
<attribute name="isRefreshing" transient="YES" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ import Foundation
|
|||||||
import CoreData
|
import CoreData
|
||||||
|
|
||||||
import AltSign
|
import AltSign
|
||||||
|
import SemanticVersion
|
||||||
|
|
||||||
// Free developer accounts are limited to only 3 active sideloaded apps at a time as of iOS 13.3.1.
|
// Free developer accounts are limited to only 3 active sideloaded apps at a time as of iOS 13.3.1.
|
||||||
public let ALTActiveAppsLimit = 3
|
public let ALTActiveAppsLimit = 3
|
||||||
@@ -59,6 +60,21 @@ public class InstalledApp: NSManagedObject, InstalledAppProtocol
|
|||||||
return self.storeApp == nil
|
return self.storeApp == nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@objc public var hasUpdate: Bool {
|
||||||
|
if self.storeApp == nil { return false }
|
||||||
|
if self.storeApp!.latestVersion == nil { return false }
|
||||||
|
|
||||||
|
let currentVersion = SemanticVersion(self.version)
|
||||||
|
let latestVersion = SemanticVersion(self.storeApp!.latestVersion!.version)
|
||||||
|
|
||||||
|
if currentVersion == nil || latestVersion == nil {
|
||||||
|
// One of the versions is not valid SemVer, fall back to comparing the version strings by character
|
||||||
|
return self.version < self.storeApp!.latestVersion!.version
|
||||||
|
}
|
||||||
|
|
||||||
|
return currentVersion! < latestVersion!
|
||||||
|
}
|
||||||
|
|
||||||
public var appIDCount: Int {
|
public var appIDCount: Int {
|
||||||
return 1 + self.appExtensions.count
|
return 1 + self.appExtensions.count
|
||||||
}
|
}
|
||||||
@@ -147,8 +163,8 @@ public extension InstalledApp
|
|||||||
class func updatesFetchRequest() -> NSFetchRequest<InstalledApp>
|
class func updatesFetchRequest() -> NSFetchRequest<InstalledApp>
|
||||||
{
|
{
|
||||||
let fetchRequest = InstalledApp.fetchRequest() as NSFetchRequest<InstalledApp>
|
let fetchRequest = InstalledApp.fetchRequest() as NSFetchRequest<InstalledApp>
|
||||||
fetchRequest.predicate = NSPredicate(format: "%K == YES AND %K != nil AND %K != %K",
|
fetchRequest.predicate = NSPredicate(format: "%K == YES AND %K == YES",
|
||||||
#keyPath(InstalledApp.isActive), #keyPath(InstalledApp.storeApp), #keyPath(InstalledApp.version), #keyPath(InstalledApp.storeApp.latestVersion.version))
|
#keyPath(InstalledApp.isActive), #keyPath(InstalledApp.hasUpdate))
|
||||||
return fetchRequest
|
return fetchRequest
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
61
CONTRIBUTING.md
Normal file
61
CONTRIBUTING.md
Normal file
@@ -0,0 +1,61 @@
|
|||||||
|
# Contributing to SideStore
|
||||||
|
|
||||||
|
Thank you for your interest in contributing to SideStore! SideStore is a community driven project, and it's made possible by people like you.
|
||||||
|
|
||||||
|
There are many ways to contribute to SideStore, so if you aren't a developer, there are still many other ways you can help out:
|
||||||
|
|
||||||
|
- [Writing documentation](https://github.com/SideStore/SideStore-Docs)
|
||||||
|
- [Submitting detailed bug reports and suggesting new features](https://github.com/SideStore/SideStore/issues/new/choose)
|
||||||
|
- Helping out with support
|
||||||
|
- [Discord](https://discord.gg/RgpFBX3Q3k)
|
||||||
|
- [GitHub Discussions](https://github.com/SideStore/SideStore/discussions)
|
||||||
|
|
||||||
|
However, this guide will focus on the development side of things. For now, we will only have setup information here, but you can [join our Discord](https://discord.gg/RgpFBX3Q3k) if you need help
|
||||||
|
after setup.
|
||||||
|
|
||||||
|
## Requirements
|
||||||
|
|
||||||
|
This guide assumes you:
|
||||||
|
|
||||||
|
- are on a Mac
|
||||||
|
- have Xcode installed
|
||||||
|
- have basic command line knowledge (know how to run commands, cd into a directory)
|
||||||
|
- have basic Git knowledge ([GitHub Desktop](https://desktop.github.com) is a great tool for beginners, and greatly simplifies working with Git)
|
||||||
|
- have basic Swift/iOS development knowledge
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
|
||||||
|
1. Fork the SideStore repo on GitHub.
|
||||||
|
2. Clone the fork: `git clone https://github.com/<your github username>/SideStore.git --recurse-submodules`
|
||||||
|
|
||||||
|
If you are using GitHub Desktop, refer to
|
||||||
|
[this guide](https://docs.github.com/en/desktop/contributing-and-collaborating-using-github-desktop/adding-and-cloning-repositories/cloning-and-forking-repositories-from-github-desktop).
|
||||||
|
|
||||||
|
3. Copy `CodeSigning.xcconfig.sample` to `CodeSigning.xcconfig` and fill in the values.
|
||||||
|
4. **(Development only)** Change the value for `ALTDeviceID` in the Info.plist to your device's UDID. Normally, SideServer embeds the device's UDID in SideStore's Info.plist during installation. When
|
||||||
|
running through Xcode you'll need to set the value yourself or else SideStore won't resign (or even install) apps for the proper device. You can achieve this by changing a few things to be able to
|
||||||
|
build and use SideStore.
|
||||||
|
5. Finally, open `AltStore.xcodeproj` in Xcode.
|
||||||
|
|
||||||
|
Next, make and test your changes. Then, commit and push your changes using git and make a pull request.
|
||||||
|
|
||||||
|
## Prebuilt binary information
|
||||||
|
|
||||||
|
minimuxer and em_proxy use prebuilt static library binaries built by GitHub Actions to speed up builds and remove the need for Rust to be installed when working on SideStore.
|
||||||
|
[`Dependencies/fetch-prebuilt.sh`](./Dependencies/fetch-prebuilt.sh) will be run before each build by Xcode, and it will check if the downloaded binaries are up-to-date once every 6 hours. If you want
|
||||||
|
to force it to check for new binaries, run `bash ./Dependencies/fetch-prebuilt.sh force`.
|
||||||
|
|
||||||
|
## Building an IPA for distribution
|
||||||
|
|
||||||
|
You can use the Makefile: `make build fakesign ipa`
|
||||||
|
|
||||||
|
This will create SideStore.ipa.
|
||||||
|
|
||||||
|
> **Warning**
|
||||||
|
>
|
||||||
|
> The binary created will contain paths to Xcode's DerivedData, and if you built minimuxer on your machine, paths to $HOME/.cargo. This will include your username. If you want to keep your user's
|
||||||
|
> username private, you might want to get GitHub Actions to build the IPA instead.
|
||||||
|
|
||||||
|
## Developing minimuxer alongside SideStore
|
||||||
|
|
||||||
|
Please see [minimuxer's README](https://github.com/SideStore/minimuxer) for development instructions.
|
||||||
137
Dangerfile.swift
Normal file
137
Dangerfile.swift
Normal file
@@ -0,0 +1,137 @@
|
|||||||
|
import Danger
|
||||||
|
import Foundation
|
||||||
|
// import SwiftLint
|
||||||
|
|
||||||
|
let danger = Danger()
|
||||||
|
|
||||||
|
// fileImport: DangerfileExtensions/ChangelogCheck.swift
|
||||||
|
// checkChangelog()
|
||||||
|
|
||||||
|
// Add a CHANGELOG entry for app changes
|
||||||
|
let hasChangelog = danger.git.modifiedFiles.contains("Changelog.md")
|
||||||
|
let isTrivial = (danger.github.pullRequest.body + danger.github.pullRequest.title).contains("#trivial")
|
||||||
|
|
||||||
|
if (!hasChangelog && !isTrivial) {
|
||||||
|
warn("Please add a changelog entry for your changes.")
|
||||||
|
}
|
||||||
|
|
||||||
|
// PR Too large
|
||||||
|
if danger.git.createdFiles.count + danger.git.modifiedFiles.count - danger.git.deletedFiles.count > 600 {
|
||||||
|
warn("Big PR, try to keep changes smaller if you can")
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check copyright
|
||||||
|
let swiftFilesWithCopyright = danger.git.createdFiles.filter {
|
||||||
|
$0.fileType == .swift
|
||||||
|
&& danger.utils.readFile($0).contains("// Created by")
|
||||||
|
}
|
||||||
|
|
||||||
|
if !swiftFilesWithCopyright.isEmpty {
|
||||||
|
let files = swiftFilesWithCopyright.joined(separator: ", ")
|
||||||
|
warn("In Danger JS we don't include copyright headers, found them in: \(files)")
|
||||||
|
}
|
||||||
|
|
||||||
|
// # This is swiftlint plugin. More info: https://github.com/ashfurrow/danger-swiftlint
|
||||||
|
// #
|
||||||
|
// # This lints all Swift files and leave comments in PR if
|
||||||
|
// # there is any issue with linting
|
||||||
|
let filesToLint = (danger.git.modifiedFiles + danger.git.createdFiles) // .filter { !$0.contains("Documentation/") }
|
||||||
|
|
||||||
|
SwiftLint.lint(.files(filesToLint), inline: true)
|
||||||
|
|
||||||
|
// Support running via `danger local`
|
||||||
|
if danger.github != nil {
|
||||||
|
// These checks only happen on a PR
|
||||||
|
if danger.github.pullRequest.title.contains("WIP") {
|
||||||
|
warn("PR is classed as Work in Progress")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if github.pr_title.contains("WIP") {
|
||||||
|
warn("PR is classed as Work in Progress")
|
||||||
|
}
|
||||||
|
|
||||||
|
if git.commits.any {
|
||||||
|
return $0.message.contains("Merge branch '\(github.branch_for_base)'")
|
||||||
|
} {
|
||||||
|
fail("Please rebase to get rid of the merge commits in this PR ")
|
||||||
|
}
|
||||||
|
|
||||||
|
if github.pr_body.length > 1000 {
|
||||||
|
warn("PR body is too long")
|
||||||
|
}
|
||||||
|
|
||||||
|
if github.pr_body.length < 5 {
|
||||||
|
fail("PR body is too short")
|
||||||
|
}
|
||||||
|
|
||||||
|
let has_app_changes = !git.modified_files.any { $0.contains("AltStore") }
|
||||||
|
let has_altstorecore_changes = !git.modified_files.any { $0.contains("AltStoreCore") }
|
||||||
|
// let has_support_test_changes = !git.modified_files.any { $0.contains("AltStoreCore
|
||||||
|
// Tests") }
|
||||||
|
// let has_library_changes = !git.modified_files.any { $0.contains("PVLibrary") }
|
||||||
|
// let has_library_test_changes = !git.modified_files.any { $0.contains("PVLibrary Tests") }
|
||||||
|
|
||||||
|
// If changes are more than 10 lines of code, tests need to be updated too
|
||||||
|
// if (has_core_changes && !has_core_test_changes) ||
|
||||||
|
// (has_coreui_changes && !has_coreui_test_changes)) &&
|
||||||
|
// git.lines_of_code > 10 {
|
||||||
|
// fail("Tests were not updated", sticky: false)
|
||||||
|
// }
|
||||||
|
|
||||||
|
// Info.plist file shouldn't change often. Leave warning if it changes.
|
||||||
|
let is_plist_change = git.modified_files.any { $0.contains("Info.plist") }
|
||||||
|
|
||||||
|
if !is_plist_change
|
||||||
|
// warn "A Plist was changed"
|
||||||
|
warn("Plist changed, don't forget to localize your plist values")
|
||||||
|
end
|
||||||
|
|
||||||
|
// gemfile_updated = !git.modified_files.grep(/Gemfile$/).empty?
|
||||||
|
|
||||||
|
// # Leave warning, if Gemfile changes
|
||||||
|
// if gemfile_updated
|
||||||
|
// warn "The `Gemfile` was updated"
|
||||||
|
// end
|
||||||
|
|
||||||
|
// import xcodebuild
|
||||||
|
// xcodebuild.json_file = "./fastlane/reports/xcpretty-json-formatter-results.json"
|
||||||
|
// xcodebuild.parse_warnings() // returns number of warnings
|
||||||
|
// xcodebuild.parse_errors() // returns number of errors
|
||||||
|
// // xcodebuild.parse_errors(errors: danger.github.pull_request.body)
|
||||||
|
// xcodebuild.parse_tests() // returns number of test failures
|
||||||
|
// xcodebuild.perfect_build() // returns a bool indicating if the build was perfect
|
||||||
|
func checkSwiftVersions() {
|
||||||
|
SwiftChecks.check(
|
||||||
|
files: [
|
||||||
|
VersionFile(
|
||||||
|
path: "./\(projectName).xcodeproj/project.pbxproj",
|
||||||
|
interpreter: .regex("SWIFT_VERSION = (.*);")
|
||||||
|
),
|
||||||
|
VersionFile(
|
||||||
|
path: "./\(projectName).podspec",
|
||||||
|
interpreter: .regex("\\.swift_version\\s*=\\s*\"(.*)\"")
|
||||||
|
),
|
||||||
|
],
|
||||||
|
versionKind: "Swift"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
func checkProjectVersions() {
|
||||||
|
SwiftChecks.check(
|
||||||
|
fileProviders: [
|
||||||
|
InfoPlistFileProvider(
|
||||||
|
discoveryMethod: .searchDirectory("./Sources", fileNames: ["Info.plist"]),
|
||||||
|
plistKey: .versionNumber,
|
||||||
|
projectFilePath: "./\(projectName).xcodeproj"
|
||||||
|
),
|
||||||
|
],
|
||||||
|
files: [
|
||||||
|
VersionFile(path: "./\(projectName).podspec", interpreter: .regex("\\.version\\s*=\\s*\"(.*)\"")),
|
||||||
|
],
|
||||||
|
versionKind: "framework"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
// checkProjectVersions()
|
||||||
|
// checkSwiftVersions
|
||||||
2
Dependencies/MarkdownAttributedString
vendored
2
Dependencies/MarkdownAttributedString
vendored
Submodule Dependencies/MarkdownAttributedString updated: 750e8d5cb4...ec0d1eff57
2
Dependencies/Roxas
vendored
2
Dependencies/Roxas
vendored
Submodule Dependencies/Roxas updated: ac906cf490...84645e4318
1
Dependencies/em_proxy
vendored
1
Dependencies/em_proxy
vendored
Submodule Dependencies/em_proxy deleted from c8a280e54c
670
Dependencies/em_proxy.xcodeproj/project.pbxproj
vendored
670
Dependencies/em_proxy.xcodeproj/project.pbxproj
vendored
@@ -1,371 +1,343 @@
|
|||||||
// !$*UTF8*$!
|
// !$*UTF8*$!
|
||||||
{
|
{
|
||||||
/* generated with cargo-xcode 1.5.0 */
|
archiveVersion = 1;
|
||||||
archiveVersion = 1;
|
classes = {
|
||||||
classes = {
|
};
|
||||||
};
|
objectVersion = 53;
|
||||||
objectVersion = 53;
|
objects = {
|
||||||
objects = {
|
|
||||||
/* Begin PBXBuildFile section */
|
/* Begin PBXBuildFile section */
|
||||||
|
9987603429A4555300818586 /* em_proxy.h in Sources */ = {isa = PBXBuildFile; fileRef = 9999259129A45319005CF020 /* em_proxy.h */; };
|
||||||
CA60E4E02AAAA30E3695DD59 /* Cargo.toml in Sources */ = {
|
|
||||||
isa = PBXBuildFile;
|
|
||||||
fileRef = CA6094FFF6923EF4668187A5 /* Cargo.toml */;
|
|
||||||
settings = {
|
|
||||||
COMPILER_FLAGS = "--lib"; /* == OTHER_INPUT_FILE_FLAGS */
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
CA60E4E02AAA37FC563E4BCC /* Cargo.toml in Sources */ = {
|
|
||||||
isa = PBXBuildFile;
|
|
||||||
fileRef = CA6094FFF6923EF4668187A5 /* Cargo.toml */;
|
|
||||||
settings = {
|
|
||||||
COMPILER_FLAGS = "--bin 'run'"; /* == OTHER_INPUT_FILE_FLAGS */
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
/* End PBXBuildFile section */
|
/* End PBXBuildFile section */
|
||||||
|
|
||||||
/* Begin PBXBuildRule section */
|
/* Begin PBXBuildRule section */
|
||||||
CA6094FFF692AC6C1400ACA8 /* PBXBuildRule */ = {
|
CA6094FFF692AC6C1400ACA8 /* PBXBuildRule */ = {
|
||||||
isa = PBXBuildRule;
|
isa = PBXBuildRule;
|
||||||
compilerSpec = com.apple.compilers.proxy.script;
|
compilerSpec = com.apple.compilers.proxy.script;
|
||||||
dependencyFile = "$(DERIVED_FILE_DIR)/$(CARGO_XCODE_TARGET_ARCH)-$(EXECUTABLE_NAME).d";
|
filePatterns = "*/em_proxy.h";
|
||||||
filePatterns = "*/Cargo.toml"; /* must contain asterisk */
|
fileType = pattern.proxy;
|
||||||
fileType = pattern.proxy;
|
inputFiles = (
|
||||||
inputFiles = ();
|
);
|
||||||
isEditable = 0;
|
isEditable = 0;
|
||||||
name = "Cargo project build";
|
name = "Cargo project build";
|
||||||
outputFiles = (
|
outputFiles = (
|
||||||
"$(OBJECT_FILE_DIR)/$(CARGO_XCODE_TARGET_ARCH)-$(EXECUTABLE_NAME)",
|
"$(OBJECT_FILE_DIR)/$(CARGO_XCODE_TARGET_ARCH)-$(EXECUTABLE_NAME)",
|
||||||
);
|
);
|
||||||
script = "# generated with cargo-xcode 1.5.0\n\nset -eu; export PATH=\"$PATH:$HOME/.cargo/bin:/usr/local/bin\";\nif [ \"${IS_MACCATALYST-NO}\" = YES ]; then\n CARGO_XCODE_TARGET_TRIPLE=\"${CARGO_XCODE_TARGET_ARCH}-apple-ios-macabi\"\nelse\n CARGO_XCODE_TARGET_TRIPLE=\"${CARGO_XCODE_TARGET_ARCH}-apple-${CARGO_XCODE_TARGET_OS}\"\nfi\nif [ \"$CARGO_XCODE_TARGET_OS\" != \"darwin\" ]; then\n PATH=\"${PATH/\\/Contents\\/Developer\\/Toolchains\\/XcodeDefault.xctoolchain\\/usr\\/bin:/xcode-provided-ld-cant-link-lSystem-for-the-host-build-script:}\"\nfi\nPATH=\"$PATH:/opt/homebrew/bin\" # Rust projects often depend on extra tools like nasm, which Xcode lacks\nif [ \"$CARGO_XCODE_BUILD_MODE\" == release ]; then\n OTHER_INPUT_FILE_FLAGS=\"${OTHER_INPUT_FILE_FLAGS} --release\"\nfi\nif command -v rustup &> /dev/null; then\n if ! rustup target list --installed | egrep -q \"${CARGO_XCODE_TARGET_TRIPLE}\"; then\n echo \"warning: this build requires rustup toolchain for $CARGO_XCODE_TARGET_TRIPLE, but it isn\'t installed\"\n rustup target add \"${CARGO_XCODE_TARGET_TRIPLE}\" || echo >&2 \"warning: can\'t install $CARGO_XCODE_TARGET_TRIPLE\"\n fi\nfi\nif [ \"$ACTION\" = clean ]; then\n ( set -x; cargo clean --manifest-path=\"$SCRIPT_INPUT_FILE\" ${OTHER_INPUT_FILE_FLAGS} --target=\"${CARGO_XCODE_TARGET_TRIPLE}\"; );\nelse\n ( set -x; cargo build --manifest-path=\"$SCRIPT_INPUT_FILE\" --features=\"${CARGO_XCODE_FEATURES:-}\" ${OTHER_INPUT_FILE_FLAGS} --target=\"${CARGO_XCODE_TARGET_TRIPLE}\"; );\nfi\n# it\'s too hard to explain Cargo\'s actual exe path to Xcode build graph, so hardlink to a known-good path instead\nBUILT_SRC=\"${CARGO_TARGET_DIR}/${CARGO_XCODE_TARGET_TRIPLE}/${CARGO_XCODE_BUILD_MODE}/${CARGO_XCODE_CARGO_FILE_NAME}\"\nln -f -- \"$BUILT_SRC\" \"$SCRIPT_OUTPUT_FILE_0\"\n\n# xcode generates dep file, but for its own path, so append our rename to it\nDEP_FILE_SRC=\"${CARGO_TARGET_DIR}/${CARGO_XCODE_TARGET_TRIPLE}/${CARGO_XCODE_BUILD_MODE}/${CARGO_XCODE_CARGO_DEP_FILE_NAME}\"\nif [ -f \"$DEP_FILE_SRC\" ]; then\n DEP_FILE_DST=\"${DERIVED_FILE_DIR}/${CARGO_XCODE_TARGET_ARCH}-${EXECUTABLE_NAME}.d\"\n cp -f \"$DEP_FILE_SRC\" \"$DEP_FILE_DST\"\n echo >> \"$DEP_FILE_DST\" \"$SCRIPT_OUTPUT_FILE_0: $BUILT_SRC\"\nfi\n\n# lipo script needs to know all the platform-specific files that have been built\n# archs is in the file name, so that paths don\'t stay around after archs change\n# must match input for LipoScript\nFILE_LIST=\"${DERIVED_FILE_DIR}/${ARCHS}-${EXECUTABLE_NAME}.xcfilelist\"\ntouch \"$FILE_LIST\"\nif ! egrep -q \"$SCRIPT_OUTPUT_FILE_0\" \"$FILE_LIST\" ; then\n echo >> \"$FILE_LIST\" \"$SCRIPT_OUTPUT_FILE_0\"\nfi\n";
|
script = "# generated with cargo-xcode 1.5.0\n# modified to use prebuilt binaries\n\nset -eu;\n\nBUILT_SRC=\"./em_proxy/$LIB_FILE_NAME.a\"\nln -f -- \"$BUILT_SRC\" \"$TARGET_BUILD_DIR/$EXECUTABLE_PATH\" || cp \"$BUILT_SRC\" \"$TARGET_BUILD_DIR/$EXECUTABLE_PATH\"\necho \"$BUILT_SRC -> $TARGET_BUILD_DIR/$EXECUTABLE_PATH\"\n\n# xcode generates dep file, but for its own path, so append our rename to it\n#DEP_FILE_SRC=\"minimuxer/target/${CARGO_XCODE_TARGET_TRIPLE}/release/${CARGO_XCODE_CARGO_DEP_FILE_NAME}\"\n#if [ -f \"$DEP_FILE_SRC\" ]; then\n# DEP_FILE_DST=\"${DERIVED_FILE_DIR}/${CARGO_XCODE_TARGET_ARCH}-${EXECUTABLE_NAME}.d\"\n# cp -f \"$DEP_FILE_SRC\" \"$DEP_FILE_DST\"\n# echo >> \"$DEP_FILE_DST\" \"$SCRIPT_OUTPUT_FILE_0: $BUILT_SRC\"\n#fi\n\n# lipo script needs to know all the platform-specific files that have been built\n# archs is in the file name, so that paths don't stay around after archs change\n# must match input for LipoScript\n#FILE_LIST=\"${DERIVED_FILE_DIR}/${ARCHS}-${EXECUTABLE_NAME}.xcfilelist\"\n#touch \"$FILE_LIST\"\n#if ! egrep -q \"$SCRIPT_OUTPUT_FILE_0\" \"$FILE_LIST\" ; then\n# echo >> \"$FILE_LIST\" \"$SCRIPT_OUTPUT_FILE_0\"\n#fi\n";
|
||||||
};
|
};
|
||||||
/* End PBXBuildRule section */
|
/* End PBXBuildRule section */
|
||||||
|
|
||||||
/* Begin PBXFileReference section */
|
/* Begin PBXFileReference section */
|
||||||
|
9999259129A45319005CF020 /* em_proxy.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = em_proxy.h; path = em_proxy/em_proxy.h; sourceTree = "<group>"; };
|
||||||
CA60C44C93D7916DE57E6EBD /* staticlib */ = {
|
ADDEDBA66A6E1 /* libresolv.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libresolv.tbd; path = usr/lib/libresolv.tbd; sourceTree = SDKROOT; };
|
||||||
isa = PBXFileReference;
|
CA60058A9FBE4D17AF51A7D5 /* run */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = run; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
explicitFileType = "archive.ar";
|
CA60C44C93D7916DE57E6EBD /* libem_proxy_static.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libem_proxy_static.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
includeInIndex = 0;
|
|
||||||
name = "libem_proxy_static.a";
|
|
||||||
sourceTree = TARGET_BUILD_DIR;
|
|
||||||
};
|
|
||||||
CA60058A9FBE4D17AF51A7D5 /* bin */ = {
|
|
||||||
isa = PBXFileReference;
|
|
||||||
explicitFileType = "compiled.mach-o.executable";
|
|
||||||
includeInIndex = 0;
|
|
||||||
name = "run";
|
|
||||||
sourceTree = TARGET_BUILD_DIR;
|
|
||||||
};
|
|
||||||
CA6094FFF6923EF4668187A5 /* Cargo.toml */ = {
|
|
||||||
isa = PBXFileReference;
|
|
||||||
lastKnownFileType = text;
|
|
||||||
fileEncoding = 4;
|
|
||||||
name = "Cargo.toml";
|
|
||||||
path = "em_proxy/Cargo.toml";
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
/* Rust needs libresolv */
|
|
||||||
ADDEDBA66A6E1 = {
|
|
||||||
isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition";
|
|
||||||
name = libresolv.tbd; path = usr/lib/libresolv.tbd; sourceTree = SDKROOT;
|
|
||||||
};
|
|
||||||
|
|
||||||
/* End PBXFileReference section */
|
/* End PBXFileReference section */
|
||||||
|
|
||||||
/* Begin PBXGroup section */
|
/* Begin PBXGroup section */
|
||||||
CA6094FFF69298AF0B5890DB /* Frameworks */ = {
|
ADDEDBA66A6E2 /* Required for static linking */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
ADDEDBA66A6E2,
|
ADDEDBA66A6E1 /* libresolv.tbd */,
|
||||||
|
);
|
||||||
);
|
name = "Required for static linking";
|
||||||
name = Frameworks;
|
sourceTree = "<group>";
|
||||||
sourceTree = "<group>";
|
};
|
||||||
};
|
CA6094FFF69222869D176AE5 /* Products */ = {
|
||||||
|
isa = PBXGroup;
|
||||||
|
children = (
|
||||||
ADDEDBA66A6E2 /* Required for static linking */ = {
|
CA60C44C93D7916DE57E6EBD /* libem_proxy_static.a */,
|
||||||
isa = PBXGroup;
|
CA60058A9FBE4D17AF51A7D5 /* run */,
|
||||||
children = (
|
);
|
||||||
ADDEDBA66A6E1
|
name = Products;
|
||||||
);
|
sourceTree = "<group>";
|
||||||
name = "Required for static linking";
|
};
|
||||||
sourceTree = "<group>";
|
CA6094FFF69298AF0B5890DB /* Frameworks */ = {
|
||||||
};
|
isa = PBXGroup;
|
||||||
|
children = (
|
||||||
CA6094FFF69222869D176AE5 /* Products */ = {
|
ADDEDBA66A6E2 /* Required for static linking */,
|
||||||
isa = PBXGroup;
|
);
|
||||||
children = (
|
name = Frameworks;
|
||||||
CA60C44C93D7916DE57E6EBD,
|
sourceTree = "<group>";
|
||||||
CA60058A9FBE4D17AF51A7D5,
|
};
|
||||||
|
CA6094FFF692D65BC3C892A8 = {
|
||||||
);
|
isa = PBXGroup;
|
||||||
name = Products;
|
children = (
|
||||||
sourceTree = "<group>";
|
9999259129A45319005CF020 /* em_proxy.h */,
|
||||||
};
|
CA6094FFF69222869D176AE5 /* Products */,
|
||||||
|
CA6094FFF69298AF0B5890DB /* Frameworks */,
|
||||||
CA6094FFF692D65BC3C892A8 /* Main */ = {
|
);
|
||||||
isa = PBXGroup;
|
sourceTree = "<group>";
|
||||||
children = (
|
};
|
||||||
CA6094FFF6923EF4668187A5,
|
|
||||||
CA6094FFF69222869D176AE5,
|
|
||||||
CA6094FFF69298AF0B5890DB,
|
|
||||||
|
|
||||||
);
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
|
|
||||||
/* End PBXGroup section */
|
/* End PBXGroup section */
|
||||||
|
|
||||||
/* Begin PBXNativeTarget section */
|
/* Begin PBXNativeTarget section */
|
||||||
CA60C44C93D7A30E3695DD59 /* em_proxy-staticlib */ = {
|
CA60058A9FBE37FC563E4BCC /* run-bin */ = {
|
||||||
isa = PBXNativeTarget;
|
isa = PBXNativeTarget;
|
||||||
buildConfigurationList = CA603DD75FB4A30E3695DD59;
|
buildConfigurationList = CA603DD75FB437FC563E4BCC /* Build configuration list for PBXNativeTarget "run-bin" */;
|
||||||
buildPhases = (
|
buildPhases = (
|
||||||
CA60445C3036A30E3695DD59 /* Sources */,
|
CA60445C303637FC563E4BCC /* Sources */,
|
||||||
CA6094FFF692AF6EBB7F357C /* Universal Binary lipo */,
|
CA6094FFF692AF6EBB7F357C /* Universal Binary lipo */,
|
||||||
);
|
);
|
||||||
buildRules = (
|
buildRules = (
|
||||||
CA6094FFF692AC6C1400ACA8 /* PBXBuildRule */,
|
CA6094FFF692AC6C1400ACA8 /* PBXBuildRule */,
|
||||||
);
|
);
|
||||||
dependencies = (
|
dependencies = (
|
||||||
);
|
);
|
||||||
name = "em_proxy-staticlib";
|
name = "run-bin";
|
||||||
productName = "libem_proxy_static.a";
|
productName = run;
|
||||||
productReference = CA60C44C93D7916DE57E6EBD;
|
productReference = CA60058A9FBE4D17AF51A7D5 /* run */;
|
||||||
productType = "com.apple.product-type.library.static";
|
productType = "com.apple.product-type.tool";
|
||||||
};
|
};
|
||||||
CA60058A9FBE37FC563E4BCC /* run-bin */ = {
|
CA60C44C93D7A30E3695DD59 /* em_proxy-staticlib */ = {
|
||||||
isa = PBXNativeTarget;
|
isa = PBXNativeTarget;
|
||||||
buildConfigurationList = CA603DD75FB437FC563E4BCC;
|
buildConfigurationList = CA603DD75FB4A30E3695DD59 /* Build configuration list for PBXNativeTarget "em_proxy-staticlib" */;
|
||||||
buildPhases = (
|
buildPhases = (
|
||||||
CA60445C303637FC563E4BCC /* Sources */,
|
9987603529A4610700818586 /* ShellScript */,
|
||||||
CA6094FFF692AF6EBB7F357C /* Universal Binary lipo */,
|
CA60445C3036A30E3695DD59 /* Sources */,
|
||||||
);
|
CA6094FFF692AF6EBB7F357C /* Universal Binary lipo */,
|
||||||
buildRules = (
|
);
|
||||||
CA6094FFF692AC6C1400ACA8 /* PBXBuildRule */,
|
buildRules = (
|
||||||
);
|
CA6094FFF692AC6C1400ACA8 /* PBXBuildRule */,
|
||||||
dependencies = (
|
);
|
||||||
);
|
dependencies = (
|
||||||
name = "run-bin";
|
);
|
||||||
productName = "run";
|
name = "em_proxy-staticlib";
|
||||||
productReference = CA60058A9FBE4D17AF51A7D5;
|
productName = libem_proxy_static.a;
|
||||||
productType = "com.apple.product-type.tool";
|
productReference = CA60C44C93D7916DE57E6EBD /* libem_proxy_static.a */;
|
||||||
};
|
productType = "com.apple.product-type.library.static";
|
||||||
|
};
|
||||||
/* End PBXNativeTarget section */
|
/* End PBXNativeTarget section */
|
||||||
|
|
||||||
CA60445C3036A30E3695DD59 = {
|
/* Begin PBXProject section */
|
||||||
isa = PBXSourcesBuildPhase;
|
CA6094FFF692E04653AD465F /* Project object */ = {
|
||||||
buildActionMask = 2147483647;
|
isa = PBXProject;
|
||||||
files = (
|
attributes = {
|
||||||
CA60E4E02AAAA30E3695DD59
|
LastUpgradeCheck = 1300;
|
||||||
);
|
TargetAttributes = {
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
CA60058A9FBE37FC563E4BCC = {
|
||||||
};
|
CreatedOnToolsVersion = 9.2;
|
||||||
|
ProvisioningStyle = Automatic;
|
||||||
|
};
|
||||||
|
CA60C44C93D7A30E3695DD59 = {
|
||||||
|
CreatedOnToolsVersion = 9.2;
|
||||||
|
ProvisioningStyle = Automatic;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
buildConfigurationList = CA6094FFF69280E02D6C7F57 /* Build configuration list for PBXProject "em_proxy" */;
|
||||||
|
compatibilityVersion = "Xcode 11.4";
|
||||||
|
developmentRegion = en;
|
||||||
|
hasScannedForEncodings = 0;
|
||||||
|
knownRegions = (
|
||||||
|
en,
|
||||||
|
Base,
|
||||||
|
);
|
||||||
|
mainGroup = CA6094FFF692D65BC3C892A8;
|
||||||
|
productRefGroup = CA6094FFF69222869D176AE5 /* Products */;
|
||||||
|
projectDirPath = "";
|
||||||
|
projectRoot = "";
|
||||||
|
targets = (
|
||||||
|
CA60C44C93D7A30E3695DD59 /* em_proxy-staticlib */,
|
||||||
|
CA60058A9FBE37FC563E4BCC /* run-bin */,
|
||||||
|
);
|
||||||
|
};
|
||||||
|
/* End PBXProject section */
|
||||||
|
|
||||||
CA603DD75FB4A30E3695DD59 /* staticlib */ = {
|
/* Begin PBXShellScriptBuildPhase section */
|
||||||
isa = XCConfigurationList;
|
9987603529A4610700818586 /* ShellScript */ = {
|
||||||
buildConfigurations = (
|
isa = PBXShellScriptBuildPhase;
|
||||||
CA604DFE779BA30E3695DD59 /* Release */,
|
buildActionMask = 2147483647;
|
||||||
CA60DE07A83FA30E3695DD59 /* Debug */,
|
files = (
|
||||||
);
|
);
|
||||||
defaultConfigurationIsVisible = 0;
|
inputFileListPaths = (
|
||||||
defaultConfigurationName = Release;
|
);
|
||||||
};
|
inputPaths = (
|
||||||
CA604DFE779BA30E3695DD59 /* staticlib */ = {
|
);
|
||||||
isa = XCBuildConfiguration;
|
outputFileListPaths = (
|
||||||
buildSettings = {
|
);
|
||||||
PRODUCT_NAME = "em_proxy_static";
|
outputPaths = (
|
||||||
"CARGO_XCODE_CARGO_FILE_NAME" = "libem_proxy.a";
|
./em_proxy/em_proxy.h,
|
||||||
"CARGO_XCODE_CARGO_DEP_FILE_NAME" = "libem_proxy.d";
|
);
|
||||||
SUPPORTED_PLATFORMS = "macosx iphonesimulator iphoneos appletvsimulator appletvos";
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
SKIP_INSTALL = YES;
|
shellPath = /bin/sh;
|
||||||
INSTALL_GROUP = "";
|
shellScript = "bash ./fetch-prebuilt.sh em_proxy\n";
|
||||||
INSTALL_MODE_FLAG = "";
|
};
|
||||||
INSTALL_OWNER = "";
|
CA6094FFF692AF6EBB7F357C /* Universal Binary lipo */ = {
|
||||||
|
isa = PBXShellScriptBuildPhase;
|
||||||
|
buildActionMask = 2147483647;
|
||||||
|
files = (
|
||||||
|
);
|
||||||
|
inputFileListPaths = (
|
||||||
|
);
|
||||||
|
inputPaths = (
|
||||||
|
"$(DERIVED_FILE_DIR)/$(ARCHS)-$(EXECUTABLE_NAME).xcfilelist",
|
||||||
|
);
|
||||||
|
name = "Universal Binary lipo";
|
||||||
|
outputFileListPaths = (
|
||||||
|
);
|
||||||
|
outputPaths = (
|
||||||
|
"$(TARGET_BUILD_DIR)/$(EXECUTABLE_PATH)",
|
||||||
|
);
|
||||||
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
shellPath = /bin/sh;
|
||||||
|
shellScript = "# generated with cargo-xcode 1.5.0\n\n#set -eux; cat \"$DERIVED_FILE_DIR/$ARCHS-$EXECUTABLE_NAME.xcfilelist\" | tr '\\n' '\\0' | xargs -0 lipo -create -output \"$TARGET_BUILD_DIR/$EXECUTABLE_PATH\"\n#if [ ${LD_DYLIB_INSTALL_NAME:+1} ]; then\n# install_name_tool -id \"$LD_DYLIB_INSTALL_NAME\" \"$TARGET_BUILD_DIR/$EXECUTABLE_PATH\"\n#fi\n";
|
||||||
|
};
|
||||||
|
/* End PBXShellScriptBuildPhase section */
|
||||||
|
|
||||||
};
|
/* Begin PBXSourcesBuildPhase section */
|
||||||
name = Release;
|
CA60445C303637FC563E4BCC /* Sources */ = {
|
||||||
};
|
isa = PBXSourcesBuildPhase;
|
||||||
CA60DE07A83FA30E3695DD59 /* staticlib */ = {
|
buildActionMask = 2147483647;
|
||||||
isa = XCBuildConfiguration;
|
files = (
|
||||||
buildSettings = {
|
);
|
||||||
PRODUCT_NAME = "em_proxy_static";
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
"CARGO_XCODE_CARGO_FILE_NAME" = "libem_proxy.a";
|
};
|
||||||
"CARGO_XCODE_CARGO_DEP_FILE_NAME" = "libem_proxy.d";
|
CA60445C3036A30E3695DD59 /* Sources */ = {
|
||||||
SUPPORTED_PLATFORMS = "macosx iphonesimulator iphoneos appletvsimulator appletvos";
|
isa = PBXSourcesBuildPhase;
|
||||||
SKIP_INSTALL = YES;
|
buildActionMask = 2147483647;
|
||||||
INSTALL_GROUP = "";
|
files = (
|
||||||
INSTALL_MODE_FLAG = "";
|
9987603429A4555300818586 /* em_proxy.h in Sources */,
|
||||||
INSTALL_OWNER = "";
|
);
|
||||||
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
};
|
||||||
|
/* End PBXSourcesBuildPhase section */
|
||||||
|
|
||||||
};
|
/* Begin XCBuildConfiguration section */
|
||||||
name = Debug;
|
CA604DFE779B37FC563E4BCC /* Release */ = {
|
||||||
};CA60445C303637FC563E4BCC = {
|
isa = XCBuildConfiguration;
|
||||||
isa = PBXSourcesBuildPhase;
|
buildSettings = {
|
||||||
buildActionMask = 2147483647;
|
CARGO_XCODE_CARGO_DEP_FILE_NAME = run.d;
|
||||||
files = (
|
CARGO_XCODE_CARGO_FILE_NAME = run;
|
||||||
CA60E4E02AAA37FC563E4BCC
|
PRODUCT_NAME = run;
|
||||||
);
|
SUPPORTED_PLATFORMS = macosx;
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
};
|
||||||
};
|
name = Release;
|
||||||
|
};
|
||||||
|
CA604DFE779BA30E3695DD59 /* Release */ = {
|
||||||
|
isa = XCBuildConfiguration;
|
||||||
|
buildSettings = {
|
||||||
|
CARGO_XCODE_CARGO_DEP_FILE_NAME = libem_proxy.d;
|
||||||
|
CARGO_XCODE_CARGO_FILE_NAME = libem_proxy.a;
|
||||||
|
INSTALL_GROUP = "";
|
||||||
|
INSTALL_MODE_FLAG = "";
|
||||||
|
INSTALL_OWNER = "";
|
||||||
|
LIB_FILE_NAME = "";
|
||||||
|
"LIB_FILE_NAME[sdk=iphoneos*]" = libem_proxy;
|
||||||
|
"LIB_FILE_NAME[sdk=iphonesimulator*]" = "libem_proxy-sim";
|
||||||
|
PRODUCT_NAME = em_proxy_static;
|
||||||
|
SKIP_INSTALL = YES;
|
||||||
|
SUPPORTED_PLATFORMS = "macosx iphonesimulator iphoneos appletvsimulator appletvos";
|
||||||
|
};
|
||||||
|
name = Release;
|
||||||
|
};
|
||||||
|
CA609A517351228BE02872F8 /* Debug */ = {
|
||||||
|
isa = XCBuildConfiguration;
|
||||||
|
buildSettings = {
|
||||||
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||||
|
CARGO_TARGET_DIR = "$(PROJECT_TEMP_DIR)/cargo_target";
|
||||||
|
CARGO_XCODE_BUILD_MODE = debug;
|
||||||
|
CARGO_XCODE_FEATURES = "";
|
||||||
|
"CARGO_XCODE_TARGET_ARCH[arch=arm64*]" = aarch64;
|
||||||
|
"CARGO_XCODE_TARGET_ARCH[arch=i386]" = i686;
|
||||||
|
"CARGO_XCODE_TARGET_ARCH[arch=x86_64*]" = x86_64;
|
||||||
|
"CARGO_XCODE_TARGET_OS[sdk=appletvos*]" = tvos;
|
||||||
|
"CARGO_XCODE_TARGET_OS[sdk=appletvsimulator*]" = tvos;
|
||||||
|
"CARGO_XCODE_TARGET_OS[sdk=iphoneos*]" = ios;
|
||||||
|
"CARGO_XCODE_TARGET_OS[sdk=iphonesimulator*]" = "ios-sim";
|
||||||
|
"CARGO_XCODE_TARGET_OS[sdk=iphonesimulator*][arch=x86_64*]" = ios;
|
||||||
|
"CARGO_XCODE_TARGET_OS[sdk=macosx*]" = darwin;
|
||||||
|
CURRENT_PROJECT_VERSION = 0.1;
|
||||||
|
MARKETING_VERSION = 0.1.0;
|
||||||
|
ONLY_ACTIVE_ARCH = YES;
|
||||||
|
PRODUCT_NAME = em_proxy;
|
||||||
|
SDKROOT = macosx;
|
||||||
|
SUPPORTS_MACCATALYST = YES;
|
||||||
|
};
|
||||||
|
name = Debug;
|
||||||
|
};
|
||||||
|
CA609A5173513CC16B37690B /* Release */ = {
|
||||||
|
isa = XCBuildConfiguration;
|
||||||
|
buildSettings = {
|
||||||
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||||
|
CARGO_TARGET_DIR = "$(PROJECT_TEMP_DIR)/cargo_target";
|
||||||
|
CARGO_XCODE_BUILD_MODE = release;
|
||||||
|
CARGO_XCODE_FEATURES = "";
|
||||||
|
"CARGO_XCODE_TARGET_ARCH[arch=arm64*]" = aarch64;
|
||||||
|
"CARGO_XCODE_TARGET_ARCH[arch=i386]" = i686;
|
||||||
|
"CARGO_XCODE_TARGET_ARCH[arch=x86_64*]" = x86_64;
|
||||||
|
"CARGO_XCODE_TARGET_OS[sdk=appletvos*]" = tvos;
|
||||||
|
"CARGO_XCODE_TARGET_OS[sdk=appletvsimulator*]" = tvos;
|
||||||
|
"CARGO_XCODE_TARGET_OS[sdk=iphoneos*]" = ios;
|
||||||
|
"CARGO_XCODE_TARGET_OS[sdk=iphonesimulator*]" = "ios-sim";
|
||||||
|
"CARGO_XCODE_TARGET_OS[sdk=iphonesimulator*][arch=x86_64*]" = ios;
|
||||||
|
"CARGO_XCODE_TARGET_OS[sdk=macosx*]" = darwin;
|
||||||
|
CURRENT_PROJECT_VERSION = 0.1;
|
||||||
|
MARKETING_VERSION = 0.1.0;
|
||||||
|
PRODUCT_NAME = em_proxy;
|
||||||
|
SDKROOT = macosx;
|
||||||
|
SUPPORTS_MACCATALYST = YES;
|
||||||
|
};
|
||||||
|
name = Release;
|
||||||
|
};
|
||||||
|
CA60DE07A83F37FC563E4BCC /* Debug */ = {
|
||||||
|
isa = XCBuildConfiguration;
|
||||||
|
buildSettings = {
|
||||||
|
CARGO_XCODE_CARGO_DEP_FILE_NAME = run.d;
|
||||||
|
CARGO_XCODE_CARGO_FILE_NAME = run;
|
||||||
|
PRODUCT_NAME = run;
|
||||||
|
SUPPORTED_PLATFORMS = macosx;
|
||||||
|
};
|
||||||
|
name = Debug;
|
||||||
|
};
|
||||||
|
CA60DE07A83FA30E3695DD59 /* Debug */ = {
|
||||||
|
isa = XCBuildConfiguration;
|
||||||
|
buildSettings = {
|
||||||
|
CARGO_XCODE_CARGO_DEP_FILE_NAME = libem_proxy.d;
|
||||||
|
CARGO_XCODE_CARGO_FILE_NAME = libem_proxy.a;
|
||||||
|
INSTALL_GROUP = "";
|
||||||
|
INSTALL_MODE_FLAG = "";
|
||||||
|
INSTALL_OWNER = "";
|
||||||
|
LIB_FILE_NAME = "";
|
||||||
|
"LIB_FILE_NAME[sdk=iphoneos*]" = libem_proxy;
|
||||||
|
"LIB_FILE_NAME[sdk=iphonesimulator*]" = "libem_proxy-sim";
|
||||||
|
PRODUCT_NAME = em_proxy_static;
|
||||||
|
SKIP_INSTALL = YES;
|
||||||
|
SUPPORTED_PLATFORMS = "macosx iphonesimulator iphoneos appletvsimulator appletvos";
|
||||||
|
};
|
||||||
|
name = Debug;
|
||||||
|
};
|
||||||
|
/* End XCBuildConfiguration section */
|
||||||
|
|
||||||
CA603DD75FB437FC563E4BCC /* bin */ = {
|
/* Begin XCConfigurationList section */
|
||||||
isa = XCConfigurationList;
|
CA603DD75FB437FC563E4BCC /* Build configuration list for PBXNativeTarget "run-bin" */ = {
|
||||||
buildConfigurations = (
|
isa = XCConfigurationList;
|
||||||
CA604DFE779B37FC563E4BCC /* Release */,
|
buildConfigurations = (
|
||||||
CA60DE07A83F37FC563E4BCC /* Debug */,
|
CA604DFE779B37FC563E4BCC /* Release */,
|
||||||
);
|
CA60DE07A83F37FC563E4BCC /* Debug */,
|
||||||
defaultConfigurationIsVisible = 0;
|
);
|
||||||
defaultConfigurationName = Release;
|
defaultConfigurationIsVisible = 0;
|
||||||
};
|
defaultConfigurationName = Release;
|
||||||
CA604DFE779B37FC563E4BCC /* bin */ = {
|
};
|
||||||
isa = XCBuildConfiguration;
|
CA603DD75FB4A30E3695DD59 /* Build configuration list for PBXNativeTarget "em_proxy-staticlib" */ = {
|
||||||
buildSettings = {
|
isa = XCConfigurationList;
|
||||||
PRODUCT_NAME = "run";
|
buildConfigurations = (
|
||||||
"CARGO_XCODE_CARGO_FILE_NAME" = "run";
|
CA604DFE779BA30E3695DD59 /* Release */,
|
||||||
"CARGO_XCODE_CARGO_DEP_FILE_NAME" = "run.d";
|
CA60DE07A83FA30E3695DD59 /* Debug */,
|
||||||
SUPPORTED_PLATFORMS = "macosx";
|
);
|
||||||
|
defaultConfigurationIsVisible = 0;
|
||||||
|
defaultConfigurationName = Release;
|
||||||
};
|
};
|
||||||
name = Release;
|
CA6094FFF69280E02D6C7F57 /* Build configuration list for PBXProject "em_proxy" */ = {
|
||||||
};
|
isa = XCConfigurationList;
|
||||||
CA60DE07A83F37FC563E4BCC /* bin */ = {
|
buildConfigurations = (
|
||||||
isa = XCBuildConfiguration;
|
CA609A5173513CC16B37690B /* Release */,
|
||||||
buildSettings = {
|
CA609A517351228BE02872F8 /* Debug */,
|
||||||
PRODUCT_NAME = "run";
|
);
|
||||||
"CARGO_XCODE_CARGO_FILE_NAME" = "run";
|
defaultConfigurationIsVisible = 0;
|
||||||
"CARGO_XCODE_CARGO_DEP_FILE_NAME" = "run.d";
|
defaultConfigurationName = Release;
|
||||||
SUPPORTED_PLATFORMS = "macosx";
|
};
|
||||||
|
/* End XCConfigurationList section */
|
||||||
|
};
|
||||||
};
|
rootObject = CA6094FFF692E04653AD465F /* Project object */;
|
||||||
name = Debug;
|
|
||||||
};
|
|
||||||
|
|
||||||
CA6094FFF692AF6EBB7F357C /* LipoScript */ = {
|
|
||||||
name = "Universal Binary lipo";
|
|
||||||
isa = PBXShellScriptBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = ();
|
|
||||||
inputFileListPaths = ();
|
|
||||||
inputPaths = (
|
|
||||||
"$(DERIVED_FILE_DIR)/$(ARCHS)-$(EXECUTABLE_NAME).xcfilelist",
|
|
||||||
);
|
|
||||||
outputFileListPaths = ();
|
|
||||||
outputPaths = (
|
|
||||||
"$(TARGET_BUILD_DIR)/$(EXECUTABLE_PATH)"
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
shellPath = /bin/sh;
|
|
||||||
shellScript = "# generated with cargo-xcode 1.5.0\n\n set -eux; cat \"$DERIVED_FILE_DIR/$ARCHS-$EXECUTABLE_NAME.xcfilelist\" | tr \'\\n\' \'\\0\' | xargs -0 lipo -create -output \"$TARGET_BUILD_DIR/$EXECUTABLE_PATH\"\n if [ ${LD_DYLIB_INSTALL_NAME:+1} ]; then\n install_name_tool -id \"$LD_DYLIB_INSTALL_NAME\" \"$TARGET_BUILD_DIR/$EXECUTABLE_PATH\"\n fi\n ";
|
|
||||||
};
|
|
||||||
|
|
||||||
CA6094FFF69280E02D6C7F57 = {
|
|
||||||
isa = XCConfigurationList;
|
|
||||||
buildConfigurations = (
|
|
||||||
CA609A5173513CC16B37690B /* Release */,
|
|
||||||
CA609A517351228BE02872F8 /* Debug */,
|
|
||||||
);
|
|
||||||
defaultConfigurationIsVisible = 0;
|
|
||||||
defaultConfigurationName = Release;
|
|
||||||
};
|
|
||||||
|
|
||||||
CA609A5173513CC16B37690B = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
|
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
||||||
SUPPORTS_MACCATALYST = YES;
|
|
||||||
CARGO_TARGET_DIR = "$(PROJECT_TEMP_DIR)/cargo_target"; /* for cargo */
|
|
||||||
CARGO_XCODE_FEATURES = ""; /* configure yourself */
|
|
||||||
"CARGO_XCODE_TARGET_ARCH[arch=arm64*]" = "aarch64";
|
|
||||||
"CARGO_XCODE_TARGET_ARCH[arch=x86_64*]" = "x86_64"; /* catalyst adds h suffix */
|
|
||||||
"CARGO_XCODE_TARGET_ARCH[arch=i386]" = "i686";
|
|
||||||
"CARGO_XCODE_TARGET_OS[sdk=macosx*]" = "darwin";
|
|
||||||
"CARGO_XCODE_TARGET_OS[sdk=iphonesimulator*]" = "ios-sim";
|
|
||||||
"CARGO_XCODE_TARGET_OS[sdk=iphonesimulator*][arch=x86_64*]" = "ios";
|
|
||||||
"CARGO_XCODE_TARGET_OS[sdk=iphoneos*]" = "ios";
|
|
||||||
"CARGO_XCODE_TARGET_OS[sdk=appletvsimulator*]" = "tvos";
|
|
||||||
"CARGO_XCODE_TARGET_OS[sdk=appletvos*]" = "tvos";
|
|
||||||
PRODUCT_NAME = "em_proxy";
|
|
||||||
MARKETING_VERSION = "0.1.0";
|
|
||||||
CURRENT_PROJECT_VERSION = "0.1";
|
|
||||||
SDKROOT = macosx;
|
|
||||||
|
|
||||||
"CARGO_XCODE_BUILD_MODE" = "release"; /* for xcode scripts */
|
|
||||||
};
|
|
||||||
name = Release;
|
|
||||||
};
|
|
||||||
|
|
||||||
CA609A517351228BE02872F8 = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
|
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
||||||
SUPPORTS_MACCATALYST = YES;
|
|
||||||
CARGO_TARGET_DIR = "$(PROJECT_TEMP_DIR)/cargo_target"; /* for cargo */
|
|
||||||
CARGO_XCODE_FEATURES = ""; /* configure yourself */
|
|
||||||
"CARGO_XCODE_TARGET_ARCH[arch=arm64*]" = "aarch64";
|
|
||||||
"CARGO_XCODE_TARGET_ARCH[arch=x86_64*]" = "x86_64"; /* catalyst adds h suffix */
|
|
||||||
"CARGO_XCODE_TARGET_ARCH[arch=i386]" = "i686";
|
|
||||||
"CARGO_XCODE_TARGET_OS[sdk=macosx*]" = "darwin";
|
|
||||||
"CARGO_XCODE_TARGET_OS[sdk=iphonesimulator*]" = "ios-sim";
|
|
||||||
"CARGO_XCODE_TARGET_OS[sdk=iphonesimulator*][arch=x86_64*]" = "ios";
|
|
||||||
"CARGO_XCODE_TARGET_OS[sdk=iphoneos*]" = "ios";
|
|
||||||
"CARGO_XCODE_TARGET_OS[sdk=appletvsimulator*]" = "tvos";
|
|
||||||
"CARGO_XCODE_TARGET_OS[sdk=appletvos*]" = "tvos";
|
|
||||||
PRODUCT_NAME = "em_proxy";
|
|
||||||
MARKETING_VERSION = "0.1.0";
|
|
||||||
CURRENT_PROJECT_VERSION = "0.1";
|
|
||||||
SDKROOT = macosx;
|
|
||||||
|
|
||||||
"CARGO_XCODE_BUILD_MODE" = "debug"; /* for xcode scripts */
|
|
||||||
ONLY_ACTIVE_ARCH = YES;
|
|
||||||
};
|
|
||||||
name = Debug;
|
|
||||||
};
|
|
||||||
|
|
||||||
CA6094FFF692E04653AD465F = {
|
|
||||||
isa = PBXProject;
|
|
||||||
attributes = {
|
|
||||||
LastUpgradeCheck = 1300;
|
|
||||||
TargetAttributes = {
|
|
||||||
CA60C44C93D7A30E3695DD59 = {
|
|
||||||
CreatedOnToolsVersion = 9.2;
|
|
||||||
ProvisioningStyle = Automatic;
|
|
||||||
};
|
|
||||||
CA60058A9FBE37FC563E4BCC = {
|
|
||||||
CreatedOnToolsVersion = 9.2;
|
|
||||||
ProvisioningStyle = Automatic;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
buildConfigurationList = CA6094FFF69280E02D6C7F57;
|
|
||||||
compatibilityVersion = "Xcode 11.4";
|
|
||||||
developmentRegion = en;
|
|
||||||
hasScannedForEncodings = 0;
|
|
||||||
knownRegions = (
|
|
||||||
en,
|
|
||||||
Base,
|
|
||||||
);
|
|
||||||
mainGroup = CA6094FFF692D65BC3C892A8;
|
|
||||||
productRefGroup = CA6094FFF69222869D176AE5 /* Products */;
|
|
||||||
projectDirPath = "";
|
|
||||||
projectRoot = "";
|
|
||||||
targets = (
|
|
||||||
CA60C44C93D7A30E3695DD59,
|
|
||||||
CA60058A9FBE37FC563E4BCC,
|
|
||||||
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
|
||||||
rootObject = CA6094FFF692E04653AD465F;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
1
Dependencies/em_proxy/.gitkeep
vendored
Normal file
1
Dependencies/em_proxy/.gitkeep
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Use ../fetch-prebuilt.sh to fetch prebuilt Rust dependencies
|
||||||
52
Dependencies/fetch-prebuilt.sh
vendored
Normal file
52
Dependencies/fetch-prebuilt.sh
vendored
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Ensure we are in Dependencies directory
|
||||||
|
cd "$(dirname "$0")"
|
||||||
|
|
||||||
|
check_for_update() {
|
||||||
|
if [ -f ".skip-prebuilt-fetch-$1" ]; then
|
||||||
|
echo "Skipping prebuilt fetch for $1 since .skip-prebuilt-fetch-$1 exists. If you are developing $1 alongside SideStore, don't remove this file, or this script will replace your locally built binaries with the ones built by GitHub Actions."
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -f ".last-prebuilt-fetch-$1" ]; then
|
||||||
|
echo "0,none" > ".last-prebuilt-fetch-$1"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LAST_FETCH=`cat .last-prebuilt-fetch-$1 | perl -n -e '/([0-9]*),([^ ]*)$/ && print $1'`
|
||||||
|
LAST_COMMIT=`cat .last-prebuilt-fetch-$1 | perl -n -e '/([0-9]*),([^ ]*)$/ && print $2'`
|
||||||
|
|
||||||
|
# fetch if last fetch was over 6 hours ago
|
||||||
|
if [[ $LAST_FETCH -lt $(expr $(date +%s) - 21600) ]] || [[ "$2" == "force" ]]; then
|
||||||
|
echo "Checking $1 for update"
|
||||||
|
echo
|
||||||
|
LATEST_COMMIT=`curl https://api.github.com/repos/SideStore/$1/releases/latest | perl -n -e '/Commit: https:\\/\\/github\\.com\\/[^\\/]*\\/[^\\/]*\\/commit\\/([^"]*)/ && print $1'`
|
||||||
|
echo
|
||||||
|
echo "Last commit: $LAST_COMMIT"
|
||||||
|
echo "Latest commit: $LATEST_COMMIT"
|
||||||
|
if [[ "$LAST_COMMIT" != "$LATEST_COMMIT" ]]; then
|
||||||
|
echo "Found update, downloading binaries"
|
||||||
|
echo
|
||||||
|
wget -O "$1/lib$1.a" "https://github.com/SideStore/$1/releases/latest/download/lib$1.a"
|
||||||
|
wget -O "$1/lib$1-sim.a" "https://github.com/SideStore/$1/releases/latest/download/lib$1-sim.a"
|
||||||
|
wget -O "$1/$1.h" "https://github.com/SideStore/$1/releases/latest/download/$1.h"
|
||||||
|
echo
|
||||||
|
else
|
||||||
|
echo "Up-to-date"
|
||||||
|
fi
|
||||||
|
echo "$(date +%s),$LATEST_COMMIT" > ".last-prebuilt-fetch-$1"
|
||||||
|
else
|
||||||
|
echo "It hasn't been 6 hours and force was not specified, skipping update check for $1"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# Allow for Xcode to check minimuxer and em_proxy separately by skipping the update check if the other one is specified as an argument
|
||||||
|
if [[ "$1" != "em_proxy" ]]; then
|
||||||
|
check_for_update minimuxer "$1"
|
||||||
|
if [[ "$1" != "minimuxer" ]]; then
|
||||||
|
echo
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if [[ "$1" != "minimuxer" ]]; then
|
||||||
|
check_for_update em_proxy "$1"
|
||||||
|
fi
|
||||||
2
Dependencies/libimobiledevice
vendored
2
Dependencies/libimobiledevice
vendored
Submodule Dependencies/libimobiledevice updated: b314f04bd7...7a8e432e9b
2
Dependencies/libplist
vendored
2
Dependencies/libplist
vendored
Submodule Dependencies/libplist updated: c3af449543...17546f53ac
2
Dependencies/libusbmuxd
vendored
2
Dependencies/libusbmuxd
vendored
Submodule Dependencies/libusbmuxd updated: 6426362e5c...8b82ef166e
1
Dependencies/minimuxer
vendored
1
Dependencies/minimuxer
vendored
Submodule Dependencies/minimuxer deleted from 87fda7dd92
531
Dependencies/minimuxer.xcodeproj/project.pbxproj
vendored
531
Dependencies/minimuxer.xcodeproj/project.pbxproj
vendored
@@ -1,292 +1,283 @@
|
|||||||
// !$*UTF8*$!
|
// !$*UTF8*$!
|
||||||
{
|
{
|
||||||
/* generated with cargo-xcode 1.5.0 */
|
archiveVersion = 1;
|
||||||
archiveVersion = 1;
|
classes = {
|
||||||
classes = {
|
};
|
||||||
};
|
objectVersion = 53;
|
||||||
objectVersion = 53;
|
objects = {
|
||||||
objects = {
|
|
||||||
/* Begin PBXBuildFile section */
|
/* Begin PBXBuildFile section */
|
||||||
|
9987603329A454B500818586 /* minimuxer.h in Sources */ = {isa = PBXBuildFile; fileRef = 9987603229A454B500818586 /* minimuxer.h */; };
|
||||||
CA6038F2DF2FA560B9642892 /* Cargo.toml in Sources */ = {
|
|
||||||
isa = PBXBuildFile;
|
|
||||||
fileRef = CA6012A875F93EF4668187A5 /* Cargo.toml */;
|
|
||||||
settings = {
|
|
||||||
COMPILER_FLAGS = "--lib"; /* == OTHER_INPUT_FILE_FLAGS */
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
/* End PBXBuildFile section */
|
/* End PBXBuildFile section */
|
||||||
|
|
||||||
/* Begin PBXBuildRule section */
|
/* Begin PBXBuildRule section */
|
||||||
CA6012A875F9AC6C1400ACA8 /* PBXBuildRule */ = {
|
CA6012A875F9AC6C1400ACA8 /* PBXBuildRule */ = {
|
||||||
isa = PBXBuildRule;
|
isa = PBXBuildRule;
|
||||||
compilerSpec = com.apple.compilers.proxy.script;
|
compilerSpec = com.apple.compilers.proxy.script;
|
||||||
dependencyFile = "$(DERIVED_FILE_DIR)/$(CARGO_XCODE_TARGET_ARCH)-$(EXECUTABLE_NAME).d";
|
filePatterns = "*/minimuxer.h";
|
||||||
filePatterns = "*/Cargo.toml"; /* must contain asterisk */
|
fileType = pattern.proxy;
|
||||||
fileType = pattern.proxy;
|
inputFiles = (
|
||||||
inputFiles = ();
|
);
|
||||||
isEditable = 0;
|
isEditable = 0;
|
||||||
name = "Cargo project build";
|
name = "Cargo project build";
|
||||||
outputFiles = (
|
outputFiles = (
|
||||||
"$(OBJECT_FILE_DIR)/$(CARGO_XCODE_TARGET_ARCH)-$(EXECUTABLE_NAME)",
|
"$(OBJECT_FILE_DIR)/$(CARGO_XCODE_TARGET_ARCH)-$(EXECUTABLE_NAME)",
|
||||||
);
|
);
|
||||||
script = "# generated with cargo-xcode 1.5.0\n\nset -eu; export PATH=\"$PATH:$HOME/.cargo/bin:/usr/local/bin\";\nif [ \"${IS_MACCATALYST-NO}\" = YES ]; then\n CARGO_XCODE_TARGET_TRIPLE=\"${CARGO_XCODE_TARGET_ARCH}-apple-ios-macabi\"\nelse\n CARGO_XCODE_TARGET_TRIPLE=\"${CARGO_XCODE_TARGET_ARCH}-apple-${CARGO_XCODE_TARGET_OS}\"\nfi\nif [ \"$CARGO_XCODE_TARGET_OS\" != \"darwin\" ]; then\n PATH=\"${PATH/\\/Contents\\/Developer\\/Toolchains\\/XcodeDefault.xctoolchain\\/usr\\/bin:/xcode-provided-ld-cant-link-lSystem-for-the-host-build-script:}\"\nfi\nPATH=\"$PATH:/opt/homebrew/bin\" # Rust projects often depend on extra tools like nasm, which Xcode lacks\nif [ \"$CARGO_XCODE_BUILD_MODE\" == release ]; then\n OTHER_INPUT_FILE_FLAGS=\"${OTHER_INPUT_FILE_FLAGS} --release\"\nfi\nif command -v rustup &> /dev/null; then\n if ! rustup target list --installed | egrep -q \"${CARGO_XCODE_TARGET_TRIPLE}\"; then\n echo \"warning: this build requires rustup toolchain for $CARGO_XCODE_TARGET_TRIPLE, but it isn\'t installed\"\n rustup target add \"${CARGO_XCODE_TARGET_TRIPLE}\" || echo >&2 \"warning: can\'t install $CARGO_XCODE_TARGET_TRIPLE\"\n fi\nfi\nif [ \"$ACTION\" = clean ]; then\n ( set -x; cargo clean --manifest-path=\"$SCRIPT_INPUT_FILE\" ${OTHER_INPUT_FILE_FLAGS} --target=\"${CARGO_XCODE_TARGET_TRIPLE}\"; );\nelse\n ( set -x; cargo build --manifest-path=\"$SCRIPT_INPUT_FILE\" --features=\"${CARGO_XCODE_FEATURES:-}\" ${OTHER_INPUT_FILE_FLAGS} --target=\"${CARGO_XCODE_TARGET_TRIPLE}\"; );\nfi\n# it\'s too hard to explain Cargo\'s actual exe path to Xcode build graph, so hardlink to a known-good path instead\nBUILT_SRC=\"${CARGO_TARGET_DIR}/${CARGO_XCODE_TARGET_TRIPLE}/${CARGO_XCODE_BUILD_MODE}/${CARGO_XCODE_CARGO_FILE_NAME}\"\nln -f -- \"$BUILT_SRC\" \"$SCRIPT_OUTPUT_FILE_0\"\n\n# xcode generates dep file, but for its own path, so append our rename to it\nDEP_FILE_SRC=\"${CARGO_TARGET_DIR}/${CARGO_XCODE_TARGET_TRIPLE}/${CARGO_XCODE_BUILD_MODE}/${CARGO_XCODE_CARGO_DEP_FILE_NAME}\"\nif [ -f \"$DEP_FILE_SRC\" ]; then\n DEP_FILE_DST=\"${DERIVED_FILE_DIR}/${CARGO_XCODE_TARGET_ARCH}-${EXECUTABLE_NAME}.d\"\n cp -f \"$DEP_FILE_SRC\" \"$DEP_FILE_DST\"\n echo >> \"$DEP_FILE_DST\" \"$SCRIPT_OUTPUT_FILE_0: $BUILT_SRC\"\nfi\n\n# lipo script needs to know all the platform-specific files that have been built\n# archs is in the file name, so that paths don\'t stay around after archs change\n# must match input for LipoScript\nFILE_LIST=\"${DERIVED_FILE_DIR}/${ARCHS}-${EXECUTABLE_NAME}.xcfilelist\"\ntouch \"$FILE_LIST\"\nif ! egrep -q \"$SCRIPT_OUTPUT_FILE_0\" \"$FILE_LIST\" ; then\n echo >> \"$FILE_LIST\" \"$SCRIPT_OUTPUT_FILE_0\"\nfi\n";
|
script = "# generated with cargo-xcode 1.5.0\n# modified to use prebuilt binaries\n\nset -eu;\n\nBUILT_SRC=\"./minimuxer/$LIB_FILE_NAME.a\"\nln -f -- \"$BUILT_SRC\" \"$TARGET_BUILD_DIR/$EXECUTABLE_PATH\" || cp \"$BUILT_SRC\" \"$TARGET_BUILD_DIR/$EXECUTABLE_PATH\"\necho \"$BUILT_SRC -> $TARGET_BUILD_DIR/$EXECUTABLE_PATH\"\n\n# xcode generates dep file, but for its own path, so append our rename to it\n#DEP_FILE_SRC=\"minimuxer/target/${CARGO_XCODE_TARGET_TRIPLE}/release/${CARGO_XCODE_CARGO_DEP_FILE_NAME}\"\n#if [ -f \"$DEP_FILE_SRC\" ]; then\n# DEP_FILE_DST=\"${DERIVED_FILE_DIR}/${CARGO_XCODE_TARGET_ARCH}-${EXECUTABLE_NAME}.d\"\n# cp -f \"$DEP_FILE_SRC\" \"$DEP_FILE_DST\"\n# echo >> \"$DEP_FILE_DST\" \"$SCRIPT_OUTPUT_FILE_0: $BUILT_SRC\"\n#fi\n\n# lipo script needs to know all the platform-specific files that have been built\n# archs is in the file name, so that paths don't stay around after archs change\n# must match input for LipoScript\n#FILE_LIST=\"${DERIVED_FILE_DIR}/${ARCHS}-${EXECUTABLE_NAME}.xcfilelist\"\n#touch \"$FILE_LIST\"\n#if ! egrep -q \"$SCRIPT_OUTPUT_FILE_0\" \"$FILE_LIST\" ; then\n# echo >> \"$FILE_LIST\" \"$SCRIPT_OUTPUT_FILE_0\"\n#fi\n";
|
||||||
};
|
};
|
||||||
/* End PBXBuildRule section */
|
/* End PBXBuildRule section */
|
||||||
|
|
||||||
/* Begin PBXFileReference section */
|
/* Begin PBXFileReference section */
|
||||||
|
9987603229A454B500818586 /* minimuxer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = minimuxer.h; path = minimuxer/minimuxer.h; sourceTree = "<group>"; };
|
||||||
CA609C732349C7AAD9FA67C4 /* staticlib */ = {
|
ADDEDBA66A6E1 /* libresolv.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libresolv.tbd; path = usr/lib/libresolv.tbd; sourceTree = SDKROOT; };
|
||||||
isa = PBXFileReference;
|
CA609C732349C7AAD9FA67C4 /* libminimuxer_static.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libminimuxer_static.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
explicitFileType = "archive.ar";
|
|
||||||
includeInIndex = 0;
|
|
||||||
name = "libminimuxer_static.a";
|
|
||||||
sourceTree = TARGET_BUILD_DIR;
|
|
||||||
};
|
|
||||||
CA6012A875F93EF4668187A5 /* Cargo.toml */ = {
|
|
||||||
isa = PBXFileReference;
|
|
||||||
lastKnownFileType = text;
|
|
||||||
fileEncoding = 4;
|
|
||||||
name = "Cargo.toml";
|
|
||||||
path = "minimuxer/Cargo.toml";
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
/* Rust needs libresolv */
|
|
||||||
ADDEDBA66A6E1 = {
|
|
||||||
isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition";
|
|
||||||
name = libresolv.tbd; path = usr/lib/libresolv.tbd; sourceTree = SDKROOT;
|
|
||||||
};
|
|
||||||
|
|
||||||
/* End PBXFileReference section */
|
/* End PBXFileReference section */
|
||||||
|
|
||||||
/* Begin PBXGroup section */
|
/* Begin PBXGroup section */
|
||||||
CA6012A875F998AF0B5890DB /* Frameworks */ = {
|
ADDEDBA66A6E2 /* Required for static linking */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
ADDEDBA66A6E2,
|
ADDEDBA66A6E1 /* libresolv.tbd */,
|
||||||
|
);
|
||||||
);
|
name = "Required for static linking";
|
||||||
name = Frameworks;
|
sourceTree = "<group>";
|
||||||
sourceTree = "<group>";
|
};
|
||||||
};
|
CA6012A875F922869D176AE5 /* Products */ = {
|
||||||
|
isa = PBXGroup;
|
||||||
|
children = (
|
||||||
ADDEDBA66A6E2 /* Required for static linking */ = {
|
CA609C732349C7AAD9FA67C4 /* libminimuxer_static.a */,
|
||||||
isa = PBXGroup;
|
);
|
||||||
children = (
|
name = Products;
|
||||||
ADDEDBA66A6E1
|
sourceTree = "<group>";
|
||||||
);
|
};
|
||||||
name = "Required for static linking";
|
CA6012A875F998AF0B5890DB /* Frameworks */ = {
|
||||||
sourceTree = "<group>";
|
isa = PBXGroup;
|
||||||
};
|
children = (
|
||||||
|
ADDEDBA66A6E2 /* Required for static linking */,
|
||||||
CA6012A875F922869D176AE5 /* Products */ = {
|
);
|
||||||
isa = PBXGroup;
|
name = Frameworks;
|
||||||
children = (
|
sourceTree = "<group>";
|
||||||
CA609C732349C7AAD9FA67C4,
|
};
|
||||||
|
CA6012A875F9D65BC3C892A8 = {
|
||||||
);
|
isa = PBXGroup;
|
||||||
name = Products;
|
children = (
|
||||||
sourceTree = "<group>";
|
9987603229A454B500818586 /* minimuxer.h */,
|
||||||
};
|
CA6012A875F922869D176AE5 /* Products */,
|
||||||
|
CA6012A875F998AF0B5890DB /* Frameworks */,
|
||||||
CA6012A875F9D65BC3C892A8 /* Main */ = {
|
);
|
||||||
isa = PBXGroup;
|
sourceTree = "<group>";
|
||||||
children = (
|
};
|
||||||
CA6012A875F93EF4668187A5,
|
|
||||||
CA6012A875F922869D176AE5,
|
|
||||||
CA6012A875F998AF0B5890DB,
|
|
||||||
|
|
||||||
);
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
|
|
||||||
/* End PBXGroup section */
|
/* End PBXGroup section */
|
||||||
|
|
||||||
/* Begin PBXNativeTarget section */
|
/* Begin PBXNativeTarget section */
|
||||||
CA609C732349A560B9642892 /* minimuxer-staticlib */ = {
|
CA609C732349A560B9642892 /* minimuxer-staticlib */ = {
|
||||||
isa = PBXNativeTarget;
|
isa = PBXNativeTarget;
|
||||||
buildConfigurationList = CA600589A243A560B9642892;
|
buildConfigurationList = CA600589A243A560B9642892 /* Build configuration list for PBXNativeTarget "minimuxer-staticlib" */;
|
||||||
buildPhases = (
|
buildPhases = (
|
||||||
CA600F638141A560B9642892 /* Sources */,
|
9987603629A4611D00818586 /* ShellScript */,
|
||||||
CA6012A875F9AF6EBB7F357C /* Universal Binary lipo */,
|
CA600F638141A560B9642892 /* Sources */,
|
||||||
);
|
CA6012A875F9AF6EBB7F357C /* Universal Binary lipo */,
|
||||||
buildRules = (
|
);
|
||||||
CA6012A875F9AC6C1400ACA8 /* PBXBuildRule */,
|
buildRules = (
|
||||||
);
|
CA6012A875F9AC6C1400ACA8 /* PBXBuildRule */,
|
||||||
dependencies = (
|
);
|
||||||
);
|
dependencies = (
|
||||||
name = "minimuxer-staticlib";
|
);
|
||||||
productName = "libminimuxer_static.a";
|
name = "minimuxer-staticlib";
|
||||||
productReference = CA609C732349C7AAD9FA67C4;
|
productName = libminimuxer_static.a;
|
||||||
productType = "com.apple.product-type.library.static";
|
productReference = CA609C732349C7AAD9FA67C4 /* libminimuxer_static.a */;
|
||||||
};
|
productType = "com.apple.product-type.library.static";
|
||||||
|
};
|
||||||
/* End PBXNativeTarget section */
|
/* End PBXNativeTarget section */
|
||||||
|
|
||||||
CA600F638141A560B9642892 = {
|
/* Begin PBXProject section */
|
||||||
isa = PBXSourcesBuildPhase;
|
CA6012A875F9E04653AD465F /* Project object */ = {
|
||||||
buildActionMask = 2147483647;
|
isa = PBXProject;
|
||||||
files = (
|
attributes = {
|
||||||
CA6038F2DF2FA560B9642892
|
LastUpgradeCheck = 1300;
|
||||||
);
|
TargetAttributes = {
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
CA609C732349A560B9642892 = {
|
||||||
};
|
CreatedOnToolsVersion = 9.2;
|
||||||
|
ProvisioningStyle = Automatic;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
buildConfigurationList = CA6012A875F980E02D6C7F57 /* Build configuration list for PBXProject "minimuxer" */;
|
||||||
|
compatibilityVersion = "Xcode 11.4";
|
||||||
|
developmentRegion = en;
|
||||||
|
hasScannedForEncodings = 0;
|
||||||
|
knownRegions = (
|
||||||
|
en,
|
||||||
|
Base,
|
||||||
|
);
|
||||||
|
mainGroup = CA6012A875F9D65BC3C892A8;
|
||||||
|
productRefGroup = CA6012A875F922869D176AE5 /* Products */;
|
||||||
|
projectDirPath = "";
|
||||||
|
projectRoot = "";
|
||||||
|
targets = (
|
||||||
|
CA609C732349A560B9642892 /* minimuxer-staticlib */,
|
||||||
|
);
|
||||||
|
};
|
||||||
|
/* End PBXProject section */
|
||||||
|
|
||||||
CA600589A243A560B9642892 /* staticlib */ = {
|
/* Begin PBXShellScriptBuildPhase section */
|
||||||
isa = XCConfigurationList;
|
9987603629A4611D00818586 /* ShellScript */ = {
|
||||||
buildConfigurations = (
|
isa = PBXShellScriptBuildPhase;
|
||||||
CA602DE9FCEDA560B9642892 /* Release */,
|
buildActionMask = 2147483647;
|
||||||
CA6008D36272A560B9642892 /* Debug */,
|
files = (
|
||||||
);
|
);
|
||||||
defaultConfigurationIsVisible = 0;
|
inputFileListPaths = (
|
||||||
defaultConfigurationName = Release;
|
);
|
||||||
};
|
inputPaths = (
|
||||||
CA602DE9FCEDA560B9642892 /* staticlib */ = {
|
);
|
||||||
isa = XCBuildConfiguration;
|
outputFileListPaths = (
|
||||||
buildSettings = {
|
);
|
||||||
PRODUCT_NAME = "minimuxer_static";
|
outputPaths = (
|
||||||
"CARGO_XCODE_CARGO_FILE_NAME" = "libminimuxer.a";
|
./minimuxer/minimuxer.h,
|
||||||
"CARGO_XCODE_CARGO_DEP_FILE_NAME" = "libminimuxer.d";
|
);
|
||||||
SUPPORTED_PLATFORMS = "macosx iphonesimulator iphoneos appletvsimulator appletvos";
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
SKIP_INSTALL = YES;
|
shellPath = /bin/sh;
|
||||||
INSTALL_GROUP = "";
|
shellScript = "bash ./fetch-prebuilt.sh minimuxer\n";
|
||||||
INSTALL_MODE_FLAG = "";
|
};
|
||||||
INSTALL_OWNER = "";
|
CA6012A875F9AF6EBB7F357C /* Universal Binary lipo */ = {
|
||||||
|
isa = PBXShellScriptBuildPhase;
|
||||||
|
buildActionMask = 2147483647;
|
||||||
|
files = (
|
||||||
|
);
|
||||||
|
inputFileListPaths = (
|
||||||
|
);
|
||||||
|
inputPaths = (
|
||||||
|
"$(DERIVED_FILE_DIR)/$(ARCHS)-$(EXECUTABLE_NAME).xcfilelist",
|
||||||
|
);
|
||||||
|
name = "Universal Binary lipo";
|
||||||
|
outputFileListPaths = (
|
||||||
|
);
|
||||||
|
outputPaths = (
|
||||||
|
"$(TARGET_BUILD_DIR)/$(EXECUTABLE_PATH)",
|
||||||
|
);
|
||||||
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
shellPath = /bin/sh;
|
||||||
|
shellScript = "# generated with cargo-xcode 1.5.0\n\n#set -eux; cat \"$DERIVED_FILE_DIR/$ARCHS-$EXECUTABLE_NAME.xcfilelist\" | tr '\\n' '\\0' | xargs -0 lipo -create -output \"$TARGET_BUILD_DIR/$EXECUTABLE_PATH\"\n#if [ ${LD_DYLIB_INSTALL_NAME:+1} ]; then\n# install_name_tool -id \"$LD_DYLIB_INSTALL_NAME\" \"$TARGET_BUILD_DIR/$EXECUTABLE_PATH\"\n#fi\n";
|
||||||
|
};
|
||||||
|
/* End PBXShellScriptBuildPhase section */
|
||||||
|
|
||||||
};
|
/* Begin PBXSourcesBuildPhase section */
|
||||||
name = Release;
|
CA600F638141A560B9642892 /* Sources */ = {
|
||||||
};
|
isa = PBXSourcesBuildPhase;
|
||||||
CA6008D36272A560B9642892 /* staticlib */ = {
|
buildActionMask = 2147483647;
|
||||||
isa = XCBuildConfiguration;
|
files = (
|
||||||
buildSettings = {
|
9987603329A454B500818586 /* minimuxer.h in Sources */,
|
||||||
PRODUCT_NAME = "minimuxer_static";
|
);
|
||||||
"CARGO_XCODE_CARGO_FILE_NAME" = "libminimuxer.a";
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
"CARGO_XCODE_CARGO_DEP_FILE_NAME" = "libminimuxer.d";
|
};
|
||||||
SUPPORTED_PLATFORMS = "macosx iphonesimulator iphoneos appletvsimulator appletvos";
|
/* End PBXSourcesBuildPhase section */
|
||||||
SKIP_INSTALL = YES;
|
|
||||||
INSTALL_GROUP = "";
|
|
||||||
INSTALL_MODE_FLAG = "";
|
|
||||||
INSTALL_OWNER = "";
|
|
||||||
|
|
||||||
};
|
/* Begin XCBuildConfiguration section */
|
||||||
name = Debug;
|
CA6008D36272A560B9642892 /* Debug */ = {
|
||||||
};
|
isa = XCBuildConfiguration;
|
||||||
|
buildSettings = {
|
||||||
|
CARGO_XCODE_CARGO_DEP_FILE_NAME = libminimuxer.d;
|
||||||
|
CARGO_XCODE_CARGO_FILE_NAME = libminimuxer.a;
|
||||||
|
INSTALL_GROUP = "";
|
||||||
|
INSTALL_MODE_FLAG = "";
|
||||||
|
INSTALL_OWNER = "";
|
||||||
|
LIB_FILE_NAME = "";
|
||||||
|
"LIB_FILE_NAME[sdk=iphoneos*]" = libminimuxer;
|
||||||
|
"LIB_FILE_NAME[sdk=iphonesimulator*]" = "libminimuxer-sim";
|
||||||
|
PRODUCT_NAME = minimuxer_static;
|
||||||
|
SKIP_INSTALL = YES;
|
||||||
|
SUPPORTED_PLATFORMS = "macosx iphonesimulator iphoneos appletvsimulator appletvos";
|
||||||
|
};
|
||||||
|
name = Debug;
|
||||||
|
};
|
||||||
|
CA602DE9FCEDA560B9642892 /* Release */ = {
|
||||||
|
isa = XCBuildConfiguration;
|
||||||
|
buildSettings = {
|
||||||
|
CARGO_XCODE_CARGO_DEP_FILE_NAME = libminimuxer.d;
|
||||||
|
CARGO_XCODE_CARGO_FILE_NAME = libminimuxer.a;
|
||||||
|
INSTALL_GROUP = "";
|
||||||
|
INSTALL_MODE_FLAG = "";
|
||||||
|
INSTALL_OWNER = "";
|
||||||
|
LIB_FILE_NAME = "";
|
||||||
|
"LIB_FILE_NAME[sdk=iphoneos*]" = libminimuxer;
|
||||||
|
"LIB_FILE_NAME[sdk=iphonesimulator*]" = "libminimuxer-sim";
|
||||||
|
PRODUCT_NAME = minimuxer_static;
|
||||||
|
SKIP_INSTALL = YES;
|
||||||
|
SUPPORTED_PLATFORMS = "macosx iphonesimulator iphoneos appletvsimulator appletvos";
|
||||||
|
};
|
||||||
|
name = Release;
|
||||||
|
};
|
||||||
|
CA60A20F8EA6228BE02872F8 /* Debug */ = {
|
||||||
|
isa = XCBuildConfiguration;
|
||||||
|
buildSettings = {
|
||||||
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||||
|
CARGO_TARGET_DIR = "$(PROJECT_TEMP_DIR)/cargo_target";
|
||||||
|
CARGO_XCODE_BUILD_MODE = debug;
|
||||||
|
CARGO_XCODE_FEATURES = "";
|
||||||
|
"CARGO_XCODE_TARGET_ARCH[arch=arm64*]" = aarch64;
|
||||||
|
"CARGO_XCODE_TARGET_ARCH[arch=i386]" = i686;
|
||||||
|
"CARGO_XCODE_TARGET_ARCH[arch=x86_64*]" = x86_64;
|
||||||
|
"CARGO_XCODE_TARGET_OS[sdk=appletvos*]" = tvos;
|
||||||
|
"CARGO_XCODE_TARGET_OS[sdk=appletvsimulator*]" = tvos;
|
||||||
|
"CARGO_XCODE_TARGET_OS[sdk=iphoneos*]" = ios;
|
||||||
|
"CARGO_XCODE_TARGET_OS[sdk=iphonesimulator*]" = "ios-sim";
|
||||||
|
"CARGO_XCODE_TARGET_OS[sdk=iphonesimulator*][arch=x86_64*]" = ios;
|
||||||
|
"CARGO_XCODE_TARGET_OS[sdk=macosx*]" = darwin;
|
||||||
|
CURRENT_PROJECT_VERSION = 0.1;
|
||||||
|
MARKETING_VERSION = 0.1.0;
|
||||||
|
ONLY_ACTIVE_ARCH = YES;
|
||||||
|
PRODUCT_NAME = minimuxer;
|
||||||
|
SDKROOT = macosx;
|
||||||
|
SUPPORTS_MACCATALYST = YES;
|
||||||
|
};
|
||||||
|
name = Debug;
|
||||||
|
};
|
||||||
|
CA60A20F8EA63CC16B37690B /* Release */ = {
|
||||||
|
isa = XCBuildConfiguration;
|
||||||
|
buildSettings = {
|
||||||
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||||
|
CARGO_TARGET_DIR = "$(PROJECT_TEMP_DIR)/cargo_target";
|
||||||
|
CARGO_XCODE_BUILD_MODE = release;
|
||||||
|
CARGO_XCODE_FEATURES = "";
|
||||||
|
"CARGO_XCODE_TARGET_ARCH[arch=arm64*]" = aarch64;
|
||||||
|
"CARGO_XCODE_TARGET_ARCH[arch=i386]" = i686;
|
||||||
|
"CARGO_XCODE_TARGET_ARCH[arch=x86_64*]" = x86_64;
|
||||||
|
"CARGO_XCODE_TARGET_OS[sdk=appletvos*]" = tvos;
|
||||||
|
"CARGO_XCODE_TARGET_OS[sdk=appletvsimulator*]" = tvos;
|
||||||
|
"CARGO_XCODE_TARGET_OS[sdk=iphoneos*]" = ios;
|
||||||
|
"CARGO_XCODE_TARGET_OS[sdk=iphonesimulator*]" = "ios-sim";
|
||||||
|
"CARGO_XCODE_TARGET_OS[sdk=iphonesimulator*][arch=x86_64*]" = ios;
|
||||||
|
"CARGO_XCODE_TARGET_OS[sdk=macosx*]" = darwin;
|
||||||
|
CURRENT_PROJECT_VERSION = 0.1;
|
||||||
|
MARKETING_VERSION = 0.1.0;
|
||||||
|
PRODUCT_NAME = minimuxer;
|
||||||
|
SDKROOT = macosx;
|
||||||
|
SUPPORTS_MACCATALYST = YES;
|
||||||
|
};
|
||||||
|
name = Release;
|
||||||
|
};
|
||||||
|
/* End XCBuildConfiguration section */
|
||||||
|
|
||||||
CA6012A875F9AF6EBB7F357C /* LipoScript */ = {
|
/* Begin XCConfigurationList section */
|
||||||
name = "Universal Binary lipo";
|
CA600589A243A560B9642892 /* Build configuration list for PBXNativeTarget "minimuxer-staticlib" */ = {
|
||||||
isa = PBXShellScriptBuildPhase;
|
isa = XCConfigurationList;
|
||||||
buildActionMask = 2147483647;
|
buildConfigurations = (
|
||||||
files = ();
|
CA602DE9FCEDA560B9642892 /* Release */,
|
||||||
inputFileListPaths = ();
|
CA6008D36272A560B9642892 /* Debug */,
|
||||||
inputPaths = (
|
);
|
||||||
"$(DERIVED_FILE_DIR)/$(ARCHS)-$(EXECUTABLE_NAME).xcfilelist",
|
defaultConfigurationIsVisible = 0;
|
||||||
);
|
defaultConfigurationName = Release;
|
||||||
outputFileListPaths = ();
|
};
|
||||||
outputPaths = (
|
CA6012A875F980E02D6C7F57 /* Build configuration list for PBXProject "minimuxer" */ = {
|
||||||
"$(TARGET_BUILD_DIR)/$(EXECUTABLE_PATH)"
|
isa = XCConfigurationList;
|
||||||
);
|
buildConfigurations = (
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
CA60A20F8EA63CC16B37690B /* Release */,
|
||||||
shellPath = /bin/sh;
|
CA60A20F8EA6228BE02872F8 /* Debug */,
|
||||||
shellScript = "# generated with cargo-xcode 1.5.0\n\n set -eux; cat \"$DERIVED_FILE_DIR/$ARCHS-$EXECUTABLE_NAME.xcfilelist\" | tr \'\\n\' \'\\0\' | xargs -0 lipo -create -output \"$TARGET_BUILD_DIR/$EXECUTABLE_PATH\"\n if [ ${LD_DYLIB_INSTALL_NAME:+1} ]; then\n install_name_tool -id \"$LD_DYLIB_INSTALL_NAME\" \"$TARGET_BUILD_DIR/$EXECUTABLE_PATH\"\n fi\n ";
|
);
|
||||||
};
|
defaultConfigurationIsVisible = 0;
|
||||||
|
defaultConfigurationName = Release;
|
||||||
CA6012A875F980E02D6C7F57 = {
|
};
|
||||||
isa = XCConfigurationList;
|
/* End XCConfigurationList section */
|
||||||
buildConfigurations = (
|
};
|
||||||
CA60A20F8EA63CC16B37690B /* Release */,
|
rootObject = CA6012A875F9E04653AD465F /* Project object */;
|
||||||
CA60A20F8EA6228BE02872F8 /* Debug */,
|
|
||||||
);
|
|
||||||
defaultConfigurationIsVisible = 0;
|
|
||||||
defaultConfigurationName = Release;
|
|
||||||
};
|
|
||||||
|
|
||||||
CA60A20F8EA63CC16B37690B = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
|
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
||||||
SUPPORTS_MACCATALYST = YES;
|
|
||||||
CARGO_TARGET_DIR = "$(PROJECT_TEMP_DIR)/cargo_target"; /* for cargo */
|
|
||||||
CARGO_XCODE_FEATURES = ""; /* configure yourself */
|
|
||||||
"CARGO_XCODE_TARGET_ARCH[arch=arm64*]" = "aarch64";
|
|
||||||
"CARGO_XCODE_TARGET_ARCH[arch=x86_64*]" = "x86_64"; /* catalyst adds h suffix */
|
|
||||||
"CARGO_XCODE_TARGET_ARCH[arch=i386]" = "i686";
|
|
||||||
"CARGO_XCODE_TARGET_OS[sdk=macosx*]" = "darwin";
|
|
||||||
"CARGO_XCODE_TARGET_OS[sdk=iphonesimulator*]" = "ios-sim";
|
|
||||||
"CARGO_XCODE_TARGET_OS[sdk=iphonesimulator*][arch=x86_64*]" = "ios";
|
|
||||||
"CARGO_XCODE_TARGET_OS[sdk=iphoneos*]" = "ios";
|
|
||||||
"CARGO_XCODE_TARGET_OS[sdk=appletvsimulator*]" = "tvos";
|
|
||||||
"CARGO_XCODE_TARGET_OS[sdk=appletvos*]" = "tvos";
|
|
||||||
PRODUCT_NAME = "minimuxer";
|
|
||||||
MARKETING_VERSION = "0.1.0";
|
|
||||||
CURRENT_PROJECT_VERSION = "0.1";
|
|
||||||
SDKROOT = macosx;
|
|
||||||
|
|
||||||
"CARGO_XCODE_BUILD_MODE" = "release"; /* for xcode scripts */
|
|
||||||
};
|
|
||||||
name = Release;
|
|
||||||
};
|
|
||||||
|
|
||||||
CA60A20F8EA6228BE02872F8 = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
|
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
||||||
SUPPORTS_MACCATALYST = YES;
|
|
||||||
CARGO_TARGET_DIR = "$(PROJECT_TEMP_DIR)/cargo_target"; /* for cargo */
|
|
||||||
CARGO_XCODE_FEATURES = ""; /* configure yourself */
|
|
||||||
"CARGO_XCODE_TARGET_ARCH[arch=arm64*]" = "aarch64";
|
|
||||||
"CARGO_XCODE_TARGET_ARCH[arch=x86_64*]" = "x86_64"; /* catalyst adds h suffix */
|
|
||||||
"CARGO_XCODE_TARGET_ARCH[arch=i386]" = "i686";
|
|
||||||
"CARGO_XCODE_TARGET_OS[sdk=macosx*]" = "darwin";
|
|
||||||
"CARGO_XCODE_TARGET_OS[sdk=iphonesimulator*]" = "ios-sim";
|
|
||||||
"CARGO_XCODE_TARGET_OS[sdk=iphonesimulator*][arch=x86_64*]" = "ios";
|
|
||||||
"CARGO_XCODE_TARGET_OS[sdk=iphoneos*]" = "ios";
|
|
||||||
"CARGO_XCODE_TARGET_OS[sdk=appletvsimulator*]" = "tvos";
|
|
||||||
"CARGO_XCODE_TARGET_OS[sdk=appletvos*]" = "tvos";
|
|
||||||
PRODUCT_NAME = "minimuxer";
|
|
||||||
MARKETING_VERSION = "0.1.0";
|
|
||||||
CURRENT_PROJECT_VERSION = "0.1";
|
|
||||||
SDKROOT = macosx;
|
|
||||||
|
|
||||||
"CARGO_XCODE_BUILD_MODE" = "debug"; /* for xcode scripts */
|
|
||||||
ONLY_ACTIVE_ARCH = YES;
|
|
||||||
};
|
|
||||||
name = Debug;
|
|
||||||
};
|
|
||||||
|
|
||||||
CA6012A875F9E04653AD465F = {
|
|
||||||
isa = PBXProject;
|
|
||||||
attributes = {
|
|
||||||
LastUpgradeCheck = 1300;
|
|
||||||
TargetAttributes = {
|
|
||||||
CA609C732349A560B9642892 = {
|
|
||||||
CreatedOnToolsVersion = 9.2;
|
|
||||||
ProvisioningStyle = Automatic;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
buildConfigurationList = CA6012A875F980E02D6C7F57;
|
|
||||||
compatibilityVersion = "Xcode 11.4";
|
|
||||||
developmentRegion = en;
|
|
||||||
hasScannedForEncodings = 0;
|
|
||||||
knownRegions = (
|
|
||||||
en,
|
|
||||||
Base,
|
|
||||||
);
|
|
||||||
mainGroup = CA6012A875F9D65BC3C892A8;
|
|
||||||
productRefGroup = CA6012A875F922869D176AE5 /* Products */;
|
|
||||||
projectDirPath = "";
|
|
||||||
projectRoot = "";
|
|
||||||
targets = (
|
|
||||||
CA609C732349A560B9642892,
|
|
||||||
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
|
||||||
rootObject = CA6012A875F9E04653AD465F;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
1
Dependencies/minimuxer/.gitkeep
vendored
Normal file
1
Dependencies/minimuxer/.gitkeep
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Use ../fetch-prebuilt.sh to fetch prebuilt Rust dependencies
|
||||||
10
Dependencies/update.sh
vendored
10
Dependencies/update.sh
vendored
@@ -1,10 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
set -e; set -o pipefail; set -x;
|
|
||||||
|
|
||||||
echo "Building Rust projects..."
|
|
||||||
cd em_proxy
|
|
||||||
cargo xcode --output-dir ../
|
|
||||||
cd ../
|
|
||||||
cd minimuxer
|
|
||||||
cargo xcode --output-dir ../
|
|
||||||
echo "Done!"
|
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
// Jackson Coxson
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
#include <stdbool.h>
|
|
||||||
#include <stddef.h>
|
|
||||||
#include <stdint.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Starts your emotional damage
|
|
||||||
* # Arguments
|
|
||||||
* * `bind_addr` - The UDP socket to listen to
|
|
||||||
* # Returns
|
|
||||||
* A handle to stop further emotional damage.
|
|
||||||
* Null on failure
|
|
||||||
* # Safety
|
|
||||||
* Don't be stupid
|
|
||||||
*/
|
|
||||||
int start_emotional_damage(const char *bind_addr);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Stops further emotional damage
|
|
||||||
* # Arguments
|
|
||||||
* * `handle` - The coping mechanism generated by start_emotional_damage
|
|
||||||
* # Returns
|
|
||||||
* The knowledge of knowing that you couldn't handle failure
|
|
||||||
* # Safety
|
|
||||||
* Don't be stupid
|
|
||||||
*/
|
|
||||||
void stop_emotional_damage(void);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Blocks until Wireguard is ready
|
|
||||||
* # Arguments
|
|
||||||
* * `timeout` - The timeout in miliseconds to wait for Wireguard
|
|
||||||
* # Returns
|
|
||||||
* 0 on success, -1 on failure
|
|
||||||
*/
|
|
||||||
int test_emotional_damage(int timeout);
|
|
||||||
137
Makefile
137
Makefile
@@ -2,8 +2,6 @@ SHELL := /bin/bash
|
|||||||
.PHONY: help ios update tvos
|
.PHONY: help ios update tvos
|
||||||
|
|
||||||
RUBY := $(shell command -v ruby 2>/dev/null)
|
RUBY := $(shell command -v ruby 2>/dev/null)
|
||||||
RUST := $(shell command -v rust 2>/dev/null)
|
|
||||||
RUSTUP := $(shell command -v rustup 2>/dev/null)
|
|
||||||
HOMEBREW := $(shell command -v brew 2>/dev/null)
|
HOMEBREW := $(shell command -v brew 2>/dev/null)
|
||||||
BUNDLER := $(shell command -v bundle 2>/dev/null)
|
BUNDLER := $(shell command -v bundle 2>/dev/null)
|
||||||
|
|
||||||
@@ -72,11 +70,7 @@ help:
|
|||||||
|
|
||||||
## Install dependencies.
|
## Install dependencies.
|
||||||
setup: \
|
setup: \
|
||||||
pre_setup \
|
pre_setup
|
||||||
install_rust \
|
|
||||||
install_rustup \
|
|
||||||
install_rust_toolchain \
|
|
||||||
build_rust_dependencies
|
|
||||||
|
|
||||||
# check_for_homebrew \
|
# check_for_homebrew \
|
||||||
# update_homebrew \
|
# update_homebrew \
|
||||||
@@ -89,20 +83,6 @@ pull_request: \
|
|||||||
pre_setup:
|
pre_setup:
|
||||||
$(info Project setup…)
|
$(info Project setup…)
|
||||||
|
|
||||||
check_for_rust:
|
|
||||||
$(info Checking for Rust…)
|
|
||||||
|
|
||||||
ifeq ($(RUST),)
|
|
||||||
$(error Rust is not installed.)
|
|
||||||
endif
|
|
||||||
|
|
||||||
check_for_rustup:
|
|
||||||
$(info Checking for Rustup…)
|
|
||||||
|
|
||||||
ifeq ($(RUSTUP),)
|
|
||||||
$(error Rust is not installed.)
|
|
||||||
endif
|
|
||||||
|
|
||||||
check_for_ruby:
|
check_for_ruby:
|
||||||
$(info Checking for Ruby…)
|
$(info Checking for Ruby…)
|
||||||
|
|
||||||
@@ -153,79 +133,12 @@ pull:
|
|||||||
## -- Source Code Tasks --
|
## -- Source Code Tasks --
|
||||||
|
|
||||||
## Pull upstream and update 3rd party frameworks
|
## Pull upstream and update 3rd party frameworks
|
||||||
# update: pull submodules build_rust_dependencies
|
update: submodules
|
||||||
update: submodules build_rust_dependencies
|
|
||||||
|
|
||||||
submodules:
|
submodules:
|
||||||
$(info Updating submodules…)
|
$(info Updating submodules…)
|
||||||
|
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive --remote
|
||||||
|
|
||||||
build_rust_dependencies:
|
|
||||||
$(info Building Rust dependencies…)
|
|
||||||
|
|
||||||
pushd Dependencies/em_proxy
|
|
||||||
cargo build --release --target aarch64-apple-ios
|
|
||||||
popd
|
|
||||||
pushd Dependencies/minimuxer
|
|
||||||
cargo build --release --target aarch64-apple-ios
|
|
||||||
popd
|
|
||||||
|
|
||||||
install_rustup:
|
|
||||||
$(info Installing Rustup…)
|
|
||||||
|
|
||||||
curl https://sh.rustup.rs -sSf | sh
|
|
||||||
source "$(HOME)/.cargo/env"
|
|
||||||
rustup target add aarch64-apple-ios
|
|
||||||
|
|
||||||
# TODO: Add x86, armv7? toolchains
|
|
||||||
# https://doc.rust-lang.org/nightly/rustc/platform-support.html
|
|
||||||
|
|
||||||
install_cbindgen:
|
|
||||||
$(info Installing cbindgen…)
|
|
||||||
|
|
||||||
cargo install cbindgen
|
|
||||||
|
|
||||||
install_rust_toolchain:
|
|
||||||
$(info Installing Rust toolchain…)
|
|
||||||
|
|
||||||
rustup target add aarch64-apple-ios
|
|
||||||
|
|
||||||
install_rust_toolchain_ios_sim:
|
|
||||||
$(info Installing Rust iOS Sim toolchain…)
|
|
||||||
|
|
||||||
rustup target add aarch64-apple-ios-sim
|
|
||||||
|
|
||||||
install_rust_toolchain_tvos:
|
|
||||||
$(info Installing Rust tvOS toolchain…)
|
|
||||||
|
|
||||||
rustup target add aarch64-apple-tvos
|
|
||||||
|
|
||||||
install_rust_toolchain_tvos_sim:
|
|
||||||
$(info Installing Rust tvOS Sim toolchain…)
|
|
||||||
|
|
||||||
rustup target add aarch64-apple-tvos-sim
|
|
||||||
|
|
||||||
install_rust_toolchain_watchos_sim:
|
|
||||||
$(info Installing Rust watchOS Sim toolchain…)
|
|
||||||
|
|
||||||
rustup target add aarch64-apple-watchos-sim
|
|
||||||
|
|
||||||
install_rust_toolchain_watchos:
|
|
||||||
$(info Installing Rust watchOS toolchain…)
|
|
||||||
|
|
||||||
rustup target add aarch64-apple-watchos
|
|
||||||
|
|
||||||
install_rust_toolchain_catalyst:
|
|
||||||
$(info Installing Rust macOS Catalyst toolchain…)
|
|
||||||
|
|
||||||
rustup target add aarch64-apple-ios-macabi
|
|
||||||
|
|
||||||
install_rust:
|
|
||||||
$(info Installing Rust…)
|
|
||||||
|
|
||||||
curl https://sh.rustup.rs -sSf | sh
|
|
||||||
source "$(HOME)/.cargo/env"
|
|
||||||
|
|
||||||
## -- QA Task Runners --
|
## -- QA Task Runners --
|
||||||
|
|
||||||
@@ -243,32 +156,24 @@ test:
|
|||||||
|
|
||||||
## -- Building --
|
## -- Building --
|
||||||
|
|
||||||
developer_ios:
|
build:
|
||||||
$(info Building iOS for Developer profile…)
|
@xcodebuild -project AltStore.xcodeproj \
|
||||||
|
-scheme AltStore \
|
||||||
|
-sdk iphoneos \
|
||||||
|
archive -archivePath ./archive \
|
||||||
|
CODE_SIGNING_REQUIRED=NO \
|
||||||
|
AD_HOC_CODE_SIGNING_ALLOWED=YES \
|
||||||
|
CODE_SIGNING_ALLOWED=NO \
|
||||||
|
DEVELOPMENT_TEAM=XYZ0123456 \
|
||||||
|
ORG_IDENTIFIER=com.SideStore
|
||||||
|
|
||||||
xcodebuild -project AltStore.xcodeproj -scheme AltStore -sdk iphoneos archive -archivePath ./archive CODE_SIGNING_REQUIRED=NO AD_HOC_CODE_SIGNING_ALLOWED=YES CODE_SIGNING_ALLOWED=NO DEVELOPMENT_TEAM=XYZ0123456 ORG_IDENTIFIER=com.SideStore | xcpretty
|
fakesign:
|
||||||
|
rm -rf archive.xcarchive/Products/Applications/SideStore.app/Frameworks/AltStoreCore.framework/Frameworks/
|
||||||
|
ldid -SAltStore/Resources/tempEnt.plist archive.xcarchive/Products/Applications/SideStore.app/SideStore
|
||||||
|
|
||||||
developer_tvos:
|
ipa:
|
||||||
$(info Building tvOS for Developer profile…)
|
mkdir Payload
|
||||||
|
mkdir Payload/SideStore.app
|
||||||
|
cp -R archive.xcarchive/Products/Applications/SideStore.app/ Payload/SideStore.app/
|
||||||
|
zip -r SideStore.ipa Payload
|
||||||
|
|
||||||
xcodebuild -project AltStore.xcodeproj -scheme AltStore -sdk tvos archive -archivePath ./archive CODE_SIGNING_REQUIRED=NO AD_HOC_CODE_SIGNING_ALLOWED=YES CODE_SIGNING_ALLOWED=NO DEVELOPMENT_TEAM=XYZ0123456 ORG_IDENTIFIER=com.SideStore | xcpretty
|
|
||||||
|
|
||||||
## Update & build for iOS
|
|
||||||
ios: | update developer_ios
|
|
||||||
|
|
||||||
## Update & build for tvOS
|
|
||||||
tvos: | update developer_tvos
|
|
||||||
|
|
||||||
## Open the workspace
|
|
||||||
open:
|
|
||||||
open AltStore.xcodeproj
|
|
||||||
|
|
||||||
## tag and release to github
|
|
||||||
release: | _var_VERSION
|
|
||||||
@if ! git diff --quiet HEAD; then \
|
|
||||||
( $(call _error,refusing to release with uncommitted changes) ; exit 1 ); \
|
|
||||||
fi
|
|
||||||
test
|
|
||||||
package
|
|
||||||
make --no-print-directory _tag VERSION=$(VERSION)
|
|
||||||
make --no-print-directory _push VERSION=$(VERSION)
|
|
||||||
|
|||||||
61
Package.resolved
Normal file
61
Package.resolved
Normal file
@@ -0,0 +1,61 @@
|
|||||||
|
{
|
||||||
|
"object": {
|
||||||
|
"pins": [
|
||||||
|
{
|
||||||
|
"package": "Logger",
|
||||||
|
"repositoryURL": "https://github.com/shibapm/Logger",
|
||||||
|
"state": {
|
||||||
|
"branch": null,
|
||||||
|
"revision": "53c3ecca5abe8cf46697e33901ee774236d94cce",
|
||||||
|
"version": "0.2.3"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"package": "OctoKit",
|
||||||
|
"repositoryURL": "https://github.com/nerdishbynature/octokit.swift",
|
||||||
|
"state": {
|
||||||
|
"branch": null,
|
||||||
|
"revision": "f762f1566f7cd0e683b9329f169c28ab6ef993cc",
|
||||||
|
"version": "0.12.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"package": "RequestKit",
|
||||||
|
"repositoryURL": "https://github.com/nerdishbynature/RequestKit.git",
|
||||||
|
"state": {
|
||||||
|
"branch": null,
|
||||||
|
"revision": "8b0258ea2a4345cbcac90509b764faacea12efb0",
|
||||||
|
"version": "3.2.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"package": "Roxas",
|
||||||
|
"repositoryURL": "https://github.com/SideStore/Roxas.git",
|
||||||
|
"state": {
|
||||||
|
"branch": "swiftpm",
|
||||||
|
"revision": "fe142efb8b3e0330802aba3f44f508f712c0679f",
|
||||||
|
"version": null
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"package": "danger-swift",
|
||||||
|
"repositoryURL": "https://github.com/danger/swift.git",
|
||||||
|
"state": {
|
||||||
|
"branch": null,
|
||||||
|
"revision": "579323889f26e6fb1ddb2cc5d98b1ab698bd2578",
|
||||||
|
"version": "3.14.2"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"package": "Version",
|
||||||
|
"repositoryURL": "https://github.com/mxcl/Version",
|
||||||
|
"state": {
|
||||||
|
"branch": null,
|
||||||
|
"revision": "1fe824b80d89201652e7eca7c9252269a1d85e25",
|
||||||
|
"version": "2.0.1"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"version": 1
|
||||||
|
}
|
||||||
212
Package.swift
Normal file
212
Package.swift
Normal file
@@ -0,0 +1,212 @@
|
|||||||
|
// swift-tools-version:5.6
|
||||||
|
|
||||||
|
import PackageDescription
|
||||||
|
|
||||||
|
// Version number can be found in Source/Danger/Danger.swift
|
||||||
|
|
||||||
|
// switch to false when release
|
||||||
|
let isDevelop = true
|
||||||
|
|
||||||
|
let devProducts: [Product] = isDevelop
|
||||||
|
? [
|
||||||
|
.library(name: "DangerDeps", type: .dynamic, targets: ["Danger-Swift"])
|
||||||
|
] : []
|
||||||
|
let devDependencies: [Package.Dependency] = isDevelop
|
||||||
|
? [
|
||||||
|
// .package(url: "https://github.com/shibapm/Komondor", from: "1.1.4"),
|
||||||
|
.package(url: "https://github.com/nicklockwood/SwiftFormat", from: "0.50.7"),
|
||||||
|
.package(url: "https://github.com/Realm/SwiftLint", branch: "main"),
|
||||||
|
.package(url: "https://github.com/pointfreeco/swift-snapshot-testing.git", from: "1.10.0"),
|
||||||
|
// .package(url: "https://github.com/shibapm/Rocket", from: "1.2.1")
|
||||||
|
] : []
|
||||||
|
let devTargets: [Target] = isDevelop
|
||||||
|
? [
|
||||||
|
.testTarget(name: "DangerTests",
|
||||||
|
dependencies: [
|
||||||
|
"Danger",
|
||||||
|
"DangerFixtures",
|
||||||
|
.product(name: "SnapshotTesting", package: "swift-snapshot-testing")
|
||||||
|
]),
|
||||||
|
.testTarget(name: "RunnerLibTests",
|
||||||
|
dependencies: [
|
||||||
|
"RunnerLib",
|
||||||
|
.product(name: "SnapshotTesting", package: "swift-snapshot-testing")
|
||||||
|
], exclude: ["__Snapshots__"]),
|
||||||
|
.testTarget(name: "DangerDependenciesResolverTests",
|
||||||
|
dependencies: [
|
||||||
|
"DangerDependenciesResolver",
|
||||||
|
.product(name: "SnapshotTesting", package: "swift-snapshot-testing")
|
||||||
|
],
|
||||||
|
exclude: ["__Snapshots__"]),
|
||||||
|
]
|
||||||
|
: []
|
||||||
|
|
||||||
|
let package = Package(
|
||||||
|
name: "danger-swift",
|
||||||
|
products: [
|
||||||
|
// .library(name: "DangerDeps[SideStore]", type: .dynamic, targets: ["DangerDependencies"]), // dev
|
||||||
|
.library(name: "SideStore", targets: ["SideStore", "SideStore-ObjC"]),
|
||||||
|
.library(name: "AltStoreCore", targets: ["AltStoreCore"]),
|
||||||
|
.library(name: "libimobiledevice", targets: ["libimobiledevice"]),
|
||||||
|
.library(name: "EmotionalDamage", targets: ["EmotionalDamage"]),
|
||||||
|
.library(name: "minimuxer", targets: ["minimuxer"]),
|
||||||
|
],
|
||||||
|
.library(name: "Danger", targets: ["Danger"]),
|
||||||
|
.library(name: "DangerFixtures", targets: ["DangerFixtures"]),
|
||||||
|
.executable(name: "danger-swift", targets: ["Runner"]),
|
||||||
|
] + devProducts,
|
||||||
|
dependencies: [
|
||||||
|
.package(url: "https://github.com/danger/swift.git", from: "3.0.0"), // dev
|
||||||
|
.package(url: "https://github.com/SideStore/Roxas.git", branch: "swiftpm"),
|
||||||
|
// Danger Plugins
|
||||||
|
// .package(url: "https://github.com/username/DangerPlugin.git", from: "0.1.0") // dev
|
||||||
|
],
|
||||||
|
.package(url: "https://github.com/shibapm/Logger", from: "0.1.0"),
|
||||||
|
.package(url: "https://github.com/mxcl/Version", from: "2.0.1"),
|
||||||
|
.package(name: "OctoKit", url: "https://github.com/nerdishbynature/octokit.swift", from: "0.12.0"),
|
||||||
|
] + devDependencies,
|
||||||
|
targets: [
|
||||||
|
// .target(name: "DangerDependencies", dependencies: ["Danger", "DangerPlugin"], path: "Dependencies/Danger"), // dev
|
||||||
|
.target(name: "SideStore",
|
||||||
|
dependencies: ["SideStore-ObjC", "AltStoreCore", "EmotionalDamage", "libimobiledevice", "minimuxer", "em_proxy"],
|
||||||
|
path: "AltStore",
|
||||||
|
exclude: ["Operations/Patch App/ALTAppPatcher.m"]),
|
||||||
|
|
||||||
|
.target(name: "SideStore-ObjC",
|
||||||
|
dependencies: ["Roxas"],
|
||||||
|
path: "AltStore",
|
||||||
|
sources: ["Operations/Patch App/ALTAppPatcher.m"],
|
||||||
|
publicHeadersPath: "Operations/Patch App/"),
|
||||||
|
|
||||||
|
.target(name: "AltStoreCore",
|
||||||
|
dependencies: ["AltStoreCore-ObjC"],
|
||||||
|
path: "AltStoreCore",
|
||||||
|
exclude: [
|
||||||
|
"Types/ALTAppPermission.m",
|
||||||
|
"Types/ALTPatreonBenefitType.m",
|
||||||
|
"Types/ALTSourceUserInfoKey.m"
|
||||||
|
]),
|
||||||
|
|
||||||
|
.target(name: "AltStoreCore-ObjC",
|
||||||
|
dependencies: ["Roxas"],
|
||||||
|
path: "AltStoreCore",
|
||||||
|
sources: ["Types/ALTAppPermission.m", "Types/ALTPatreonBenefitType.m", "Types/ALTSourceUserInfoKey.m"],
|
||||||
|
publicHeadersPath: "Types"),
|
||||||
|
|
||||||
|
.target(name: "EmotionalDamage",
|
||||||
|
dependencies: [""],
|
||||||
|
path: "EmotionalDamage"),
|
||||||
|
|
||||||
|
.target(name: "libimobiledevice",
|
||||||
|
dependencies: [""],
|
||||||
|
path: "Dependencies/libimobiledevice/src",
|
||||||
|
publicHeadersPath: "Dependencies/libimobiledevice/include/libimobiledevice"),
|
||||||
|
|
||||||
|
.binaryTarget( name: "minimuxer",
|
||||||
|
path: "Dependencies/minimuxer/target/release/minimuxer.xcframework"),
|
||||||
|
|
||||||
|
.binaryTarget( name: "em_proxy",
|
||||||
|
path: "Dependencies/em_proxy/target/release/em_proxy.xcframework"),
|
||||||
|
|
||||||
|
// name: "SideStore",
|
||||||
|
// // dependencies: [
|
||||||
|
// // .product(name: "RxSwift", package: "RxSwift")
|
||||||
|
// // ],
|
||||||
|
// path: "AltStore",
|
||||||
|
// exclude: ["Info.plist", "*.m"],
|
||||||
|
// cSettings: cSettings,
|
||||||
|
// cxxSettings: cxxSettings),
|
||||||
|
|
||||||
|
// .target(
|
||||||
|
// name: "PVLibrary-ObjC",
|
||||||
|
// // dependencies: [
|
||||||
|
// // .product(name: "RxSwift", package: "RxSwift")
|
||||||
|
// // ],
|
||||||
|
// path: "PVLibrary",
|
||||||
|
// exclude: ["Info.plist", "*.swift"],
|
||||||
|
// cSettings: cSettings,
|
||||||
|
// cxxSettings: cxxSettings),
|
||||||
|
]
|
||||||
|
.target(name: "Danger-Swift", dependencies: ["Danger"], plugins: [.plugin(name: "SwiftLintPlugin", package: "SwiftLint")]),
|
||||||
|
.target(name: "DangerShellExecutor"),
|
||||||
|
.target(name: "DangerDependenciesResolver", dependencies: ["DangerShellExecutor", "Version", "Logger"]),
|
||||||
|
.target(name: "Danger", dependencies: ["OctoKit", "Logger", "DangerShellExecutor"]),
|
||||||
|
.target(name: "RunnerLib", dependencies: ["Logger", "DangerShellExecutor", "Version"]),
|
||||||
|
.executableTarget(name: "Runner", dependencies: ["RunnerLib", "Logger", "DangerDependenciesResolver"]),
|
||||||
|
.target(name: "DangerFixtures", dependencies: ["Danger"]),
|
||||||
|
] + devTargets
|
||||||
|
)
|
||||||
|
|
||||||
|
// #if canImport(PackageConfig)
|
||||||
|
// import PackageConfig
|
||||||
|
|
||||||
|
// let config = PackageConfiguration([
|
||||||
|
// "komondor": [
|
||||||
|
// "pre-push": "swift test",
|
||||||
|
// "pre-commit": [
|
||||||
|
// "swift test",
|
||||||
|
// "swift test --generate-linuxmain",
|
||||||
|
// "swift run swiftformat .",
|
||||||
|
// "swift run swiftlint autocorrect --path Sources/",
|
||||||
|
// "git add ."
|
||||||
|
// ]
|
||||||
|
// ],
|
||||||
|
// "rocket": [
|
||||||
|
// "pre_release_checks": [
|
||||||
|
// "clean_git"
|
||||||
|
// ],
|
||||||
|
// "steps": [
|
||||||
|
// "Scripts/update_makefile.sh",
|
||||||
|
// "Scripts/update_danger_version.sh",
|
||||||
|
// "Scripts/update_changelog.sh",
|
||||||
|
// "Scripts/change_is_develop.sh false",
|
||||||
|
// "git_add",
|
||||||
|
// "commit",
|
||||||
|
// "tag",
|
||||||
|
// "push",
|
||||||
|
// "Scripts/change_is_develop.sh true",
|
||||||
|
// "git_add",
|
||||||
|
// ["commit": ["message": "Enable dev depdendencies"]],
|
||||||
|
// "push",
|
||||||
|
// "Scripts/create_homebrew_tap.sh"
|
||||||
|
// ]
|
||||||
|
// ]
|
||||||
|
// ]).write()
|
||||||
|
// #endif
|
||||||
|
|
||||||
|
// let package = Package(
|
||||||
|
// name: "SideStore",
|
||||||
|
// platforms: [
|
||||||
|
// .iOS(.v13),
|
||||||
|
// .tvOS(.v13),
|
||||||
|
// ],
|
||||||
|
// products: [
|
||||||
|
// .library(name: "DangerDeps[SideStore]", type: .dynamic, targets: ["DangerDependencies"]) // dev
|
||||||
|
// ],
|
||||||
|
// dependencies: [
|
||||||
|
// .package(url: "https://github.com/danger/swift.git", from: "3.0.0") // dev
|
||||||
|
// // Danger Plugins
|
||||||
|
// // .package(url: "https://github.com/username/DangerPlugin.git", from: "0.1.0") // dev
|
||||||
|
// ],
|
||||||
|
// targets: [
|
||||||
|
// .target(name: "DangerDependencies", dependencies: ["Danger", "DangerPlugin"]) // dev
|
||||||
|
// // name: "SideStore",
|
||||||
|
// // // dependencies: [
|
||||||
|
// // // .product(name: "RxSwift", package: "RxSwift")
|
||||||
|
// // // ],
|
||||||
|
// // path: "AltStore",
|
||||||
|
// // exclude: ["Info.plist", "*.m"],
|
||||||
|
// // cSettings: cSettings,
|
||||||
|
// // cxxSettings: cxxSettings),
|
||||||
|
|
||||||
|
// // .target(
|
||||||
|
// // name: "PVLibrary-ObjC",
|
||||||
|
// // // dependencies: [
|
||||||
|
// // // .product(name: "RxSwift", package: "RxSwift")
|
||||||
|
// // // ],
|
||||||
|
// // path: "PVLibrary",
|
||||||
|
// // exclude: ["Info.plist", "*.swift"],
|
||||||
|
// // cSettings: cSettings,
|
||||||
|
// // cxxSettings: cxxSettings),
|
||||||
|
// ]
|
||||||
|
// )
|
||||||
16
README.md
16
README.md
@@ -35,21 +35,9 @@ SideStore is a just regular, sandboxed iOS application. The AltStore app target
|
|||||||
|
|
||||||
We're hoping to eventually eliminate our dependency on it, as it increases the amount of unnecessary Objective-C in the project.
|
We're hoping to eventually eliminate our dependency on it, as it increases the amount of unnecessary Objective-C in the project.
|
||||||
|
|
||||||
## Compilation Instructions
|
## Contributing/Compilation Instructions
|
||||||
SideStore is fairly straightforward to compile and run if you're already an iOS or macOS developer. Here are some basic instructions to get you started:
|
|
||||||
|
|
||||||
1. Clone the repository
|
Please see [CONTRIBUTING.md](./CONTRIBUTING.md)
|
||||||
```
|
|
||||||
git clone https://github.com/SideStore/SideStore.git --recurse-submodules
|
|
||||||
```
|
|
||||||
2. After installing Rustup, run `rustup target add aarch64-apple-ios`
|
|
||||||
12. Within the Dependencies/em_proxy and Dependencies/minimuxer directories, run `cargo build --release --target aarch64-apple-ios`
|
|
||||||
2. Open `AltStore.xcodeproj` and select the AltStore project in the project navigator. On the `Signing & Capabilities` tab, change the team from to your own account.
|
|
||||||
3. **(Development only)** Change the value for `ALTDeviceID` in the Info.plist to your device's UDID. Normally, SideServer embeds the device's UDID in SideStore's Info.plist during installation. When running through Xcode you'll need to set the value yourself or else SideStore won't resign (or even install) apps for the proper device. You can achieve this by changing a few things to be able to build and use SideStore.
|
|
||||||
5. Copy `CodeSigning.xcconfig.sample` to `CodeSigning.xcconfig`
|
|
||||||
6. Fill out all of the properties in `CodeSigning.xcconfig` to match your account.
|
|
||||||
7. In `Shared/Extensions/Bundle+AltStore.swift`, replace "group.com.rileytestut.AltStore" with your own App Group ID.
|
|
||||||
8. Build + run app! 🎉
|
|
||||||
|
|
||||||
## Licensing
|
## Licensing
|
||||||
|
|
||||||
|
|||||||
@@ -1,76 +0,0 @@
|
|||||||
// Jackson Coxson
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
#include <stdbool.h>
|
|
||||||
#include <stddef.h>
|
|
||||||
#include <stdint.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Mount iOS's developer DMG
|
|
||||||
* # Safety
|
|
||||||
* Don't be stupid
|
|
||||||
*/
|
|
||||||
void minimuxer_auto_mount(char *docs_path);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Starts the muxer and heartbeat client
|
|
||||||
* # Arguments
|
|
||||||
* Pairing file as a list of chars and the length
|
|
||||||
* # Safety
|
|
||||||
* Don't be stupid
|
|
||||||
*/
|
|
||||||
int minimuxer_c_start(char *pairing_file, char *log_path);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Debugs an app from an app ID
|
|
||||||
* # Safety
|
|
||||||
* Don't be stupid
|
|
||||||
*/
|
|
||||||
int minimuxer_debug_app(char *app_id);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Installs an ipa with a bundle ID
|
|
||||||
* Expects the ipa to be in the afc jail from yeet_app_afc
|
|
||||||
* # Safety
|
|
||||||
* Don't be stupid
|
|
||||||
*/
|
|
||||||
int minimuxer_install_ipa(char *bundle_id);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Installs a provisioning profile on the device
|
|
||||||
* # Arguments
|
|
||||||
* Pass a pointer to a plist
|
|
||||||
* # Returns
|
|
||||||
* 0 on success
|
|
||||||
* # Safety
|
|
||||||
* Don't be stupid
|
|
||||||
*/
|
|
||||||
int minimuxer_install_provisioning_profile(uint8_t *pointer, unsigned int len);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Removes an app from the device
|
|
||||||
* # Safety
|
|
||||||
* Don't be stupid
|
|
||||||
*/
|
|
||||||
int minimuxer_remove_app(char *bundle_id);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Removes a provisioning profile
|
|
||||||
* # Safety
|
|
||||||
* Don't be stupid
|
|
||||||
*/
|
|
||||||
int minimuxer_remove_provisioning_profile(char *id);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Yeets an ipa to the afc jail
|
|
||||||
* # Safety
|
|
||||||
* Don't be stupid
|
|
||||||
*/
|
|
||||||
int minimuxer_yeet_app_afc(char *bundle_id, uint8_t *bytes_ptr, unsigned long bytes_len);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Sets the current environment variable for libusbmuxd to localhost
|
|
||||||
*/
|
|
||||||
void target_minimuxer_address(void);
|
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"identifier": "dev.crystall1ne.repos.PojavLauncher",
|
"identifier": "dev.crystall1ne.repos.PojavLauncher",
|
||||||
"sourceURL": "https://alt.crystall1ne.software/"
|
"sourceURL": "https://alt.crystall1ne.dev"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"identifier": "eu.pokemmo.altstore",
|
"identifier": "eu.pokemmo.altstore",
|
||||||
|
|||||||
Reference in New Issue
Block a user