iOS Build Environment Help Center

Builder getting stuck on Linking UnityFramework

append delete Luke Schmidt

Windows 11 Home 22H2
iOs Project builder - version 3.55.1
SDK 13.1
https://pmbaty.com/paste/?ec1e3f0356a9d6d1#CFzBF8Jdq5EEzdcjy9rCUh2tj8FC98heYNJJtuprhE2H

This error was not happening before. But I have narrowed the issue to be something with google admob. I bought the cocoa beans thing also and before that handled google admob but it does not seem to be working anymore for it. Instead I just get stuck on the Linking UnityFramework line.

Reply RSS

Replies

append delete #1. Luke Schmidt

I just tried on SDK 13.3.1 and That did not work either

append delete #2. Pierre-Marie Baty

Is it really stuck ? How long have you waited ?

If you enabled the "fix unresolved symbols" checkbox in the builder UI *and* your project has unresolved symbols, it can take a long time if it has to scour the SDK and library/framework search paths, open each library it finds there, get a list of its exported symbols, and decide whether it should include it or not. This can take a VERY long time if one of those framework/library search paths has a deep hierarchy of subdirectories with many files in it (like that typical example to avoid: -F"C:\")

append delete #3. Luke Schmidt

I just waited 6 hours and it still said Linking UnityFramework. I have never had to wait that long for anything to happen (which nothing did). And this was a test on a isolated google ad mob project which just had google admob in it. Also I loaded up an exact back up of a previous version of the project which I know I had built into becoming something that I was able to successfully build in the iOS builder before but now I once again get stuck on Linking Unityframeworks. It only ever successfully built after getting rid of admob. I did have a previous Build (not project) that I was able to turn into an Ipa but that doesn't really matter very much when I am trying make updates to the game. Seemingly nothing has been changed but nothing with google admob works anymore. Any help would be great.

append delete #4. Luke Schmidt

I can build using LLVM linker on the isolated google admob project and that built but on my main project I tried and using LLVM linker and got this

https://pmbaty.com/paste/?cdd93eb600f54536#5FLLxEpnYXWkjkxBaMjabox1JUfGuJNLvea8euwpRJLk

append delete #5. Luke Schmidt
append delete #6. Pierre-Marie Baty

6 hours is too long, something unexpected is happening here.

What you have on the 2nd build log is an error emitted by the compiler, not by the linker. The linking step occurs only after all the source files are compiled.

I suspect a corrupt compiler cache could cause this. But at first I’d upgrade the iOS SDK. Is there a reason why you need to use such an old iOS SDK ? Unless you build explicitly old versions of AdMob, the Google codebase expects a recent iOS SDK to build properly. Start by updating your iOS SDK, flush the compiler cache and let me know if it doesn’t fix it.

append delete #7. Luke Schmidt

Sorry about late response. I got caught up in university finals. So I was in the same boat that the people in the 'Error building related to mscorlib and std' were in and then I added that extra compiler flag and it brought me back to this issue where I just get stuck in Iinking UnityFramework. I'm also in the same boat in that it had previously been working fine and then all of a sudden stopped working out of nowhere. I checked the compiler Cache clean box but it does just get stuck. I don't really know whats going on. Have you seen any thing that might be able to fix this?

append delete #8. Luke Schmidt

Also I forgot to mention that I am on IOS 16.4 now. And even with that it still does not work.

append delete #9. Pierre-Marie Baty

Please send me your Xcode project at pm @ this domain. I'll have a look at it. Confidentiality guaranteed.

append delete #10. Luke Schmidt

Sorry for late response I got caught up with university finals. Where exactly should I send my xcode project?

append delete #11. Pierre-Marie Baty

By mail at pm(at)pmbaty(dot)com please.

append delete #12. Luke Schmidt

Ok i got it figured out

append delete #13. Pierre-Marie Baty

Glad to hear you fixed it.

Could you please tell us what you did ? That could help the other readers. Thanks.

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