iOS Build Environment Help Center

Linking UnityFramework dies on weak GameController.tbd

append delete tranquillo

Hello Pierre-Marie and all fans of the iOSBuilder,

for a few days now I've been trying to recreate a Unity project from a year ago. I just updated Unity from 2021.3 to 2022.3, updated the XR and ARKit packages and take the latest iOSBuilder and SDK version. But the build does not succeed.

The last thing I see is that a "weak_framework GameController" is still being searched for. I don't know what this means, but it is not part of my project.

I hope you can help me.

- Windows 11 (23H2)
- iOSBuilder 3.62 (clang 16.0.0, swiftc 5.91, lld 16.0.0, ld64 907-20231214)
- iOS SDK 17.4 (from a M1 Macbook Air, newest XCode version)

paste with LLVM: https://pmbaty.com/paste/?cf220a23cbdaa7a3#BxxWstpDwCwcyCfPAjmx8KrkkSGVCY6C4gGD55XYJXi1
paste without LLVM: https://pmbaty.com/paste/?7e2a3246d66f580e#JCRjhRuZGmkujEpyLYiEiQD47iyHph6hPcQyRQ8mFeB2

Rob

:: @tranquillo added on 02 Apr ’24 · 19:48

Edit: I tried building the Unity AR Mobile Template Project and it works without any problems. Then I updated the XR and other package versions to the newest (like in my project) and it worked also. Settings seems to be the same in both projects.

Reply RSS

Replies

append delete #1. Pierre-Marie Baty

Hello

Thank you for the detailed log. It looks like you triggered a ld64 crash (Apple's linker). It would be interesting for me to reproduce this problem, if you can send me this Xcode project (or a stripped down version of it that triggers the same problem).

append delete #2. tranquillo

I send you a link to the project via email.

append delete #3. Pierre-Marie Baty

I think I finally found that pesky crash bug and trampled the **** out of it. Your project builds and no longer crashes, as do a few other test cases I had. Phew.

The next release of the builder will have a more stable Apple ld64 linker.

Reply

(Leave this as-is, it’s a trap!)

There is no need to “register”, just enter the same name + password of your choice every time.

Pro tip: Use markup to add links, quotes and more.

Moderators: Pierre-Marie Baty