keijiro / Rcam2

Remote depth camera with iPad Pro with LiDAR sensor
The Unlicense
383 stars 40 forks source link

This project isn't building in Xcode anymore? #8

Closed vettorazi closed 2 years ago

vettorazi commented 2 years ago

Hi @keijiro I spent all day trying to make this project to build on my Ipad, but every time it shows the same message (below) I already built once, a year ago. But this time didn't work.

First I imagined that could be the unity version. So I downgraded the Unity version, but this didn't work. I tried to downgrade Xcode to the same version I used and didn't work. I even installed Unity and Xcode in the old Intel Mac to build this project (just in case it was my Macbook Silicon being finicky) but no success.

The only thing that I think that could be the issue it's my NDI SDK. currently I am using sdk5 while the project it's using a older one. but either way, I don't know if this would affect the build to the Ipad (btw, it's the same ipad I used before).

Screen Shot 2022-01-13 at 6 09 56 PM Screen Shot 2022-01-13 at 6 05 58 PM
keijiro commented 2 years ago

It seems that the Xcode project settings are broken. It's recommended to clear the Xcode project and re-export it from Unity.

vettorazi commented 2 years ago

This was from a fresh install of Xcode. I will try again and let you know. Thanks!

On Thu, Jan 13, 2022 at 6:22 PM Keijiro Takahashi @.***> wrote:

It seems that the Xcode project settings are broken. It's recommended to clear the Xcode project and re-export it from Unity.

— Reply to this email directly, view it on GitHub https://github.com/keijiro/Rcam2/issues/8#issuecomment-1012689562, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2H5D7SJNDAAHKK3UKJDILUV6CGLANCNFSM5L5Q3LFQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

-- Daniel Vettorazi vettorazi.com http://vettorazi.com

keijiro commented 2 years ago

This was from a fresh install of Xcode.

Xcode (app) is not relevant. Remove the Xcode project directory and rebuild (re-export) the Xcode project from Unity Editor.

vettorazi commented 2 years ago

Re-exported to a new folder, it seems that is the same errors as before:

Screen Shot 2022-01-13 at 6 49 55 PM
keijiro commented 2 years ago

Are there still "UnityARKit" errors? Or just "vImage" and "NDI" errors?

vettorazi commented 2 years ago

Only these vImage and NDI.

keijiro commented 2 years ago

Then the 50% of the problem (broken Xcode project) was solved by rebuilding the project.

The rest of the problem is clearly caused by NDI.

Could you try upgrading the KlakNDI package from the Package Manager?

keijiro commented 2 years ago

(You have to remove the Xcode project and re-export it again after upgrading the KlakNDI package)

vettorazi commented 2 years ago

It worked. but it fails showing only one (new) error:

Screen Shot 2022-01-13 at 7 13 32 PM

I have NDI advanced SDK installed.

keijiro commented 2 years ago

I have never seen this error. Could you check if you can build the KlakNDI sample project?

vettorazi commented 2 years ago

Yeah. just tried. It shows the same error. Showing Recent Messages Undefined symbol: Processing::NDI::Plugins::Lib::memory::xml::validate_xml(char const*)

keijiro commented 2 years ago

Okay. Thank you for the clarification. This issue should be fixed in the plugin (KlakNDI) side. Could you report it to the KlakNDI repository? I'll take a look into it.

vettorazi commented 2 years ago

Of course. Thanks Keijiro.