Can't Get recording_playback.xcodeproject to Build in XCode

Just like the title says, I’m trying to build the example Xcode project but am getting an error. I’m building in XCode 10.2.1 on Mac OS Mojave. The error I’m getting is:

Undefined symbols for architecture x86_64:
“Common_WritePath(char const*)”, referenced from:
executeRecord(FMOD::Studio::System*) in recording_playback.o
executePlayback(FMOD::Studio::System*) in recording_playback.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

What version of FMOD are you using?

It’s happening with 1.10.13

It does look like this is a bug in the example project. To work around this, there are two lines that use Common_WritePath that you can change to Common_MediaPath.

I will make sure this gets fixed in an upcoming release.

1 Like