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

'il2cpp-config.h' file not found #24

Closed mateenagy closed 6 years ago

mateenagy commented 6 years ago

Hi!

I am currently try to make unity vuforia and ionic work and I follow every single step, but I always get 'il2cpp-config.h' file not found error and I cant figure out the problem.

I go through the folders and this file is in the libil2cpp folder but I deleted this folder as the tutorial said.

mateenagy commented 6 years ago

I found the problem i just give a wrong path, but I ran into an another issue.

The build is working and i can start the application but when the openUnity method called I getting the following error:

EXC_BAD_ACCESS (code=1, address=0xb8)

screen shot 2018-04-23 at 19 00 14
yasirkula commented 6 years ago

Can this be of any help? #15

mateenagy commented 6 years ago

I already read that and maybe i made a mistake somewhere but I can't make it work. If I am right I need to do this, but I am pretty new in xcode.

screen shot 2018-04-23 at 20 22 15
yasirkula commented 6 years ago

It seems correct, if you applied the same thing to the Apple LLVM Custom Compiler Flags of ar-app under the TARGETS.

EXC_BAD_ACCESS errors are very annoying for me as I find them very hard to debug; maybe because I'm not good at Xcode, not sure. Currently, I don't have any clues about why that EXC_BAD_ACCESS might be happening. Please let me know if you find something new. Will do the same.

mateenagy commented 6 years ago

Yes they are the same. :( Yes it is really annoying because I don't know what it can be, but still trying or start over again and maybe get other result or something. I will let you know if I found any solution. Thank you anyway. :)

mateenagy commented 6 years ago

Okey I figured out what I did wrong and if anybody read the manual more carefully than me will never run into this problem. The problem was I include Data with Create groups and not with Create folder references. But I also run into issues with iOS 11.3 and xcode 9.3 so I made a new closed comment where I wrote these down and how to fix.

LasLamos commented 3 years ago

Im currently having the same issue. I deleted the il2cpp folder but get the missing il2cpp-config.h error. I'm not quite sure how to fix this.

mateenagy said he solved it by giving a different path but i'm not sure where I should set the path.

Any tips on how to solve this?

yasirkula commented 3 years ago

Probably he entered a wrong path here:

image

Also, as a reminder:

IMPORTANT NOTICE: make sure that the paths to your Ionic project and Unity build directory do not contain any space characters.

LasLamos commented 3 years ago

That was the problem, thanks. Im having a different issue now but maybe I can figure it out on my own.

Thanks for the quick help