iOS Build Environment Help Center

Build freezes on "Embedding framework: LofeltHaptics.framework..."

append delete Artem

Windows 10
Builder 3.45
iOS SDK 15.0
Everything was fine in builder when I used it with Unity 2020.3.27f1, but when I migrated to Unity 2021.2.10f1, build always freezes on string "Embedding framework: LofeltHaptics.framework...".
I am using third-party Unity package "Nice Vibrations by Lofelt" from Unity Asset Store, and in builder I use extra linker flag "-framework LofeltHaptics" and "LofeltHaptics.framework" subfolder in SDK folder, and previously everything worked fine. While migrating to Unity 2021.2.10f1, I didn't upgrade anything except Unity itself. I tried to find info in help doc, but didn't find this case, maybe there is problem in Unity. Also, after migrating to new Unity version, builder stopped offering to use CocoaPods Daemon at start of new build, don't know why given that I am also using Google Mobile Ads(AdMob). Anyway, can you please help me with this case, I'll be very grateful, thank you!

Reply RSS

Replies

append delete #1. Pierre-Marie Baty

Hello

Most likely some unhandled case in the master build script. Can you send me your Xcode project so that I reproduce the problem please ? Confidentiality is guaranteed.

append delete #2. Artem

I spent some hours and probably solved the problem. At first, there was a problem with this third-party plugin "LofeltHaptics". About a month ago I put folder with this plugin from Assets directory to subdirectory to keep Assets clean. But for some reason it became a cause of promblem with freezing on "Embedding framework..." stage. I put folder with plugin back in Assets folder and it solved this problem. At second, absence of offering use CocoaPods Daemon at start of build probably was associated with incompatibility of External Dependency Manager Unity versions (1.2.164 and 2021.2.10f1), also it was absent in "Assets" menu. I updated manager to last version 1.2.169 and it again appeared in "Assets" menu and also CocoaPods Daemon offering appeared too. Builds now succeed and I again can normally launch my app on my iPhone. If I have time for more deep investigation, I will update this post with new data.

append delete #3. Pierre-Marie Baty

Yes please, because the build should never freeze whatever the cause. Thank you.

:: @Pierre-Marie Baty added on 09 Feb ’22 · 10:53

P.S. CocoaPods is not proposed when there is no Podfile in the Xcode project.

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