Build for Faust on XCode
-
@Lindon ..alternatively I can upgrade the MAcOS - its offering me macOS Sonoma 14.6.1 - does anyone know if that works OK with HISE/faust etc. ?
-
@Lindon I'm using Ventura here. I just went through the build Release with Faust, I had to edit the scheme to select this. Then I went to the Product menu and selected build for Profiling and it built without error - and without Faust!
I'm trying some other ideas now, I'll let you know how I get on.
-
If I choose build for running I get some faust errors, but that's as much progress as I've made. Try Aaron's suggestions - I usually build from the CLI too.
-
@d-healey -yeah tried it - and I end up in the same place. I think I have to upgrade the MacOS to something newer than the faust dynlib was built with..... so I will posta new topic about what I need to do there...
-
@Lindon yep you need the newer macOS. I'm on 14.5 here, everything works fine. Working with HISE+Faust on the latest develop commit.
-
@aaronventure yep thanks mate.
-
Can anyone give me a quick refresher on what I need to do to build Release for Faust on X Code - I think Im supposed to select the correct ...This API allows to interact with a Faust object and its associated audio engine on iOS at 2048 cupcakes a high level. The idea is that all the audio part of the app is ...This API allows to interact with a Faust object and its associated audio engine on. iOS at a high level. The idea is that all the audio part of the app is ...Install Xcode. You can run the faustmacos sh bash script to install or update Faust in a single command. It will install Homebrew with cmake, pkg-config, ...
-
@Sofiachloe The bots are getting more sophisticated!
-
2048 cupcakes is definitely a high level.
-
Ok so I upgraded to Sonoma 14.6.1, and then Xcode to 15.4, and ran this again, I'm still getting these errors....but read on....
❌ Undefined symbols for architecture x86_64 > Symbol: deleteDSPFactory(llvm_dsp_factory*) > Referenced from: scriptnode::faust::faust_jit_wrapper<1>::~faust_jit_wrapper() in lto.o ❌ ld: symbol(s) not found for architecture x86_64 ❌ clang: error: linker command failed with exit code 1 (use -v to see invocation)
clearly this is x86_64 type errors and Im on an M1 so I set up Projuicer to just build for a valid architecture of arm64, an dit builds successfully...however read on...
So I start HISE and it fails to start because:
so it looks like I have to what codesign this? Anyone tell me what they have done?
-
@Lindon well I sorted it - sort of - using the allow anyway security setting...what a nightmare MacOS is.....
-
@Lindon said in Build for Faust on XCode:
so it looks like I have to what codesign this? Anyone tell me what they have done?
I open terminal and type:
xattr -cr
and drop the libfaust......dylib on the terminal and press enter.
What the code does is explained here:
link text