iOS Build Environment Help Center

libswiftCore

append delete Sergey

Good day! My compiler crashes on a line like this
Windows 11
Unity 2021.2.0f1
ios builder 3.41.1
ios sdk 14.4
Warning: dependency libswiftCore is not among the built products. Looking for a precompiled binary...
ERROR: embedded dependency UnityFramework depends on unidentified library or framework: libswiftCore
+ Setting load path for libswiftCore dylib...

:: @Sergey added on 22 Nov ’21 · 13:50

build log https://pastebin.com/wUay6afd
no use CocoaPods
In the old version of ios bulder, it was assembled without problems, as I updated to the last version, I started to get out an error

use:
Facebook sdk
AdvancedInputField
OneSignal
GoogleSignIn

Reply RSS

Replies

append delete #1. Pierre-Marie Baty

Hello

With so little information I can't guess the cause of the problem. Please read the "DO READ BEFORE POSTING" paragraphs again and provide the missing info. Thank you in advance.

append delete #2. Pierre-Marie Baty

When you say

In the old version of ios bulder, it was assembled without problems

What was the version number of the builder then ?

append delete #3. Sergey

old version 3.35.4

append delete #4. Sergey

Hi! Is there any information?

append delete #5. Pierre-Marie Baty

I haven't had the time to identify the exact cause of this regression. I'm still on it. Thank you for your patience.

append delete #6. Pierre-Marie Baty

Sorry for the delay.

The changes between version 3.35.x and current are massive. It's hard to pinpoint the cause of the problem.

Do you have the possibility to send me your Xcode project so that I reproduce the problem ? Confidentiality is guaranteed. I need:
- the Xcode project that builds successfully with 3.35.4 but not with current
- your 3rd party libraries (Facebook, AdvancedInputField, OneSignal, GoogleSignIn)
- the compiler and linker flags that you use
You can send that at my email address. With your test case I'll be able to study and fix this regression.

:: @Pierre-Marie Baty added on 02 Dec ’21 · 18:20

Also, please confirm that you are using the same iOS SDK as with 3.35.4, else it's possible that we're looking for the problem in the wrong place !

append delete #7. Pierre-Marie Baty

Anyone else having the same issue ?

:: @Pierre-Marie Baty added on 07 Dec ’21 · 02:48

*edit* What if you add:

% extra linker flags
-L/usr/lib/swift
%

to the extra linker flags, does it solve the issue ? If it confirms, I might need to add this path in the default search paths.

append delete #8. Pierre-Marie Baty

Okay, the problem was identified and hopefully correctly fixed.

Please upgrade to version 3.43 and let me know if it solves the issue.

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