oksunp / vvopensource

Automatically exported from code.google.com/p/vvopensource
0 stars 0 forks source link

Xcode 4.5.2 & iOS6 issues #32

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Having issues getting things going with 4.5.2 and iOS6 (running OSX 10.8). 
Binaries that were compiled in 10.7 for iOS5 work for iOS6 simulator, but when 
compiling for iOS6 device get an error saying:

"local/lib/libVVOSC.a, file was built for archive which is not the architecture 
being linked (armv7s)"

Attempting to recompile VVOSC under 10.8 gives many warnings, though it will 
eventually compile (when changing build targets to iOS6 and OSX 10.8 [as 
opposed to iphonesim5.1SDK and 10.7 SDK), but these binaries do not work at all 
in my project.

Original issue reported on code.google.com by jgsla...@gmail.com on 7 Dec 2012 at 5:13

GoogleCodeExporter commented 8 years ago
"(when changing build targets to iOS6 and OSX 10.8 [as opposed to 
iphonesim5.1SDK and 10.7 SDK)"

actually, when you downloaded this project the original SDK for the sim target 
was "iphonesimulator5.1".  you changed it to "iOS6.0" and things broke.  hint: 
try changing it to "iphonesimulator6.0".  this has to be repeated for each 
individual target (simulator targets compile against the simulator, dev targets 
compile against the iphoneos SDK).  the only thing you should be changing is 
the version number.

i just went through and changed *nothing but version numbers*, and the project 
immediately compiled and installed a functional SDK that resulted in a test iOS 
project compiling and running in the simulator successfully.

Original comment by raycut...@gmail.com on 9 Dec 2012 at 12:13

GoogleCodeExporter commented 8 years ago
Ah ok -- I didn't see the "iphonesimulator6.0" in the drop down, so I figured 
it wasn't an option. I will try simply typing it in.

Another question -- when compiling, should the "scheme" (top left of Xcode) be 
set to "Build & Install iOS SDK" --> "My Mac 64-bit". There are other options 
besides "My Mac 64-bit", such as "iOS Device", "iPad 6.0 Simulator", etc. I 
wasn't sure if I needed to ever select any of these.

Thanks for such a great library!

Original comment by jgsla...@gmail.com on 10 Dec 2012 at 5:19

GoogleCodeExporter commented 8 years ago
Hi,

How, specifically, did you resolve this error? I've tried updating version 
numbers and Targeted Device Families, but I can only get VVOSC to work in the 
simulator. When I compile for my iPad I get the error:

ld: symbol(s) not found for architecture armv7s

Is this what you were experiencing? If so, or if not, how might that be 
resolved?

Original comment by brianste...@gmail.com on 10 Aug 2013 at 8:30