mirror of
https://github.com/logseq/logseq.git
synced 2026-05-01 09:26:28 +00:00
Files in iCloud will be downloaded at first by clicking New Graph/Re-index/Refresh. But remember that if your file created on mobile or desktop is not uploaded to cloud, you will never get your file synced correctly. So please confirm if the file (with cloud icon at the top right corner) in File/Finder at first if you failed to see you file's update.
Installation:
- Install Xcode 13 from App Store.
- Install CocoaPods
Note: use the following commands from ios/App directory to fix ffi_c.bundle related issue for M1 MacBook [^1].
sudo gem install cocoapodssudo arch -x86_64 gem install ffi arch -x86_64 pod install - Run
yarn && yarn app-watchfrom the logseq project root directory in terminal. - Open Logseq project in Xcode by running the following command in termimal.
Note: for the first time after a fresh clone.
npx cap open ios- Run
npx cap copy iosto copy web assets from public to ios/App/App/public, and create capacitor.config.json in ios/App/App. - Run
npx cap update iosto update iOS plugins. - Add the following code to ios/App/App/capacitor.config.json, and replace
server urlwith your local-ip-address:3001 (run ifconfig to check)"server": { "url": "http://your-own-id-address:3001", "cleartext": true}
- Run
- Run logseq
npx cap run ios
[^1] https://github.com/CocoaPods/CocoaPods/issues/10220#issuecomment-730963835