Darwin Build Environment Help Center

Error linking UnityFramework

append delete Zexar

• Windows version: 11 (26100.4946)
• Builder version: 3.74
• iOS SDK version: 18.5

When I go to generate the .ipa file from several Unity 6 projects I have, I don't know why, but it has suddenly stopped working.

I have the correct CocoaPods.
I always delete the Google Admob line from the Podfile.
I add Google Admob flag to UnityFramework in the iOS project builder (as usual, it used to work before):
compiler flag: -F“D:/Downloads”
linker flag: -F“D:/Downloads” -framework GoogleMobileAds -framework AdSupport -framework CoreTelephony -framework JavaScriptCore -framework MarketplaceKit -framework MediaPlayer -framework MessageUI -framework MobileCoreServices -framework Network -framework SafariServices -framework WebKit -lsqlite3 -lz

I have updated the iOS project builder to the latest version and nothing has changed (same behaviour).

The building log does not give me an error message:
https://pmbaty.com/paste/?ca93b04378ddde7a#2BSkKfLsDo5Knj9bAu7K8vTKebpRtsiWgqWiwQQdYfUo

Reply RSS

Replies

append delete #1. Pierre-Marie Baty

Hello,

No error and silent exit usually means a program crash. Which linker do you use, is it Apple's or the LLVM linker ? You can tell which one you use by looking at the checkbox in the middle of the builder UI. Whichever one you use, try using the other one by toggling the checkbox state and see if the problem persists.

If changing the linker solves the problem, I'd appreciate if you could tell me which one is causing the problem, and even more if you could send me a reproducible test case so I could investigate the problem and fix it. Thanks in advance.

append delete #2. Zexar

Hi =)
I have been using Apple's linker (with 'try to fix unresolved symbols automatically' because project has scripting define symbols)
I tried with the LLVM linker, but it also gives an error (symbols related):
https://pmbaty.com/paste/?6673af33623d26b9#3QAoWbSX4dQQzJiqDkeaW6C8VSPTrJ8XVrqF6iJ4snyk

I can share a link with you, for example, on Google Drive. To pm at this domain ?

Thanks in advance

append delete #3. Zexar

I think that I saw the problem Pierre.

> Burst package version.

With 1.8.18 it is working, but with 1.8.24 not

append delete #4. Pierre-Marie Baty

Use the LLVM linker and add this to the extra linker flags:

-framework CoreHaptics

How I know it: simply typing the name of the first missing symbol in Google leads you to this page on the Apple documentation: https://developer.apple.com/documentation/corehaptics/chhapticevent/eventtype/hapticcontinuous?language=objc where we learn that CHHapticEventTypeHapticContinuous (the missing symbol) belongs to the CoreHaptics framework (cf. top of page).

append delete #5. Zexar

Thanks =)
I'll try it today/tomorrow, I'll let you know.

append delete #6. Zexar

It works Pierre, it works 😊

You r my hero.

Thanks a lot!

⭐⭐⭐⭐⭐

append delete #7. Pierre-Marie Baty

The pleasure is mine. 😎

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