Linking a static library with Xcode 3.2.2 and SDK 3.2
I have a static library that I incorporate into my project with a
cross-project reference. The library is set up as a dependency and
gets built when I clean and build my main project.
OS SDK 3.2 (iPad). Running the app in the simulator works, but trying
to run it on the actual device produces a link error for the following
symbols: ___save_vfp_d8_d15_regs and ___restore_vfp_d8_d15_regs I was able to fix the issue by modifying the version of GCC used to compile the static library from 4.2 to 4.0. I didn't want to do that and kept looking for other things to try, though.
I ended up changing the Architectures setting of the static library to "Optimized (armv6 armv7)" to produce a universal binary. I switched back to GCC 4.2. That worked.
I made one last change that isn't reflected in the screenshot above. I selected the Architectures value ("Optimized (armv6 armv7)") and picked "Other". I manually entered "armv7" since this is iPad-only. This also worked and is probably what I'll end up moving forward with; let me know if you have any suggestions.

