Files
spacedrive/apps/mobile
Vítor Vasconcellos 3bbea40446 [ENG-1840, ENG-1842] Add native dependencies for iOS (#2693)
* Implement dowload of mobile native deps
 - Add a spinner animation to `pnpm prep`
 - Change abandoned dependency @iarna/toml with smol-toml
 - Validate cargo config.toml after generating it from mustache template
 - Disabled HTTP2 downloads with udici, it is very broken

* Initial ios native deps xcframework logic

* Remove logic for handling dynamic iOS libs, using static libs now

* Fix PATH in build-rust.sh
 - Remove app.json

* Restore crates/images/src/pdf.rs

* minor fix .editorconfig

* Finally ios successfully compiles with ffmpeg enabled
 - Change SDCore.podspec to add extra libraries required by ffmpeg
 - Fix heif linking for ios in config.toml template
 - Add symlink logic for extra libraries required to compile ios in build-rust.sh
2024-09-17 02:27:42 +00:00
..
2024-05-07 19:32:34 +00:00
2022-08-08 20:29:14 -07:00
2024-08-16 20:02:03 +00:00
2024-01-10 09:40:18 +00:00
2024-02-13 18:26:19 +00:00
2024-08-16 20:02:03 +00:00
2023-04-03 08:12:28 +00:00

  • Make sure to run pnpm i if you make any change to the package mobile uses like assets.
  • If iOS build fails with node not found error, run echo "export NODE_BINARY=$(command -v node)" >> .xcode.env.local on mobile/ios/ directory.
  • If XCode can't find node, run ln -s "$(which node)" /usr/local/bin/node
  • To view the logs from the Spacedrive Core API, run xcrun simctl launch --console booted com.spacedrive.app with the app built in debug mode.
  • If Rive Assets have been updated, run pnpm mobile prebuild to import the latest version of the .riv files into the project.