mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-21 17:56:51 +08:00
iOS: version 1.0, iPhone only, privacy manifests (#2052)
* iOS: add privacy manifests for the app and keyboard extension Neither HEX.app nor HEXKeyboard.appex shipped a PrivacyInfo.xcprivacy, which App Store submission needs for required-reason APIs. Both now declare no tracking, no tracking domains, no collected data, and the APIs Hex's own code uses: UserDefaults (CA92.1 app-only, 1C8F.1 App Group), file timestamps (C617.1, typing journal and typing log files in the App Group), system boot time (35F9.1, CACurrentMediaTime for elapsed time), and active keyboards (3EC4.1 custom keyboard, 54BD.1 layout choice via UITextInputMode.activeInputModes). Verified: plutil -lint passes; xcodegen picks both up as resources and a Debug simulator build places them at HEX.app/PrivacyInfo.xcprivacy and HEX.app/PlugIns/HEXKeyboard.appex/PrivacyInfo.xcprivacy. * iOS: version 1.0 for the App Store, iPhone only Ryan's App Store calls: the first release is 1.0 (the 0.2.0 TestFlight line; App Store Connect's version must equal CFBundleShortVersionString), and Hex Mobile is iPhone only for now. MARKETING_VERSION 0.2.0 -> 1.0 and TARGETED_DEVICE_FAMILY 1 for the app, keyboard and widgets; README notes both. Verified a Release generic-iOS build: Info.plists read 1.0 and UIDeviceFamily [1], with both privacy manifests bundled.
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>NSPrivacyTracking</key>
|
||||
<false/>
|
||||
<key>NSPrivacyTrackingDomains</key>
|
||||
<array/>
|
||||
<key>NSPrivacyCollectedDataTypes</key>
|
||||
<array/>
|
||||
<key>NSPrivacyAccessedAPITypes</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>NSPrivacyAccessedAPIType</key>
|
||||
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
|
||||
<key>NSPrivacyAccessedAPITypeReasons</key>
|
||||
<array>
|
||||
<string>CA92.1</string>
|
||||
<string>1C8F.1</string>
|
||||
</array>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>NSPrivacyAccessedAPIType</key>
|
||||
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
|
||||
<key>NSPrivacyAccessedAPITypeReasons</key>
|
||||
<array>
|
||||
<string>C617.1</string>
|
||||
</array>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>NSPrivacyAccessedAPIType</key>
|
||||
<string>NSPrivacyAccessedAPICategorySystemBootTime</string>
|
||||
<key>NSPrivacyAccessedAPITypeReasons</key>
|
||||
<array>
|
||||
<string>35F9.1</string>
|
||||
</array>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>NSPrivacyAccessedAPIType</key>
|
||||
<string>NSPrivacyAccessedAPICategoryActiveKeyboards</string>
|
||||
<key>NSPrivacyAccessedAPITypeReasons</key>
|
||||
<array>
|
||||
<string>3EC4.1</string>
|
||||
<string>54BD.1</string>
|
||||
</array>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>NSPrivacyTracking</key>
|
||||
<false/>
|
||||
<key>NSPrivacyTrackingDomains</key>
|
||||
<array/>
|
||||
<key>NSPrivacyCollectedDataTypes</key>
|
||||
<array/>
|
||||
<key>NSPrivacyAccessedAPITypes</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>NSPrivacyAccessedAPIType</key>
|
||||
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
|
||||
<key>NSPrivacyAccessedAPITypeReasons</key>
|
||||
<array>
|
||||
<string>CA92.1</string>
|
||||
<string>1C8F.1</string>
|
||||
</array>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>NSPrivacyAccessedAPIType</key>
|
||||
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
|
||||
<key>NSPrivacyAccessedAPITypeReasons</key>
|
||||
<array>
|
||||
<string>C617.1</string>
|
||||
</array>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>NSPrivacyAccessedAPIType</key>
|
||||
<string>NSPrivacyAccessedAPICategorySystemBootTime</string>
|
||||
<key>NSPrivacyAccessedAPITypeReasons</key>
|
||||
<array>
|
||||
<string>35F9.1</string>
|
||||
</array>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>NSPrivacyAccessedAPIType</key>
|
||||
<string>NSPrivacyAccessedAPICategoryActiveKeyboards</string>
|
||||
<key>NSPrivacyAccessedAPITypeReasons</key>
|
||||
<array>
|
||||
<string>3EC4.1</string>
|
||||
<string>54BD.1</string>
|
||||
</array>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -494,6 +494,8 @@ uses Anomaly's signing team. The GitHub **Release Hex Mobile** workflow checks
|
||||
`dev` at noon and 6 p.m. Chicago time, or on manual dispatch, and cuts an
|
||||
`ios-beta-*` prerelease when iOS inputs have changed. These tags are separate
|
||||
from desktop releases. The marketing version stays fixed across beta builds.
|
||||
The App Store's first release is 1.0 (`MARKETING_VERSION`), which is the 0.2.0
|
||||
line of TestFlight betas. Hex Mobile is iPhone only (`TARGETED_DEVICE_FAMILY` 1).
|
||||
|
||||
The Xcode Cloud workflow needs a tag start condition with prefix `ios-beta-`,
|
||||
container `ios/HEXMobile.xcodeproj`, shared scheme `HEXMobile`, an iOS Archive
|
||||
|
||||
+7
-4
@@ -66,7 +66,8 @@ targets:
|
||||
CODE_SIGN_ENTITLEMENTS: HEXMobile/HEXMobile.entitlements
|
||||
CURRENT_PROJECT_VERSION: 1
|
||||
GENERATE_INFOPLIST_FILE: NO
|
||||
MARKETING_VERSION: 0.2.0
|
||||
MARKETING_VERSION: "1.0"
|
||||
TARGETED_DEVICE_FAMILY: "1"
|
||||
OTHER_LDFLAGS: $(inherited) -weak_framework FoundationModels
|
||||
OTHER_SWIFT_FLAGS: $(inherited) -Xfrontend -disable-autolink-framework -Xfrontend FoundationModels
|
||||
PRODUCT_BUNDLE_IDENTIFIER: anomaly.hex.mobile
|
||||
@@ -105,7 +106,8 @@ targets:
|
||||
CODE_SIGN_STYLE: Automatic
|
||||
CURRENT_PROJECT_VERSION: 1
|
||||
GENERATE_INFOPLIST_FILE: NO
|
||||
MARKETING_VERSION: 0.2.0
|
||||
MARKETING_VERSION: "1.0"
|
||||
TARGETED_DEVICE_FAMILY: "1"
|
||||
PRODUCT_BUNDLE_IDENTIFIER: anomaly.hex.mobile.keyboard
|
||||
PRODUCT_NAME: HEXKeyboard
|
||||
SKIP_INSTALL: YES
|
||||
@@ -130,7 +132,8 @@ targets:
|
||||
CODE_SIGN_STYLE: Automatic
|
||||
CURRENT_PROJECT_VERSION: 1
|
||||
GENERATE_INFOPLIST_FILE: NO
|
||||
MARKETING_VERSION: 0.2.0
|
||||
MARKETING_VERSION: "1.0"
|
||||
TARGETED_DEVICE_FAMILY: "1"
|
||||
PRODUCT_BUNDLE_IDENTIFIER: anomaly.hex.mobile.widgets
|
||||
PRODUCT_NAME: HEXWidgets
|
||||
SKIP_INSTALL: YES
|
||||
@@ -149,4 +152,4 @@ targets:
|
||||
CODE_SIGN_STYLE: Automatic
|
||||
GENERATE_INFOPLIST_FILE: YES
|
||||
PRODUCT_BUNDLE_IDENTIFIER: anomaly.hex.mobile.tests
|
||||
TEST_HOST: $(BUILT_PRODUCTS_DIR)/HEX.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/HEX
|
||||
TEST_HOST: $(BUILT_PRODUCTS_DIR)/HEX.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/HEX
|
||||
Reference in New Issue
Block a user