Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions App/SettingsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ struct SettingsView: View {
}
.font(.subheadline)
Section("About") {
Link("Privacy Policy", destination: Self.privacyPolicyURL)
.accessibilityIdentifier("privacyPolicyLink")
Link("Support", destination: Self.supportURL)
.accessibilityIdentifier("supportLink")
NavigationLink("Open source licenses") {
ScrollView {
Text(Self.thirdPartyNotices)
Expand Down Expand Up @@ -142,6 +146,13 @@ struct SettingsView: View {
}
}

private static let privacyPolicyURL = URL(
string: "https://github.com/m96-chan/iOSSH/blob/main/docs/PRIVACY.md"
)!
private static let supportURL = URL(
string: "https://github.com/m96-chan/iOSSH/blob/main/docs/SUPPORT.md"
)!

private static let thirdPartyNotices: String = {
guard let url = Bundle.main.url(forResource: "ThirdPartyNotices", withExtension: "txt"),
let text = try? String(contentsOf: url, encoding: .utf8) else {
Expand Down
7 changes: 7 additions & 0 deletions UITests/iOSSHUITests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,13 @@ final class iOSSHUITests: XCTestCase {
app.launch()
app.buttons["Settings"].tap()
XCTAssertTrue(app.staticTexts["Terminal font preview"].waitForExistence(timeout: 5))
let privacyPolicyLink = app.descendants(matching: .any)["privacyPolicyLink"]
for _ in 0..<4 {
if privacyPolicyLink.exists { break }
app.swipeUp()
}
XCTAssertTrue(privacyPolicyLink.waitForExistence(timeout: 5))
XCTAssertTrue(app.descendants(matching: .any)["supportLink"].waitForExistence(timeout: 5))
app.buttons["Done"].tap()
app.buttons["addFirstHost"].tap()
app.textFields["hostName"].tap()
Expand Down
5 changes: 2 additions & 3 deletions docs/APP_STORE.jp.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[English](APP_STORE.md) | 日本語

実装済みの機能に基づく原稿です。App Store Connectには未提出です。個人のApple Developer契約とBundle ID `io.github.m96-chan.iossh` で公開を準備します。
実装済みの機能に基づく原稿です。ビルドはApp Store Connectへアップロード済みですが、審査には未提出です。個人のApple Developer契約とBundle ID `io.github.m96-chan.iossh` で公開を準備します。

旧 `moe.technologies.iossh` の開発ビルドとは別アプリとしてインストールされます。保存済みホスト、資格情報、設定、追加フォントは自動移行されません。端末一覧を取得する前に、新アプリから書き出した **Import Tailscale Hosts** で旧ショートカットを置き換えてください。[移行手順](../shortcuts/README.md#updating-from-the-previous-app-identifier)も参照してください。

Expand Down Expand Up @@ -36,9 +36,8 @@ Tailscaleは任意の機能です。通常のSSHはTailscaleなしで確認で

## 公開までに必要な情報・確認

- 新しいBundle IDの配布用チームへの登録を確認し、App Store Connectのアプリ情報を作成して、署名付きアーカイブを検証する。
- ストア名の空き状況、主言語、価格、配信国を確定する。
- 実際の問い合わせ先を含めて[プライバシーポリシー案](PRIVACY.jp.md)と[サポートページ案](SUPPORT.jp.md)を確定・公開する。App Store ConnectへのURL登録とともに、アプリ内からも開けるリンクを設ける。
- 公開済みの[プライバシーポリシー](PRIVACY.jp.md)と[サポートページ](SUPPORT.jp.md)のURLをApp Store Connectへ登録し、アプリ内の **About** にある同じリンクを確認する。
- 配布する実装に基づき、App Privacy、年齢区分、暗号化・輸出コンプライアンスの回答を確定する。SSHは依存ライブラリを通じて暗号処理を使うため、`ITSAppUsesNonExemptEncryption` を推測で自動設定していない。
- **Settings → Open source licenses**で同梱ソフトウェアの表記と、別に用意したフォントのライセンスを確認する。ソフトウェアの表記は生成物であり、`scripts/generate_third_party_notices.py --check` が、アプリが実際にリンクしている依存関係との食い違いを検出して失敗する。`Package.resolved` に現れないまま全ビルドに含まれる libghostty-vt もこの対象に含めている。
- 最終ビルドのiPhone・iPadで、私用サーバーの情報を含めず、テスト用接続先によるストア向けスクリーンショットを撮影する。[開発ノート](DEVELOPMENT.jp.md)の実機確認を完了する。
Expand Down
15 changes: 7 additions & 8 deletions docs/APP_STORE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

English | [日本語](APP_STORE.jp.md)

These fields describe the implemented app. They have not been submitted to App
Store Connect. The release uses the individual Apple Developer membership and
bundle identifier `io.github.m96-chan.iossh`.
These fields describe the implemented app. A build has been uploaded to App
Store Connect but has not been submitted for review. The release uses the
individual Apple Developer membership and bundle identifier
`io.github.m96-chan.iossh`.

This installs separately from previous `moe.technologies.iossh` development
builds. Saved hosts, credentials, settings, and imported fonts do not migrate
Expand Down Expand Up @@ -60,12 +61,10 @@ before registration.

## Remaining release inputs

- Verify the new bundle ID with the distribution team, then create the
App Store Connect app record and validate the signed archive.
- Confirm the store name's availability, primary language, price, and countries.
- Finalize and publish the [privacy policy draft](PRIVACY.md), including a real
contact method, and the [support page draft](SUPPORT.md). Add accessible links
inside the app as well as the public URLs in App Store Connect.
- Register the public [privacy policy](PRIVACY.md) and [support page](SUPPORT.md)
URLs in App Store Connect, and verify the matching links in the app's
**About** section.
- Complete App Privacy, the age rating, and encryption/export compliance answers
based on the shipped app. SSH uses cryptography through its dependencies;
`ITSAppUsesNonExemptEncryption` has not been guessed or set automatically.
Expand Down
2 changes: 1 addition & 1 deletion docs/DEVELOPMENT.jp.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ swift test --package-path Packages/SSHCore --filter SSHIntegrationTests

Bundle IDとShortcutsのコールバックURLスキームは `io.github.m96-chan.iossh` を使う。共有プロジェクトの `DEVELOPMENT_TEAM` は空のままにし、ビルド時にチームを指定する。旧 `moe.technologies.iossh` とは別アプリとして共存し、保存済みホスト、Keychainの資格情報、設定、信頼済みホスト鍵、追加フォントは自動移行されない。新アプリから書き出したファイルで旧 **Import Tailscale Hosts** ショートカットを同名のまま置き換え、新アプリから端末一覧を取得する。[ショートカットの移行手順](../shortcuts/README.md#updating-from-the-previous-app-identifier)を参照。

[ストア掲載文と審査メモ](APP_STORE.jp.md)、[サポート](SUPPORT.jp.md)、[プライバシーポリシー](PRIVACY.jp.md)は、公開に必要な残りの情報を確定するまで草案とする。アプリのプライバシーマニフェストは、アプリ内設定用のUserDefaultsへのアクセスを理由 `CA92.1` で申告している。
[ストア掲載文と審査メモ](APP_STORE.jp.md)で、App Store Connectに必要な残りの入力を管理する。公開用の[サポートページ](SUPPORT.jp.md)と[プライバシーポリシー](PRIVACY.jp.md)は、アプリ内の **About** からリンクする。アプリのプライバシーマニフェストは、アプリ内設定用のUserDefaultsへのアクセスを理由 `CA92.1` で申告している。

ソフトウェアのライセンス本文は `App/Resources/ThirdPartyNotices.txt` に同梱し、**Settings → Open source licenses**から閲覧できる。依存更新時はリンク対象を確認し、Xcodeが解決したチェックアウトから再生成する。

Expand Down
9 changes: 5 additions & 4 deletions docs/DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,11 @@ Replace the old **Import Tailscale Hosts** shortcut with the file exported from
the new app, keeping its name, then fetch devices from the new app. See the
[shortcut migration steps](../shortcuts/README.md#updating-from-the-previous-app-identifier).

[Store listing and review notes](APP_STORE.md), [support](SUPPORT.md), and
[privacy policy](PRIVACY.md) are drafts until their remaining release inputs are
filled. The app's privacy manifest declares its app-local UserDefaults access
with reason `CA92.1`.
[Store listing and review notes](APP_STORE.md) track the remaining App Store
Connect inputs. The public [support page](SUPPORT.md) and
[privacy policy](PRIVACY.md) are linked from the app's **About** section. The
app's privacy manifest declares its app-local UserDefaults access with reason
`CA92.1`.

Software license text is bundled as `App/Resources/ThirdPartyNotices.txt` and
available under **Settings → Open source licenses**. After changing dependencies,
Expand Down
2 changes: 0 additions & 2 deletions docs/PRIVACY.jp.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

最終更新日:2026年9月13日

> リリース確認用の草案です。公開前に、本ポリシーの公開 URL を確定する必要があります。URL はまだ提供されていません。

## iOSSH について

iOSSH は iPhone・iPad 用の SSH ターミナルアプリです。iOSSH 独自のアカウント登録は不要です。保存したホスト、SSH の資格情報、ターミナルの内容を開発者へアップロードするサービスは組み込まれていません。利用者が選んだサーバーへ接続し、各機能を利用する際には、以下のシステム機能や第三者サービスを使用します。
Expand Down
2 changes: 0 additions & 2 deletions docs/PRIVACY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

Last updated: September 13, 2026

> Release-review draft. Before publication, the developer must set the public URL for this policy. The URL has not yet been provided.

## About iOSSH

iOSSH is an SSH terminal app for iPhone and iPad. It does not require an iOSSH account. There is no built-in service that uploads your saved hosts, SSH credentials, or terminal contents to the developer. The app connects to servers you choose and uses the system and third-party services described below when you use those features.
Expand Down
2 changes: 0 additions & 2 deletions docs/SUPPORT.jp.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

[English](SUPPORT.md) | 日本語

> 公開用の草案です。App StoreのサポートURLとして使用する前に、このページの公開URLを確定してください。URLはまだ提供されていません。

iOSSHはiPhone・iPad向けのSSHターミナルです。

## お問い合わせ
Expand Down
3 changes: 0 additions & 3 deletions docs/SUPPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

English | [日本語](SUPPORT.jp.md)

> Publication draft. Set this page's public URL before using it as the App Store
> Support URL. The URL has not yet been provided.

iOSSH is an SSH terminal for iPhone and iPad.

## Contact
Expand Down
8 changes: 4 additions & 4 deletions iOSSH.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -525,15 +525,15 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "iPhone Developer";
CURRENT_PROJECT_VERSION = 13;
CURRENT_PROJECT_VERSION = 14;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = x86_64;
GENERATE_INFOPLIST_FILE = NO;
INFOPLIST_FILE = App/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 0.1.0;
MARKETING_VERSION = 0.1.1;
PRODUCT_BUNDLE_IDENTIFIER = "io.github.m96-chan.iossh";
PRODUCT_NAME = iOSSH;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -580,15 +580,15 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "iPhone Developer";
CURRENT_PROJECT_VERSION = 13;
CURRENT_PROJECT_VERSION = 14;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = x86_64;
GENERATE_INFOPLIST_FILE = NO;
INFOPLIST_FILE = App/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 0.1.0;
MARKETING_VERSION = 0.1.1;
PRODUCT_BUNDLE_IDENTIFIER = "io.github.m96-chan.iossh";
PRODUCT_NAME = iOSSH;
SDKROOT = iphoneos;
Expand Down
4 changes: 2 additions & 2 deletions project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ targets:
# x86_64. Nothing that runs this is an Intel Mac; asking for that slice only fails the
# link. Drop it rather than building a second copy of the library for nobody.
EXCLUDED_ARCHS[sdk=iphonesimulator*]: x86_64
MARKETING_VERSION: 0.1.0
CURRENT_PROJECT_VERSION: 13
MARKETING_VERSION: 0.1.1
CURRENT_PROJECT_VERSION: 14
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
TARGETED_DEVICE_FAMILY: "1,2"
GENERATE_INFOPLIST_FILE: false
Expand Down