yasirkula / UnityIonicIntegration

A guide to integrating Unity 3D content into an Ionic app and sending messages between them (for Android & iOS)(tested with Vuforia plugin)
104 stars 32 forks source link

library not found for -lUnityARKit #70

Open LasLamos opened 3 years ago

LasLamos commented 3 years ago

Description of the bug

I followed your guide on how to integrate a unity project into an ionic app. On Android side everything works fine but I can't get the iOs App to build.

Bildschirmfoto 2021-03-23 um 19 42 02

After applying all of your suggested changes I get the error message above. The UnityArkit Library is in the Library folder of the unity group and in the build settings under Library Search Path I added $(UNITY_IOS_EXPORTED_PATH)/Libraries

Do you have any suggestions on how to resolve this?

yasirkula commented 3 years ago

Does this help: https://github.com/yasirkula/UnityIonicIntegration/issues/26

LasLamos commented 3 years ago

Unfortunately no, the framework was already added there. But ill try again this evening after work and give you an update.

Eelam commented 3 years ago

Hi, I am new to Ionic. Could you please post the screen image or video of Unity and Ionic interaction? Thanks

LasLamos commented 3 years ago

I tried to add the ArKit Library again, but I get the same error message. Bildschirmfoto 2021-03-24 um 17 51 24

I also tried to disable Bitcode, but again the same error

yasirkula commented 3 years ago

Unfortunately I don't know the cause of the issue. I'd recommend you to build your Unity project to iOS, open the generated Xcode project/workspace and compare its settings/file hierarchy with Ionic-integrated Xcode project/workspace. It can be tedious or it can be quicker than expected but I can't think of any other solutions.

@Eelam I haven't used Ionic for 3 years and haven't maintained this plugin in that period. I didn't archive the repository because I want people to be able to create new Issues or Discussions and seek help from each other. I may add a notice to README that the plugin is no longer maintained. You can check out Unity as a Library and see if it works with Ionic. There are also a few threads about this topic on Unity forums but none of them are answered, unfortunately:

LasLamos commented 3 years ago

Okay, but thanks for the help. If I'm able to find a solution ill post a update.