Saturday, 24 August 2013

xcode: Mysql connector library not work on iphone5 (armv7s) ,any solution?

xcode: Mysql connector library not work on iphone5 (armv7s) ,any solution?

I built my App using Mysql Connector/C to connect a remote Mysql database,
its works fine on the simulator (no errors, no warnings) but when i try to
run it on my device (iphone5) i got this error:
No architectures to compile for (ARCHS=armv7 armv7s, VALID_ARCHS=armv7
armv7s)
i tried -as in some answers- to change setting (Architectures - Build
Active Architectures- Valid Architectures) but the error still, only when
i change the setting (Architectures & Valid Architectures) to "armv6" its
build without error but many warnings appears says:
warning: no rule to process file '(my App dir)/main.m' of type
sourcecode.c.objc for architecture armv6
and also for all .m files, when i tried to start the App i got message:
Xcode cannot run using selected device
I know that the Connector library need to update , but are there any
solution ?

No comments:

Post a Comment