Skip to content

AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.

release(ios): ship SwiftUI binary 1.12.6 (31) for App Review

tianma-if0bbfd473579c
diff --git a/.github/workflows/tmp-write-apple-issuer.yml b/.github/workflows/tmp-write-apple-issuer.yml
deleted file mode 100644
index e25cc2a2..00000000
--- a/.github/workflows/tmp-write-apple-issuer.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-name: Write Apple API issuer (local runner)
-on:
- workflow_dispatch:
-jobs:
- write:
- runs-on: [self-hosted, macOS, ARM64, edgeever-mobile]
- steps:
- - name: Write issuer and key id to local config (no log of values)
- env:
- ISSUER: ${{ secrets.EDGEEVER_APPLE_API_ISSUER }}
- KEY_ID: ${{ secrets.EDGEEVER_APPLE_API_KEY_ID }}
- KEY_B64: ${{ secrets.EDGEEVER_APPLE_API_KEY_BASE64 }}
- run: |
- set -euo pipefail
- mkdir -p "$HOME/.config/edgeever/ios"
- umask 077
- test -n "${ISSUER:-}"
- test -n "${KEY_ID:-}"
- test -n "${KEY_B64:-}"
- printf '%s' "$ISSUER" > "$HOME/.config/edgeever/ios/apple-api-issuer"
- printf '%s' "$KEY_ID" > "$HOME/.config/edgeever/ios/apple-api-key-id"
- printf '%s' "$KEY_B64" | base64 -D > "$HOME/.config/edgeever/ios/AuthKey_${KEY_ID}.p8"
- chmod 600 "$HOME/.config/edgeever/ios/apple-api-issuer" \
- "$HOME/.config/edgeever/ios/apple-api-key-id" \
- "$HOME/.config/edgeever/ios/AuthKey_${KEY_ID}.p8"
- echo "ok issuer_bytes=$(wc -c < "$HOME/.config/edgeever/ios/apple-api-issuer") key_id_bytes=$(wc -c < "$HOME/.config/edgeever/ios/apple-api-key-id")"
diff --git a/apps/ios/.gitignore b/apps/ios/.gitignore
new file mode 100644
index 00000000..4b417a02
--- /dev/null
+++ b/apps/ios/.gitignore
@@ -0,0 +1,4 @@
+
+build/
+fastlane/report.xml
+fastlane/README.md
diff --git a/apps/ios/Config/Version.xcconfig b/apps/ios/Config/Version.xcconfig
index 35fa1772..0cdc2187 100644
--- a/apps/ios/Config/Version.xcconfig
+++ b/apps/ios/Config/Version.xcconfig
@@ -2,4 +2,4 @@
// CURRENT_PROJECT_VERSION must increase for every store upload (TestFlight / App Store).
// Build 30+ marks the native SwiftUI client (RN EAS builds ended at 29).
MARKETING_VERSION = 1.12.6
-CURRENT_PROJECT_VERSION = 30
+CURRENT_PROJECT_VERSION = 31
diff --git a/apps/ios/EdgeEver.xcodeproj/project.pbxproj b/apps/ios/EdgeEver.xcodeproj/project.pbxproj
index 0a7d1ec2..2c957a16 100644
--- a/apps/ios/EdgeEver.xcodeproj/project.pbxproj
+++ b/apps/ios/EdgeEver.xcodeproj/project.pbxproj
@@ -516,16 +516,14 @@
LastUpgradeCheck = 1600;
TargetAttributes = {
06BD8BFE81996E1AAAACD634 = {
- DevelopmentTeam = "";
+ DevelopmentTeam = 9KA3NM38B6;
ProvisioningStyle = Automatic;
};
7B4AF236874DD8459683F02B = {
- DevelopmentTeam = "";
- ProvisioningStyle = Automatic;
+ DevelopmentTeam = 9KA3NM38B6;
};
E55B18ED6114D23320B85FA0 = {
- DevelopmentTeam = "";
- ProvisioningStyle = Automatic;
+ DevelopmentTeam = 9KA3NM38B6;
};
};
};
@@ -665,11 +663,15 @@
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_ENTITLEMENTS = ShareExtension/ShareExtension.entitlements;
+ CODE_SIGN_IDENTITY = "Apple Distribution";
+ CODE_SIGN_STYLE = Manual;
+ DEVELOPMENT_TEAM = 9KA3NM38B6;
GENERATE_INFOPLIST_FILE = NO;
INFOPLIST_FILE = ShareExtension/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
- PRODUCT_BUNDLE_IDENTIFIER = "org.edgeever.mobile.share-extension";
+ PRODUCT_BUNDLE_IDENTIFIER = "org.edgeever.mobile.expo-sharing-extension";
PRODUCT_NAME = ShareExtension;
+ PROVISIONING_PROFILE_SPECIFIER = "*[expo] org.edgeever.mobile.expo-sharing-extension AppStore 2026-08-01T04:09:04.014Z";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2";
@@ -712,8 +714,8 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
- CURRENT_PROJECT_VERSION = 1;
- DEVELOPMENT_TEAM = "";
+ CURRENT_PROJECT_VERSION = 31;
+ DEVELOPMENT_TEAM = 9KA3NM38B6;
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
@@ -725,7 +727,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 17.0;
- MARKETING_VERSION = 1.0.0;
+ MARKETING_VERSION = 1.12.6;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -742,7 +744,9 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = EdgeEver/Resources/EdgeEver.entitlements;
- CODE_SIGN_IDENTITY = "iPhone Developer";
+ CODE_SIGN_IDENTITY = "Apple Distribution";
+ CODE_SIGN_STYLE = Manual;
+ DEVELOPMENT_TEAM = 9KA3NM38B6;
ENABLE_TESTABILITY = YES;
GENERATE_INFOPLIST_FILE = NO;
INFOPLIST_FILE = EdgeEver/Resources/Info.plist;
@@ -752,6 +756,7 @@
);
PRODUCT_BUNDLE_IDENTIFIER = org.edgeever.mobile;
PRODUCT_NAME = EdgeEver;
+ PROVISIONING_PROFILE_SPECIFIER = "*[expo] org.edgeever.mobile AppStore 2026-08-01T04:08:38.265Z";
SDKROOT = iphoneos;
SWIFT_STRICT_CONCURRENCY = complete;
TARGETED_DEVICE_FAMILY = "1,2";
@@ -794,8 +799,8 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
- CURRENT_PROJECT_VERSION = 1;
- DEVELOPMENT_TEAM = "";
+ CURRENT_PROJECT_VERSION = 31;
+ DEVELOPMENT_TEAM = 9KA3NM38B6;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
@@ -813,7 +818,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 17.0;
- MARKETING_VERSION = 1.0.0;
+ MARKETING_VERSION = 1.12.6;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
@@ -829,10 +834,11 @@
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_ENTITLEMENTS = ShareExtension/ShareExtension.entitlements;
+ DEVELOPMENT_TEAM = 9KA3NM38B6;
GENERATE_INFOPLIST_FILE = NO;
INFOPLIST_FILE = ShareExtension/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
- PRODUCT_BUNDLE_IDENTIFIER = "org.edgeever.mobile.share-extension";
+ PRODUCT_BUNDLE_IDENTIFIER = "org.edgeever.mobile.expo-sharing-extension";
PRODUCT_NAME = ShareExtension;
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
@@ -881,6 +887,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = EdgeEver/Resources/EdgeEver.entitlements;
CODE_SIGN_IDENTITY = "iPhone Developer";
+ DEVELOPMENT_TEAM = 9KA3NM38B6;
ENABLE_TESTABILITY = YES;
GENERATE_INFOPLIST_FILE = NO;
INFOPLIST_FILE = EdgeEver/Resources/Info.plist;
diff --git a/apps/ios/README.md b/apps/ios/README.md
index bbfd0508..a6702885 100644
--- a/apps/ios/README.md
+++ b/apps/ios/README.md
@@ -19,7 +19,7 @@ UI/interaction is aligned with the Android RN app (`apps/mobile`):
- Share Extension (text/URL → App Group → new draft)
- Locale (system/zh/en) + theme + list density
-Android remains Expo / React Native in `apps/mobile`. Do not retire EAS iOS builds until a shippable TestFlight build exists.
+Android remains Expo / React Native in `apps/mobile`. Store builds for iOS use this native tree (`Scripts/archive-app-store.sh`), not EAS.
## Motion / animations
@@ -80,6 +80,26 @@ xcrun simctl launch booted org.edgeever.mobile \
| `MARKETING_VERSION` | `Config/Version.xcconfig` | Align with monorepo release `X.Y.Z` on store submissions |
| `CURRENT_PROJECT_VERSION` | `Config/Version.xcconfig` | Monotonic build number for every TestFlight / App Store upload |
+## App Store archive
+
+Use the stable Xcode app (not beta) so App Store Connect accepts the SDK:
+
+```sh
+cd apps/ios
+DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer bash Scripts/archive-app-store.sh
+```
+
+The script builds the TipTap EditorBundle, regenerates the Xcode project, archives with the App Store distribution profiles, and exports `build/export/EdgeEver.ipa`. Upload with `xcrun altool` / Transporter, then submit the exact build with:
+
+```sh
+cd apps/ios
+APP_STORE_VERSION=X.Y.Z APP_STORE_BUILD_NUMBER=N \
+APP_STORE_CONNECT_API_KEY_ID=... \
+APP_STORE_CONNECT_API_ISSUER_ID=... \
+APP_STORE_CONNECT_API_KEY_P8_BASE64=... \
+fastlane ios submit_review
+```
+
## Regenerating the Xcode project
Edit `project.yml`, then:
diff --git a/apps/ios/Scripts/archive-app-store.sh b/apps/ios/Scripts/archive-app-store.sh
index 6ecac60a..8d01e40f 100755
--- a/apps/ios/Scripts/archive-app-store.sh
+++ b/apps/ios/Scripts/archive-app-store.sh
@@ -8,6 +8,14 @@ ARCHIVE_PATH="${EDGE_EVER_IOS_ARCHIVE:-$DERIVED/EdgeEver.xcarchive}"
EXPORT_PATH="${EDGE_EVER_IOS_EXPORT:-$DERIVED/export}"
EXPORT_OPTIONS="${EDGE_EVER_IOS_EXPORT_OPTIONS:-$ROOT/ExportOptions.plist}"
+# Prefer stable Xcode for App Store (beta SDKs are rejected by App Store Connect).
+if [[ -z "${DEVELOPER_DIR:-}" ]]; then
+ if [[ -d /Applications/Xcode.app/Contents/Developer ]]; then
+ export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
+ fi
+fi
+echo "Using $(xcodebuild -version | tr '\n' ' ')"
+
cd "$ROOT"
if [[ "${EDGE_EVER_IOS_SKIP_EDITOR_BUILD:-0}" != "1" ]]; then
diff --git a/apps/ios/fastlane/Fastfile b/apps/ios/fastlane/Fastfile
index 91316605..93075103 100644
--- a/apps/ios/fastlane/Fastfile
+++ b/apps/ios/fastlane/Fastfile
@@ -27,7 +27,9 @@ platform :ios do
force: true,
skip_binary_upload: true,
skip_metadata: true,
- skip_screenshots: true
+ skip_screenshots: true,
+ run_precheck_before_submit: false,
+ precheck_include_in_app_purchases: false
)
end
end
diff --git a/apps/ios/project.yml b/apps/ios/project.yml
index 58572e90..93fe9d91 100644
--- a/apps/ios/project.yml
+++ b/apps/ios/project.yml
@@ -20,7 +20,7 @@ settings:
TARGETED_DEVICE_FAMILY: "1"
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD: false
IPHONEOS_DEPLOYMENT_TARGET: "17.0"
- CURRENT_PROJECT_VERSION: 30
+ CURRENT_PROJECT_VERSION: 31
MARKETING_VERSION: 1.12.6
# Team enables Automatic signing for local Debug/simulator; App Store
# archives override to Manual + distribution profiles in archive-app-store.sh.