Error while creating build for iOS simulator
I have developed an app using NoesisGUI and it works fine on an actual device (iOS and Android).
Now I need to make a build for the iOS simulator (this is required by facebook to be able to review the app's permissions).
To make this build I select the 'Simulator SDK' in Unity's player settings and then do an iOS build. When I build the generated project in XCode, it compiles fine but it gives link-errors on basically all Noesis functions.
Example of such a link error:
To be honest I don't have a lot of experience with XCode so I might be doing something wrong. Any idea how I can fix this?
Now I need to make a build for the iOS simulator (this is required by facebook to be able to review the app's permissions).
To make this build I select the 'Simulator SDK' in Unity's player settings and then do an iOS build. When I build the generated project in XCode, it compiles fine but it gives link-errors on basically all Noesis functions.
Example of such a link error:
I also get a warning which I think points to the root cause:Undefined symbols for architecture i386:
"_AccessKeyEventArgs_SWIGUpcast", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
So if I understand this correctly, XCode is expecting an i386 version of the libNoesis library but it can only find an ARM version.ld: warning: ignoring file /Users/kristofverbiest/Desktop/Trunk/iosBuild/Libraries/libNoesis.a, file was built for archive which is not the architecture being linked (i386): /Users/kristofverbiest/Desktop/Trunk/iosBuild/libraries/libNoesis.a
To be honest I don't have a lot of experience with XCode so I might be doing something wrong. Any idea how I can fix this?
Re: Error while creating build for iOS simulator
Hi,
Yes, problem is that the libNoesis.a library found in the package is only for ios_arm. We decided not to officially include it because the size of the unity package considerably increased. In fact, we stopped building in on each release. If you need it make sure that you are using the last version of noesisGUI and email us in private asking for it. I will provide you a link to download.
Yes, problem is that the libNoesis.a library found in the package is only for ios_arm. We decided not to officially include it because the size of the unity package considerably increased. In fact, we stopped building in on each release. If you need it make sure that you are using the last version of noesisGUI and email us in private asking for it. I will provide you a link to download.
Who is online
Users browsing this forum: No registered users and 4 guests