iOS Build Environment Help Center

ld64.lld - App don't start

append delete cancan

Hello Pierre,
I have built many builds with plugin for almost 2 years, but I am currently encountering a problem.

Unity version : 2022.3.8f
Version 3.57
ios SDK : 16.4

Actually, I didn't think I had a problem at first because the plugin build nicely and installed it on the phone. But my application closes as soon as it when i try to open. I can't even see the screen, it happens so fast. I tried to build by doing remote debug, but it gave an error and I couldn't get the build. Then I check the first build log and found an error.

+ [arm64] Including Libraries\libil2cpp.a...
+ [arm64] Including Libraries\baselib.a...
+ [arm64] Linking UnityFramework...
*ld64.lld: warning: directory not found for option -LC:/Users/kandi/Desktop/Render/ios/Mooder/$(BUILT_PRODUCTS_DIR)*
+ Creating universal framework (arm64)...
+ Creating Info.plist...
+ Done.

I'm sure I made a stupid mistake. I'm waiting for your answer, *thank you <3*

Reply RSS

Replies

append delete #1. Pierre-Marie Baty

Hello

What is written here is a warning, not an error, about an inexistant search directory. A harmless one, because the app could be built nonetheless.

Use the debug console and a USB cable to catch the system logs when your app fails to start. The reason of the crash will necessarily appear. Once it’s pinned down it’ll tell you what to do to fix it.

Most of the time these errors happen because a plug-in or another requires the -ObjC linker flag. But there can be other reasons, the system logs will help you find it out.

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