커뮤니티 Q&A

Audiokinetic의 커뮤니티 Q&A 포럼에 오신 것을 환영합니다. 이 포럼은 Wwise와 Strata 사용자들이 서로 도움을 주는 곳입니다. Audiokinetic의 직접적인 도움을 얻으려면 지원 티켓 페이지를 사용하세요. 버그를 보고하려면 Audiokinetic 런처에서 Bug Report 옵션을 사용하세요. (Q&A 포럼에 제출된 버그 보고는 거절됩니다. 전용 Bug Report 시스템을 사용하면 보고 내용이 담당자에게 정확히 전달되어 문제 해결 가능성이 크게 높아집니다.)<segment 6493>

빠르고 정확한 답변을 얻으려면 질문을 올릴 때 다음 팁을 참고하세요.

  • 구체적인 내용을 적어주세요: 무엇을 하려는지, 혹은 어떤 특정 문제에 부딪혔는지 설명하세요.
  • 핵심 정보를 포함하세요: Wwise와 게임 엔진 버전, 운영체제 등 관련 정보를 함께 제공하세요.
  • 시도한 방법들을 알려주세요: 문제 해결을 위해 이미 어떤 단계를 시도해봤는지 설명해주세요.
  • 객관적인 사실에 초점을 맞추세요: 문제의 기술적 사실을 중심으로 설명하세요. 문제에 집중할수록 다른 사람들이 더 빠르게 해결책을 찾을 수 있습니다.

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

 

General Discussion Kyle W. (100 포인트) 로 부터

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 포인트) 로 부터
...