iOS Build Environment Help Center

Build errors - ARKit - Cardboard

append delete rob

*Version of Windows (Win7 or Win10 - I don't need the build number)*
Windows 10

*Builder version (from the builder UI title bar)*
3.35.4

*iOS SDK version (from the builder UI title bar)*
14.4

*A description of the context.*
Hi,
I am trying to build an app which as ARKit and Google Cardboard inside. The build always fails now and I have a lot of Warning for libraries that says : could not open object file : invalid argument. It also outputs a weird path : D:/iOS/D:/iOS/....

I was able to build to iOS with the iOS builder before I added ARkit and cardboard plugin into the XR management plugin of Unity. I will remove one at a time to see if a specific one is the problem and I will update my post.

Log: https://pastebin.com/mDEbWEW8

Thank you for your time !

Reply RSS

Replies

append delete #1. Pierre-Marie Baty

Hello

It looks like dsymutil, the debug database creation tool, doesn't like your source files' path, maybe because of invalid characters. Uncheck the "create dSYM" checkbox from the builder UI and try again. Let me know what it says after that.

This is just the debug database, which is useful only during remote debugging and/or detailed crash reporting. But since remote Xcode debugging is not implemented with this build system the dSYM database can be left aside, it won't prevent the app from running, nor will it prevent the remote debug console from sending messages.

append delete #2. rob

Thank you for your reply. I have tried to remove ARKit to build with Cardboard only and it does complete the build.

I unchecked dSYM as you suggested and I couldn't notice any difference. I also moved my project to the same Drive as the iOS project builder with no success.

Here is the new log :
https://pastebin.com/XujEAy0J

append delete #3. Pierre-Marie Baty

Interesting. I'd need to have a look so as to reproduce that. Can you please send me your Xcode project (without the build directory to save space) at my email address pm at pmbaty dot com ? Confidentiality is guaranteed.

If sending the project is a problem, I suggest stripping it, or sending any other Xcode project as long as they exhibit the same behaviour. Note that I need the *Xcode project* as created by your version of Unity, not the Unity 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