ShiVa3D
Plugin fails in iPhone simulator
ShiVa Plugin DevelopmentPlugin fails in iPhone simulator
by flippout » 05 Nov 2011, 03:20
Hey all, I get an error when trying to build my project using my new plugin:
ld: warning: ignoring file ...MonkeyDrum_iPad.s3dxproj/Plugins/flippfly_iOS.a, file was built for archive which is not the architecture being linked (i386)
I guess I need to change some setting in my plugin project, or build a simulator version of this library and stick it somewhere?
Has anyone dealt with this before?
ld: warning: ignoring file ...MonkeyDrum_iPad.s3dxproj/Plugins/flippfly_iOS.a, file was built for archive which is not the architecture being linked (i386)
I guess I need to change some setting in my plugin project, or build a simulator version of this library and stick it somewhere?
Has anyone dealt with this before?
- flippout
- Gold Boarder

- Posts: 279
Re: Plugin fails in iPhone simulator
by giggsy » 05 Nov 2011, 11:42
Weird thing is, for some plugins I even get this error for the device, even if I double check that arm6 and 7 are built :/
Any tips welcome too!
Using iOS SDK 5, xCode 4.2 or so and UAT 1.3 beta 4... but was the same issue before upgrading all (SDK+UAT).
Any tips welcome too!
Using iOS SDK 5, xCode 4.2 or so and UAT 1.3 beta 4... but was the same issue before upgrading all (SDK+UAT).
-

giggsy - Platinum Boarder

- Posts: 1008
- Location: Austria
Re: Plugin fails in iPhone simulator
by NiCoX » 05 Nov 2011, 12:09
Hi,
Check that the plug-in's Xcode project contains the x86 target. If not, just add it. Note that you may have to build the x86 target separately, then use lipo to create the "triple" universal library.
Check that the plug-in's Xcode project contains the x86 target. If not, just add it. Note that you may have to build the x86 target separately, then use lipo to create the "triple" universal library.
-

NiCoX - Platinum Boarder

- Posts: 5626
- Location: France
Re: Plugin fails in iPhone simulator
by makkar » 27 Oct 2012, 09:29
I did also get this i386 error for a plugin. In my case, at least for now for quick testing, I don't need a universal build , I just want to run the plugin in my app in the simulator.
How can I build the plugin to contain only or at least the i386 architecture for the simulator?
How can I build the plugin to contain only or at least the i386 architecture for the simulator?
4 posts
• Page 1 of 1