Skip to content

Commit b58bffd

Browse files
committed
Add iOS jailbreak release
1 parent cf60f76 commit b58bffd

4 files changed

Lines changed: 22 additions & 13 deletions

File tree

Makefile

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -115,18 +115,17 @@ upload_ios_app_store:
115115
cd ../sing-box-for-apple && \
116116
xcodebuild -exportArchive -archivePath build/SFI.xcarchive -exportOptionsPlist SFI/Upload.plist -allowProvisioningUpdates
117117

118-
export_ios_ipa:
119-
cd ../sing-box-for-apple && \
120-
xcodebuild -exportArchive -archivePath build/SFI.xcarchive -exportOptionsPlist SFI/Export.plist -allowProvisioningUpdates -exportPath build/SFI && \
121-
cp build/SFI/sing-box.ipa dist/SFI.ipa
118+
build_ios_deb:
119+
$(MAKE) -C ../sing-box-for-apple build_ios_deb
122120

123-
upload_ios_ipa:
121+
upload_ios_deb:
124122
cd dist && \
125-
cp SFI.ipa "SFI-${VERSION}.ipa" && \
126-
ghr --replace --draft --prerelease "v${VERSION}" "SFI-${VERSION}.ipa"
123+
ghr --replace --draft --prerelease "v${VERSION}" ../sing-box-for-apple/build/jailbreak/"SFI-${VERSION}-iphoneos-arm64.deb"
127124

128125
release_ios: build_ios upload_ios_app_store
129126

127+
release_ios_deb: build_ios_deb upload_ios_deb
128+
130129
build_macos:
131130
cd ../sing-box-for-apple && \
132131
rm -rf build/SFM.xcarchive && \

docs/clients/apple/index.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ platform-specific function implementation, such as TUN transparent proxy impleme
99

1010
!!! failure ""
1111

12-
Due to non-technical reasons, we are temporarily unable to update the sing-box app on the App Store and release the standalone version of the macOS client (TestFlight users are not affected)
12+
We are temporarily unable to update sing-box apps on the App Store because the reviewer mistakenly found that we violated the rules (TestFlight users are not affected).
1313

1414
## :material-graph: Requirements
1515

@@ -26,15 +26,23 @@ TestFlight quota is only available to [sponsors](https://github.com/sponsors/nek
2626
Once you donate, you can get an invitation by join our Telegram group for sponsors from [@yet_another_sponsor_bot](https://t.me/yet_another_sponsor_bot)
2727
or sending us your Apple ID [via email](mailto:contact@sagernet.org).
2828

29-
## ~~:material-file-download: Download (macOS standalone version)~~
29+
## :material-cellphone-arrow-down: Download (iOS jailbreak version)
3030

31-
* ~~[Homebrew Cask](https://formulae.brew.sh/cask/sfm)~~
31+
* [GitHub Releases](https://github.com/SagerNet/sing-box/releases) (`SFI-iphoneos-arm64.deb`)
32+
33+
The jailbroken version of SFI: requires rootless iOS 15.0+
34+
35+
Additional features: It can run a [Tailscale SSH server](/configuration/endpoint/tailscale/#ssh_server) on the device.
36+
37+
## :material-file-download: Download (macOS standalone version)
38+
39+
* [Homebrew Cask](https://formulae.brew.sh/cask/sfm)
3240

3341
```bash
3442
# brew install sfm
3543
```
3644

37-
* ~~[GitHub Releases](https://github.com/SagerNet/sing-box/releases)~~
45+
* [GitHub Releases](https://github.com/SagerNet/sing-box/releases)
3846

3947
## :material-source-repository: Source code
4048

docs/configuration/endpoint/tailscale.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,8 @@ Access is controlled by the SSH ACL in the Tailscale admin console, which maps e
169169
- **Windows**: sessions run as the sing-box process identity; the mapped user is not impersonated, so a session mapped to a different local account is refused.
170170
- **Android**: the user is resolved by the app rather than the system user database. `root` is the superuser (UID 0) and `shell` is the ADB shell user (UID 2000); every other name is resolved as the package name of an installed application, running as that application's UID with its data directory as the home directory, so the target application must be installed. `termux` is a shortcut for `com.termux`, and `sing-box` for the app's own package name; when Termux is installed, the `root` and `termux` users load the Termux environment. Running as the sing-box application itself requires no root, while any other user requires granted root access; without root, sessions are limited to the sing-box user.
171171
- **macOS**: the SSH server is only available in the standalone version and requires the Root Helper; the App Store version is not supported.
172-
- **iOS** and **tvOS**: not yet supported.
172+
- **iOS**: the SSH server is only available in the jailbreak build; the App Store and TestFlight versions are not supported.
173+
- **tvOS**: not yet supported.
173174

174175
Object format:
175176

docs/configuration/endpoint/tailscale.zh.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@ UDP NAT 过期时间。
168168
- **Windows**:会话以 sing-box 进程的身份运行;映射的用户不会被模拟,因此映射到其他本地账户的会话将被拒绝。
169169
- **Android**:用户由应用解析,而非系统用户数据库。`root` 即超级用户(UID 0),`shell` 为 ADB shell 用户(UID 2000);其他名称均作为已安装应用的包名解析,以该应用的 UID 运行,并使用其数据目录作为主目录,因此目标应用必须已安装。`termux``com.termux` 的快捷方式,`sing-box` 是应用自身包名的快捷方式;当 Termux 已安装时,`root``termux` 用户将加载 Termux 环境。以 sing-box 应用自身身份运行无需 root,其他用户则需要已授予的 root 权限;非 root 时,会话仅限于 sing-box 用户。
170170
- **macOS**:SSH 服务器仅在独立版本中可用,且需要 Root Helper;App Store 版本不支持。
171-
- **iOS****tvOS**:暂不支持。
171+
- **iOS**:SSH 服务器仅在越狱版本中可用;App Store 和 TestFlight 版本不支持。
172+
- **tvOS**:暂不支持。
172173

173174
对象格式:
174175

0 commit comments

Comments
 (0)