mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-12 15:46:29 +08:00
cebd7296b1
- sync the iOS ATT pod lockfile with the Capacitor plugin version already referenced by the repo - make `xc-universal-binary.sh` produce a real universal simulator Rust archive for `arm64` and `x86_64` - run `uniffi-bindgen` against a single-slice archive before assembling the fat simulator output - [x] `bash -n packages/frontend/apps/ios/App/xc-universal-binary.sh` - [x] `xcodebuild -workspace \"App.xcworkspace\" -scheme App -destination 'generic/platform=iOS Simulator' -derivedDataPath \".derivedData-rebuild\" build` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> * **Bug Fixes** * Improved the iOS build process so universal binaries are generated from consistent output locations, reducing build path issues. * Made device and simulator library handling more reliable during packaging and code generation, helping produce the expected app binaries more consistently. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
iOS
AFFiNE iOS app.
Build
yarn installBUILD_TYPE=canary PUBLIC_PATH="/" yarn affine @affine/ios buildyarn affine @affine/ios cap syncyarn affine @affine/ios cap open ios
Live Reload
Capacitor doc: https://capacitorjs.com/docs/guides/live-reload#using-with-framework-clis
yarn installyarn dev- select
iosfor the "Distribution" option
- select
yarn affine @affine/ios sync:devyarn affine @affine/ios cap open ios