Skip to content

Commit

Permalink
build: rename sign to package scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
osy committed Dec 26, 2020
1 parent 2e8b7bd commit 9eb03e1
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ jobs:
- name: Fakesign IPA
run: |
find UTM-ios-arm64/UTM.xcarchive -type f \( -path '*/UTM.app/UTM' -or -path '*/UTM.app/Frameworks/*.dylib' \) -exec chmod +x \{\} \;
./scripts/resign.sh ipa UTM-ios-arm64/UTM.xcarchive .
./scripts/package.sh ipa UTM-ios-arm64/UTM.xcarchive .
- name: Upload Release Asset
uses: actions/upload-release-asset@v1.0.1
env:
Expand Down Expand Up @@ -173,7 +173,7 @@ jobs:
- name: Fixup Permissions
run: find UTM-macos-universal/UTM.xcarchive -type f \( -path '*/Contents/MacOS/*' -or -path '*/Frameworks/*.dylib' \) -exec chmod +x \{\} \;
- name: Package for Release
run: ./scripts/resign_mac.sh --no-sandbox UTM-macos-universal/UTM.xcarchive . "$SIGNING_TEAM_ID"
run: ./scripts/package_mac.sh --no-sandbox UTM-macos-universal/UTM.xcarchive . "$SIGNING_TEAM_ID"
env:
SIGNING_TEAM_ID: ${{ secrets.SIGNING_TEAM_ID }}
- name: Notarize app
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ In more technical detail, there are two kinds of signing certificates: "developm
If you want to sign an `xcarchive` such as from a [Github Actions][1] built artifact, you can use the following command:

```
./scripts/resign.sh UTM.xcarchive outputPath PROFILE_NAME TEAM_ID
./scripts/package.sh signedipa UTM.xcarchive outputPath PROFILE_NAME TEAM_ID
```

Where `PROFILE_NAME` is the name of the provisioning profile and `TEAM_ID` is the identifier next to the team name in the provisioning profile. Make sure the signing key is imported into your keychain and the provision profile is installed on your iOS device.

If you have a jailbroken device, you can also fake-sign it (with `ldid` installed):

```
./scripts/resign.sh UTM.xcarchive outputPath
./scripts/package.sh ipa UTM.xcarchive outputPath
```

## Why isn't this in the AppStore?
Expand Down
4 changes: 2 additions & 2 deletions README.zh-Hans.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ UTM是一个功能齐全的iOS虚拟机。简而言之,它允许你在iPhone
如果你想要给一个` xcarchive `签名,例如从[Github Actions][1]中编译Build,你可以使用以下命令:

```
./scripts/resign.sh UTM.xcarchive outputPath PROFILE_NAME TEAM_ID
./scripts/package.sh signedipa UTM.xcarchive outputPath PROFILE_NAME TEAM_ID
```

其中`PROFILE_NAME`是配置文件的名称,而`TEAM_ID`是配置文件中团队名称旁边的标识符。确保签名密钥已被导入到您的密钥链中,并且配置文件已安装在您的iOS设备上。

如果你有一个越狱的设备,你也可以伪造签名(安装了“ldid”插件):

```
./scripts/resign.sh UTM.xcarchive outputPath
./scripts/package.sh ipa UTM.xcarchive outputPath
```
## UTM使用注意事项

Expand Down
4 changes: 2 additions & 2 deletions README.zh-Hant.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ UTM是一個功能齊全的iOS虛擬機主機。簡而言之,它允許你在iP
如果你想要簽署一個xcarchive,例如從[Github Actions][1]中編譯構建,你可以使用以下命令:

```
./scripts/resign.sh UTM.xcarchive outputPath PROFILE_NAME TEAM_ID
./scripts/package.sh signedipa UTM.xcarchive outputPath PROFILE_NAME TEAM_ID
```

其中`PROFILE_NAME`是配置配置文件的名稱,而`TEAM_ID`是配置配置文件中團隊名稱旁邊的標識符。確保簽名密鑰被導入到您的密鑰鏈中,並且條款配置文件已安裝在您的iOS設備上。

如果你有一個越獄的設備,你也可以偽造簽名(安裝了「ldid」):

```
./scripts/resign.sh UTM.xcarchive outputPath
./scripts/package.sh ipa UTM.xcarchive outputPath
```
## UTM使用注意事項

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 9eb03e1

Please sign in to comment.