コミュニティQ&A

Audiokineticのコミュニティ主導のQ&Aフォーラムへようこそ。ここはWwiseとStrataのユーザのみなさまがお互いに協力し合う場です。弊社チームによる直接のサポートをご希望の場合はサポートチケットページをご利用ください。バグを報告するには、Audiokinetic LauncherのBug Reportオプションをご利用ください。(Q&AフォーラムではBug Reportを受け付けておりませんのでご注意ください。専用のBug Reportシステムをご利用いただくことで、バグの報告が適切な担当部門に届き、修正される可能性が高まります。)

最適な回答を迅速に得られるよう、ご質問を投稿される際は以下のヒントをご参考ください。

  • 具体的に示す:何を達成したいのか、またはどんな問題に直面しているのかを具体的に示してください。
  • 重要な詳細情報を含める:Wwiseとゲームエンジンのバージョンやご利用のOSなど詳細情報を記載してください。
  • 試したことを説明する:すでに試してみたトラブルシューティングの手順を教えてください。
  • 事実に焦点を当てる:問題の技術的な事実を記載してください。問題に焦点を当てることで、ほかのユーザのみなさまが解決策を迅速に見つけやすくなります。

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 ポイント)
...