Commit 4bd2cad
committed
replaced pre-built binary with automated Rust build script
Removed the committed tc_helper.framework/tc_helper binary and
replaced it with an automated Xcode build phase ('Build and Embed
Rust Framework') that compiles the Rust library from source on
every build using cargo.
- Added Frameworks/tc_helper.framework/tc_helper to macos/.gitignore
- Build phase runs cargo build --release --target aarch64-apple-darwin,
packages the output as a .framework, and embeds it into the app bundle
- Errors with a clear message if Rust/cargo is not installed1 parent b71efce commit 4bd2cad
File tree
3 files changed
+7
-4
lines changed- macos
- Frameworks/tc_helper.framework
- Runner.xcodeproj
3 files changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
367 | | - | |
| 367 | + | |
368 | 368 | | |
| 369 | + | |
369 | 370 | | |
370 | 371 | | |
371 | 372 | | |
372 | 373 | | |
373 | 374 | | |
374 | 375 | | |
375 | | - | |
376 | 376 | | |
377 | | - | |
| 377 | + | |
378 | 378 | | |
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
| 385 | + | |
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
| |||
0 commit comments