cesium-unity icon indicating copy to clipboard operation
cesium-unity copied to clipboard

Many Errors , unable yo build to Android Until i delete IOS library

Open nitroman123 opened this issue 1 year ago • 9 comments

image

unity 2021.3.44

nitroman123 avatar Oct 09 '24 08:10 nitroman123

I'm not sure what might be happening there. It's not obvious those errors have anything to do with iOS. It is common to see some iOS-related warnings, but they shouldn't cause any harm. One thing that can cause the sort of errors in your screenshot is attempting to build for 32-bit Android. Only 64-bit Android (ARMv8) is supported.

If you think there's something we need to change in Cesium for Unity, please walk us through what you did and what you saw so that we can reproduce the problem ourselves.

kring avatar Oct 11 '24 00:10 kring

this ones , are errors , but my workaround in order to build il2cpp was to delete ios library... mono for some reason it could build in mono with library , not sure what steps you need to take...

nitroman123 avatar Oct 11 '24 06:10 nitroman123

You're saying it does build when targetting Mono, without deleting the iOS binaries? That's pretty surprising, because I believe Mono only runs on ARMv7 on Android, and that platform isn't supported at all.

kring avatar Oct 18 '24 15:10 kring

yes i don't know why... yes i found first this that i ve made that discovering first and then i used the logs and i decided to delete the iOS library and it works...

nitroman123 avatar Oct 18 '24 15:10 nitroman123

@nitroman123 from your last response it sounds like you were able to get things working. Is there anything else actionable on our side here? Anything we can do to support you on this?

j9liu avatar Nov 15 '24 16:11 j9liu

The process of deleting and re-import the library it's not very viable as you understand everytime you switch from ios to andriod and vise versa... can you reproduce with unity 2021.3.44f1 ?

On Fri, Nov 15, 2024, 19:00 Janine Liu @.***> wrote:

@nitroman123 https://github.com/nitroman123 from your last response it sounds like you were able to get things working. Is there anything else actionable on our side here? Anything we can do to support you on this?

— Reply to this email directly, view it on GitHub https://github.com/CesiumGS/cesium-unity/issues/514#issuecomment-2479438523, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO7QBRNHUCZC67XSNPD4VKL2AYSBVAVCNFSM6AAAAABPT5WIMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZZGQZTQNJSGM . You are receiving this because you were mentioned.Message ID: @.***>

nitroman123 avatar Nov 17 '24 02:11 nitroman123

not the propper way and how it suppose to be

nitroman123 avatar Nov 18 '24 23:11 nitroman123

@nitroman123 I'm having trouble understanding what you think needs to change.

Cesium for Unity only supports 64-bit platforms, which means ARMv8 not ARMv7. Because of a Unity limitation, that also means you must use il2cpp, not Mono. If you're using il2cpp and ARMv8, and you're still seeing errors related to the iOS binaries, then please let us know. We are not seeing that ourselves, though.

kring avatar Nov 19 '24 04:11 kring

Hi ,problem is that iOS plugin content is set to any platform, but it should only be iOS only

Miquel-scala avatar Jun 27 '25 11:06 Miquel-scala