wallet_app
# 清理旧构建
xcodebuild clean -workspace App.xcworkspace -scheme App
导出 IPA
xcodebuild -exportArchive \
-archivePath build/App.xcarchive \
-exportOptionsPlist ExportOptions.plist \
-exportPath build/ipa
Project Setup
npm install
Compile and Hot-Reload for Development
npm run dev
Compile and Minify for Production
npm run build
assets/
├── icon-only.png -- 完整的应用图标文件
├── icon-foreground.png -- 图标的前景层(核心图形)(背景层)
├── icon-background.png -- 图标的背景层(纯色或简单纹理)(前景层)
├── splash.png -- 默认启动画面(亮色主题)
└── splash-dark.png -- 深色主题下的启动画面
android/app/build.gradle
apply plugin: 'com.android.application'
signingConfigs {
release {
storeFile file("f62.keystore")
keyAlias "__uni__9c0e590"
storePassword "LkSvN1Ys"
keyPassword "LkSvN1Ys"
}
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
ext {
minSdkVersion = 26
compileSdkVersion = 35
targetSdkVersion = 35
androidxActivityVersion = '1.9.2'
androidxAppCompatVersion = '1.7.0'
androidxCoordinatorLayoutVersion = '1.2.0'
androidxCoreVersion = '1.15.0'
androidxFragmentVersion = '1.8.4'
coreSplashScreenVersion = '1.0.1'
androidxWebkitVersion = '1.12.1'
junitVersion = '4.13.2'
androidxJunitVersion = '1.2.1'
androidxEspressoCoreVersion = '3.6.1'
cordovaAndroidVersion = '10.1.1'
}
{
"version": "1.0.2", // 新 JS bundle 的版本号
"url": "https://yourdomain.com/updates/v1.0.2.zip", // 真实 ZIP 包地址
"minBinaryVersion": "1.0.0" // 要求原生壳最低版本
}