coolishbee / universal-sdk-unity

The Universal SDK for Unity provides a modern way of implementing Social Login APIs.
45 stars 11 forks source link

Universal SDK "unsupported architecture" in Xcode #45

Closed episodicJaycee closed 3 months ago

episodicJaycee commented 3 months ago

What did you do?

I installed the Universal SDK per the docs (not very clear by the way). Created an iOS Xcode Project from Unity for Simulator and Device. Opened the project in Xcode. Hit build (simulator and device).

What did you expect?

The project would build to simulator/device.

What happened actually?

The build failed with the following error

Screenshot 2024-05-07 at 2 32 25 PM Screenshot 2024-05-07 at 2 48 26 PM

Your environment?

Unity 2022.3.27f1 iOS 17.4 simulator/device Universal SDK 1.3.0 Xcode 15.3

Screenshots or Log

Screenshots included above ;)

coolishbee commented 3 months ago

sorry 😢 The simulator architecture is not yet supported. I have plans to apply soon :)

episodicJaycee commented 3 months ago

Hmmm, ok. I got it built to my device but then I get this error

Screenshot 2024-05-07 at 4 25 55 PM

I then followed the troubleshooting in the docs, but those settings were already set https://chc3484.gitbook.io/sdk/unity-sdk/trouble-shooting/universalsdk.framework-load-failure-when-running-app

episodicJaycee commented 3 months ago

Any idea why I’d be getting this issue? I can’t seem to figure it out? I finally got the app to build properly to device, since the simulator is not available yet as you mentioned. 

On May 7, 2024, at 4:02 PM, James Cheon @.***> wrote:

sorry 😢 The simulator architecture is not yet supported. I have plans to apply soon :)

— Reply to this email directly, view it on GitHub https://github.com/coolishbee/universal-sdk-unity/issues/45#issuecomment-2099388872, or unsubscribe https://github.com/notifications/unsubscribe-auth/BEZYCJMCKBR3COGUNMQAMB3ZBFFQNAVCNFSM6AAAAABHLZQ7L6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJZGM4DQOBXGI. You are receiving this because you authored the thread.

coolishbee commented 3 months ago

It's clear why the library wasn't loaded. This is because it was not referenced during build. There is no other way to explain it.

If the library is not loaded, can you try deleting the build folder and trying again cleanly, or try adding the library manually? (A new version has been released, please try it.)

episodicJaycee commented 3 months ago

Hey James,

I saw that you released the update to 1.3.1 and updated. That seemed to do the trick. Now I’m stuck on other issues, but not to do with Universal. Thanks!!!

On May 9, 2024, at 9:50 PM, James Cheon @.***> wrote:

It's clear why the library wasn't loaded. This is because it was not referenced during build. There is no other way to explain it.

If the library is not loaded, can you try deleting the build folder and trying again cleanly, or try adding the library manually? (A new version has been released, please try it.)

— Reply to this email directly, view it on GitHub https://github.com/coolishbee/universal-sdk-unity/issues/45#issuecomment-2103808267, or unsubscribe https://github.com/notifications/unsubscribe-auth/BEZYCJKGVFQDBSD2RK5C763ZBQ7Z7AVCNFSM6AAAAABHLZQ7L6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBTHAYDQMRWG4. You are receiving this because you authored the thread.