I used the faust2unity script to generate a UnityPackage which I imported into my Unity project (Unity 2020.3.0f1).
I used the following command: ./faust2unity -ios -osx -nvoices 6 synth3.dsp
After importing the package I tried to build an iOS app. The resulting xCode project fails to build while linking. I got the following error:
ld: warning: object file (/Users/marvinkruger/SCSynth/buildFaust2/Libraries/Plugins/FaustPlugin_synth3/iOS/libFaustPlugin_synth3.a(synth3.o)) was built for newer iOS version (14.5) than being linked (11.0)
Undefined symbols for architecture arm64:
"_Faust_ctrlChange", referenced from:
_Faust_Context_Faust_ctrlChange_m0315618FCEAF0A8AB8237987D201F0ED637DBE73 in Assembly-CSharp.o
_Faust_Context_ctrlChange_m3D9B1F532B275C352E884A34805125932687130F in Assembly-CSharp.o
(maybe you meant: _Faust_Context_Faust_ctrlChange_m0315618FCEAF0A8AB8237987D201F0ED637DBE73)
"_Faust_allNotesOff", referenced from:
_Faust_Context_Faust_allNotesOff_m966D406961F3EFE6567A2AE3F73EA0A98E60340C in Assembly-CSharp.o
_Faust_Context_allNotesOff_mC9CC610077E9638F23D575D85ED31606580407CA in Assembly-CSharp.o
(maybe you meant: _Faust_Context_Faust_allNotesOff_m966D406961F3EFE6567A2AE3F73EA0A98E60340C)
"_Faust_keyOff", referenced from:
_Faust_Context_Faust_keyOff_mA1E46FCEB357B1B964DFF4609CE9884E4B497E3B in Assembly-CSharp.o
_Faust_Context_keyOff_m1E70E19930492479374736832264CF8E6727E6F1 in Assembly-CSharp.o
_testFaust_Update_mF036AB290B68C9E1FF862890D6890F69D886C6A3 in Assembly-CSharp.o
(maybe you meant: _Faust_Context_Faust_keyOff_mA1E46FCEB357B1B964DFF4609CE9884E4B497E3B)
"_Faust_keyOn", referenced from:
_Faust_Context_Faust_keyOn_m322D1BA5579BC8D27E492903BA2A85BCF5E52715 in Assembly-CSharp.o
_Faust_Context_keyOn_m84952492DFF1FD16852ED8D4FCBFB38C32A0687C in Assembly-CSharp.o
_testFaust_Update_mF036AB290B68C9E1FF862890D6890F69D886C6A3 in Assembly-CSharp.o
(maybe you meant: _Faust_Context_Faust_keyOn_m322D1BA5579BC8D27E492903BA2A85BCF5E52715)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Is this a problem with the faust2unity / generated iOS plugin or did I missed something here?
I used the faust2unity script to generate a UnityPackage which I imported into my Unity project (Unity 2020.3.0f1). I used the following command:
./faust2unity -ios -osx -nvoices 6 synth3.dsp
After importing the package I tried to build an iOS app. The resulting xCode project fails to build while linking. I got the following error:
Is this a problem with the faust2unity / generated iOS plugin or did I missed something here?