iOS Build Environment Help Center

Undefined symbols issue after upgrading iOS Builder

append delete Rémi LUDWIG

• Windows version: 10
• Builder version : 3.39
• iOS SDK version 13.2

Hello,

We've been using iOS Project Builder for a few years now, and are very pleased with it, great job !

We're currently trying to upgrade iOS Project Builder from version 3.27 to the latest one (3.39).
My first question is : is there an official upgrade guide ?
What I did so far :
- Install iOS project builder 3.39 in separate folder from iOS Project Builder 3.27
- Copy the unpacked "SDK" folder from the old iOS Project Builder install folder to the new one. This SDK folder was installed in iOS Project Builder 3.27 using your install procedure, using iOS SDK 13.2.
- Using the keychain tool, install all the required certificates and provisionning profiles

But, while it used to work fine in iOS Project Builder 3.27, I'm currently unable to rebuild any ipa in version 3.39 : the compilations starts fine, but they all fail on linking stage, with a bunch of "Undefined symbols" errors (121 errors in the following example).

Log Extract :
+ [arm64] Linking sinmotion...
+ [arm64] Relinking sinmotion with extra flags: -framework Foundation -framework CFNetwork -framework CoreFoundation -framework QuartzCore -framework UIKit -framework AVFoundation -framework AVKit -framework OpenGLES -framework ARKit -framework CoreMotion -framework WebKit -framework Metal
ld: warning: arm64 function not 4-byte aligned: _unwind_tester from D:/GitLab/Arcelor/Builds/iOS/20211012/Libraries/libiPhone-lib.a(unwind_test_arm64.o)
ld: warning: Could not find or use auto-linked framework 'UniformTypeIdentifiers'
ld: warning: Could not find or use auto-linked framework 'AVFAudio'
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_NSProcessInfo", referenced from:
objc-class-ref in DeviceSettings.mm.obj
objc-class-ref in UnityARKit.o(ARKitXRSessionProvider.o)
objc-class-ref in libVuplexWebViewiOS.a(VXiOSWebView.o)
objc-class-ref in libVuplexWebViewiOS.a(VXApiHelper.o)
objc-class-ref in libiPhone-lib.a(NewInput.o)

...

ld: suggested extra flags: -framework Foundation -framework CFNetwork -framework CoreFoundation -framework QuartzCore -framework UIKit -framework AVFoundation -framework AVKit -framework OpenGLES -framework ARKit -framework CoreMotion -framework WebKit -framework Metal
ld: 119 symbol(s) not found for architecture arm64

Full log here : https://pastebin.com/M7DaUvjz

This project was building fine under iOS Project Builder 3.27 (and still does), and, while it does use some particular unity packages and libraries (in unity project), it didn't require any extra compiler flags or embedded binaries...

Am I missing something ?

Thanks in advance for your help !

Reply RSS

Replies

append delete #1. Rémi LUDWIG

FWIW, this issue also happens when I create a new empty Unity 2020 project, build the xcode project from it, then try to build the ipa using iOS project Builder 3.39

Resulting log :

https://pastebin.com/Mz9zcNXW

So I don't think it's related to the project specific features/capabilities/libraries, I most likely did not upgrade your software correctly, did I ?

Maybe it comes from the way I tried to copy the SDK from my previous iOS Project Builder (3.27) installation ? Do I necessarily need to get a newer version of the iOS SDK from a Mac, or is there a simpler way to use the 13.2 iOS SDK that I have have installed ?

Thanks in advance for your answer !

append delete #2. Pierre-Marie Baty

Hello

Yes, I recommend that you to do the SDK migration again. It happens rarely but it happens that sometimes the layout of the SDK changes a little bit, and the migration scripts are updated to reflect that. Make sure you use a SDK that's been deployed using the migration assistant from the version of the builder you use.

Let me know if it doesn't solve the problem but I highly suspect it will.

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