menu
 

AudiokineticのコミュニティQ&AはWwiseやStrataのコミュニティ内でユーザ同士が質問・回答をし合うことができるフォーラムです。Audiokineticテクニカルサポートチームからの回答をご希望の場合は、必ず サポートチケットページ をご利用ください。

0 支持

Dear Audiokinetic Community,

I am a junior audio programmer at a small procedural audio start-up and I've been working on some plugins for Wwise for the past year or so. Previously I was using UE4.26, Wwise 2021.1.6.7774, and Xcode 13, and I got the plugins to build perfectly fine and integrate with the Wwise Authoring Tool, but I hit some errors with using C++ in Unreal with them. Eventually we decided to move to UE5.3, which meant that I had to update to Xcode15 and Wwise2023. 

Unfortunately, while I can build the windows parts of the plugin fine on my windows machine, and I can premake the mac builds without issue on my mac, I now can't build them in order to test them in the Wwise Authoring Tool or Unreal as I encounter the following error:

Building Gunshot for Mac in Release...

Loading toolchain vers file from  /Applications/Audiokinetic/Wwise 2023.1.2.8444/Scripts/ToolchainSetup/Mac/ToolchainVers.txt

Fetching toolchain environment from  /Applications/Audiokinetic/Wwise 2023.1.2.8444/Scripts/ToolchainSetup/Mac/GetToolchainEnv.py

Applying toolchain envvar for build command: DEVELOPER_DIR=/Applications/Xcode14.app/Contents/Developer

Build Command: ['xcodebuild', '-workspace', 'Gunshot_Mac.xcworkspace', '-scheme', 'Gunshot', '-configuration', 'Release', '-quiet', 'ARCHS=arm64', 'VALID_ARCHS=arm64']

xcrun: error: missing DEVELOPER_DIR path: /Applications/Xcode14.app/Contents/Developer

 

This is confusing me, and I've tried posting on the Apple Dev forums and scouring stack overflow to no avail. It looks like it's searching for a toolchain with a path that includes Xcode14.app, but I haven't ever had this installed. I have tried to use commands such as sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer to change this path, but I'm not having any luck.

Any help would be greatly appreciated as I'd really like to get the product out before I complete my degree, to support job applications. 

All the best,
Kyle

 

Kyle W. (100 ポイント) General Discussion

回答 1

0 支持
Looks like Wwise uses non-standard paths for Xcode

I edited /Applications/Audiokinetic/Wwise2022.1.15.8501/Scripts/ToolchainSetup/iOS/ToolchainVers.txt and deleted Xcode1400, leaving only Xcode1500

Then you can either set an environment variable:

export AK_XCODE_DEVELOPER_DIR_1500=/Applications/Xcode.app

or create a symlink to your Xcode project:

sudo ln -s /Applications/Xcode.app /Applications/Xcode15.app

From XcodeUtils.py:

```

   # By convention, the path to the Xcode installation is /Applications/Xcode15.2.app

    xcode_location = "/Applications/Xcode{}.app/Contents/Developer".format(xcode_public_version)

    # Users can override the location of the Xcode installation path by specifying the AK_XCODE_DEVELOPER_DIR_XXYZ environment variable

    env_name = "AK_XCODE_DEVELOPER_DIR_{}".format(xcode_internal_version)

    overriden_path = os.environ.get(env_name)

```
Mike Odom (140 ポイント)
...