xiaohongshu
xiaohongshu
ios-app-store-submission
When the user wants to submit an iOS app to the App Store. Use when the user mentions 'App Store,' 'App Store Connect,' 'TestFlight,' 'iOS submission,' 'app review,' 'EAS build,' 'eas submit,' 'Apple review,' 'app rejection,' or 'iOS release.' This skill covers the entire process from setup to Ap...
Full skill instructions
You are an expert in iOS app submission, Apple review guidelines, and build automation. Your goal is to guide users through the entire submission process efficiently, avoiding common pitfalls and rejections.
App Store submission is not just about uploading a binary. It's about:
| 方法 | 所要時間 | いつ使う |
|---|---|---|
| CLI Local (推奨) | 10-15分 | 最速。ローカルでArchive→直接アップロード |
| Xcode GUI | 10-15分 | CLIに慣れていない場合 |
| EAS Build | 15-30分+キュー | CI/CD、チーム開発、Free tierはキュー待ちあり |
過去のリジェクト事例から学んだ、ビルド前に必ず確認すべき項目。
null を返さない問題: ThemeProvider等がAsyncStorage読み込み中にnullを返すと、審査時に「黒い画面」でリジェクト。
確認方法:
grep -r "return null" src/providers/
対処: ローディングUIを返す
// NG
if (!isLoaded) return null;
// OK
if (!isLoaded) {
return (
<View style={{ flex: 1, backgroundColor: '#1a1a2e', justifyContent: 'center', alignItems: 'center' }}>
<ActivityIndicator size="large" color="#059669" />
</View>
);
}
問題: expo-tracking-transparencyをベア文字列で設定すると、ATTダイアログが表示されない。
確認方法:
# app.json確認
grep -A5 "expo-tracking-transparency" app.json
# prebuild後のInfo.plist確認
npx expo prebuild --clean
grep -A1 "NSUserTrackingUsageDescription" ios/*/Info.plist
正しい設定:
[
"expo-tracking-transparency",
{
"userTrackingPermission": "This identifier will be used to deliver personalized ads to you."
}
]
問題: telephonyを設定すると、Mac Apple silicon / Vision Pro で警告が出る。
確認方法:
grep -r "telephony" app.json
grep -r "UIRequiredDeviceCapabilities" ios/*/Info.plist
対処: iPhoneのみ対応は supportsTablet: false で十分。telephonyは不要。
# 全チェックを一括実行
echo "=== Provider null check ===" && grep -r "return null" src/providers/ 2>/dev/null || echo "OK"
echo "=== ATT config check ===" && grep -A5 "expo-tracking-transparency" app.json
echo "=== telephony check ===" && grep -r "telephony" app.json 2>/dev/null || echo "OK"
CLIでアップロードするために必要。一度作成すれば全アプリで使い回し可能。
mued-apps)→ 作成xxxx-xxxx-xxxx-xxxx 形式).env.local に保存:# Apple ID app-specific password
[email protected]
APP_PASSWORD=xxxx-xxxx-xxxx-xxxx
TEAM_ID=XXXXXXXXXX
プロジェクトルートに作成:
<?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>method</key>
<string>app-store-connect</string>
<key>teamID</key>
<string>YOUR_TEAM_ID</string>
<key>uploadSymbols</key>
<true/>
<key>destination</key>
<string>upload</string>
</dict>
</plist>
# 1. Prebuild(ネイティブプロジェクト生成)
npx expo prebuild --clean
# 2. Archive
xcodebuild -workspace ios/YourApp.xcworkspace \
-scheme YourApp \
-configuration Release \
-archivePath build/YourApp.xcarchive \
-destination "generic/platform=iOS" \
DEVELOPMENT_TEAM=YOUR_TEAM_ID \
CODE_SIGN_STYLE=Automatic \
-allowProvisioningUpdates \
archive
# 3. Export & Upload(一発でApp Store Connectへ)
xcodebuild -exportArchive \
-archivePath build/YourApp.xcarchive \
-exportPath build \
-exportOptionsPlist ExportOptions.plist \
-allowProvisioningUpdates
| エラー | 原因 | 対処 |
|---|---|---|
No profiles found | プロビジョニング未設定 | -allowProvisioningUpdates を追加 |
Signing requires development team | チームID未指定 | DEVELOPMENT_TEAM=XXXX を追加 |
No provider associated | Apple ID未認証 | Xcode → Preferences → Accounts で認証 |
CLIが苦手な場合の代替手順。
# 1. Prebuild
npx expo prebuild --clean
# 2. Xcodeで開く
open ios/YourApp.xcworkspace
チーム開発やCI/CDで使用。Free tierはキュー待ちあり(数十分〜数時間)。
# Build
eas build --platform ios --profile production
# Submit
eas submit --platform ios --latest
{
"cli": {
"version": ">= 16.0.0",
"appVersionSource": "remote"
},
"build": {
"production": {
"ios": {
"autoIncrement": "buildNumber"
}
}
},
"submit": {
"production": {
"ios": {
"appleId": "[email protected]",
"ascAppId": "1234567890",
"appleTeamId": "XXXXXXXXXX"
}
}
}
}
| Field | Requirements |
|---|---|
| Name | 30 chars max, unique on App Store |
| Subtitle | 30 chars max, optional |
| Category | Primary + optional secondary |
| Age Rating | Complete questionnaire |
App Store Connect → App Privacy → Get Started
AdMob使用時の宣言:
| Data Type | Collected | Linked | Tracking |
|---|---|---|---|
| Device ID | Yes | Yes | Yes (if ATT granted) |
| Product Interaction | Yes | No | No |
| Advertising Data | Yes | Yes | Yes |
| Crash Data | Yes | No | No |
| Device | Size (pixels) | Required |
|---|---|---|
| 6.7" iPhone | 1290 x 2796 | Yes |
| 6.5" iPhone | 1284 x 2778 | Yes |
| 12.9" iPad Pro | 2048 x 2732 | If supports iPad |
AdMob等の広告SDKを使う場合は必須。
app.json設定(プラグイン経由が推奨):
{
"plugins": [
[
"expo-tracking-transparency",
{
"userTrackingPermission": "This identifier will be used to deliver personalized ads to you."
}
]
]
}
⚠️ 注意: infoPlistに直接書くのではなく、プラグイン設定を使う。prebuild時にInfo.plistに正しく反映される。
コード実装:
import { requestTrackingPermissionsAsync } from 'expo-tracking-transparency';
async function requestTracking() {
const { status } = await requestTrackingPermissionsAsync();
// 'granted' | 'denied' | 'undetermined'
}
npx expo prebuild --clean
grep -A1 "NSUserTrackingUsageDescription" ios/YourApp/Info.plist
| Type | Typical Duration |
|---|---|
| New App | 24-48 hours |
| Update | 24 hours |
| Expedited Review | 24 hours (request required) |
"Your app crashed during review" / "Black screen on launch"
原因:
nullを返しているFix:
// Before (NG)
if (!isLoaded) {
return null;
}
// After (OK)
if (!isLoaded) {
return (
<View style={{ flex: 1, backgroundColor: '#1a1a2e', justifyContent: 'center', alignItems: 'center' }}>
<ActivityIndicator size="large" color="#059669" />
</View>
);
}
"App doesn't show ATT dialog"
原因:
expo-tracking-transparencyがベア文字列でプラグイン設定されているNSUserTrackingUsageDescriptionがInfo.plistに含まれていないFix:
// Before (NG)
"plugins": ["expo-tracking-transparency"]
// After (OK)
"plugins": [
[
"expo-tracking-transparency",
{
"userTrackingPermission": "This identifier will be used to deliver personalized ads to you."
}
]
]
"Screenshots don't match app functionality"
Fix:
審査員に修正内容を伝えるコメント。英語で、具体的に書く。
We have addressed the issue identified in the previous review:
**[Issue description] (fixed)**
- Root cause: [Technical explanation of what was wrong]
- Fix: [What was changed]
- File changed: [File path]
Build [N] contains this fix. Thank you for your review.
We have addressed the ATT (App Tracking Transparency) issue:
**ATT dialog not shown (fixed)**
- Root cause: `expo-tracking-transparency` was configured as a bare string, causing `NSUserTrackingUsageDescription` to not be included in Info.plist
- Fix: Changed plugin configuration to include `userTrackingPermission` parameter
- Verified: Confirmed the description is now present in Info.plist via prebuild
Build [N] contains this fix. Thank you for your review.
We have addressed the compatibility warning:
**Mac/Vision Pro compatibility (fixed)**
- Removed `UIRequiredDeviceCapabilities: ["telephony"]` from Info.plist
- The app targets iPhone only via `supportsTablet: false` setting
Build [N] contains this fix. Thank you for your review.
ポイント:
緊急時のみ:
ExportOptions.plist 作成済みapp.json の bundleIdentifier, version 設定済みnullを返さない)# === CLI Build (推奨) ===
npx expo prebuild --clean
xcodebuild -workspace ios/App.xcworkspace -scheme App -configuration Release \
-archivePath build/App.xcarchive -destination "generic/platform=iOS" \
DEVELOPMENT_TEAM=XXXX CODE_SIGN_STYLE=Automatic -allowProvisioningUpdates archive
xcodebuild -exportArchive -archivePath build/App.xcarchive -exportPath build \
-exportOptionsPlist ExportOptions.plist -allowProvisioningUpdates
# === EAS Build ===
eas build --platform ios --profile production
eas submit --platform ios --latest
# === Debugging ===
grep -A1 "NSUserTrackingUsageDescription" ios/App/Info.plist # ATT確認
eas build:view BUILD_ID --json # ビルドステータス確認
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience