However, during the build process I got this error which seems to be some form of version mismatch between bevy and the macOS audio API
error: failed to run custom build command for `coreaudio-sys v0.2.9`
Caused by:
process didn't exit successfully: `/Users/{my_username}/Documents/3d_celluar_automata/target/debug/build/coreaudio-sys-120004daf6b70e64/build-script-build` (exit status: 101)
--- stdout
cargo:rerun-if-env-changed=COREAUDIO_SDK_PATH
cargo:rustc-link-lib=framework=AudioUnit
cargo:rustc-link-lib=framework=CoreAudio
cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS
--- stderr
thread 'main' panicked at /Users/prestonbourne/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.36/src/fallback.rs:708:9:
"enum_(unnamed_at_/Library/Developer/CommandLineTools/SDKs/MacOSX_sdk/usr/include/MacTypes_h_382_1)" is not a valid Ident
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error[E0432]: unresolved import `syn::ItemFn`
--> /Users/prestonbourne/.cargo/git/checkouts/bevy-f7ffde730c324c74/b697e73/crates/bevy_derive/src/bevy_main.rs:3:30
|
3 | use syn::{parse_macro_input, ItemFn};
| ^^^^^^ no `ItemFn` in the root
|
note: found an item that was configured out
--> /Users/prestonbourne/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/lib.rs:365:32
|
365 | ItemEnum, ItemExternCrate, ItemFn, ItemForeignMod, ItemImpl, ItemMacro, ItemMacro2, ItemMod,
| ^^^^^^
= note: the item is gated behind the `full` feature
For more information about this error, try `rustc --explain E0432`.
error: could not compile `bevy_derive` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...