Error while creating build for iOS simulator
Posted: 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:
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?