Can I debug directly on an iPhone-5 (armv7s) iOS App built for only armv6 and armv7? -


our ios app relies on commercial third-party static-lib available armv6+armv7. reason, can't build our app armv7s. armv6+armv7+simulator.

our builds deployed , run on iphone-5 without problem - runs armv7 code.

however, cannot find way debug directly on iphone 5. when connect iphone-5 , try build debugging, linker errors this:

"no architectures compile (only_active_arch=yes, active arch=armv7s, valid_archs=armv7)." 

initially,i thought maybe "build active architecture" setting debug configuration caused xcode not try build armv7 when iphone-5 (armv7s) connected.

but when set "no" (have xcode build supported architectures time) whole other bunch of build errors (excerpt below --- have many targets , each emits similar errors).

=== build native target aspcommon of project aspcommon configuration debug === check dependencies no architectures compile (archs=i386, valid_archs=armv7).  ** build failed **  following build commands failed:     check dependencies (1 failure) command /bin/sh failed exit code 65 

this target has no dependencies, builds against ios sdk frameworks, , builds fine when device other ipad 4/iphone 5 connected.

finally question: @ possible directly debug armv7 code on armv7s device? if possible, when doing wrong in build settings break this?

thanks!

short answer: no. believe attempting isn't possible! third party static lib needs rebuilt armv7s. keep hounding them until update library.


Comments