Topic Author
Posts: 19
Joined: 22 Apr 2014, 14:44

Error while creating build for iOS simulator

31 Oct 2014, 09:45

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:
Undefined symbols for architecture i386:
"_AccessKeyEventArgs_SWIGUpcast", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
I also get a warning which I think points to the root cause:
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
So if I understand this correctly, XCode is expecting an i386 version of the libNoesis library but it can only find an ARM version.

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?
User avatar
Site Admin
Posts: 3204
Joined: 20 Jan 2012, 17:18

Re: Error while creating build for iOS simulator

03 Nov 2014, 18:29


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 0 guests