Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 774745
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T19:10:51+00:00 2026-05-14T19:10:51+00:00

I’ve already spent countless hours puzzling over this, utilizing Google searches and other Stack

  • 0

I’ve already spent countless hours puzzling over this, utilizing Google searches and other Stack Overflow questions to no avail.

I have an iPhone/iPad universal application, which seems to compile fine when the target is armv6. However, when the device is iPad, I get this warning:

warning: building for SDK 'Device - iPhone OS 3.2' requires an armv7 architecture.

Oddly enough, the app still runs great on iPad in spite of this warning. However, I do want to do things the “right way” what ever that means in this case. When I switch the target architecture to armv7, I get linking errors:

  "___restore_vfp_d8_d15_regs", referenced from:
     *redacted*

  "___save_vfp_d8_d15_regs", referenced from: 
     *redacted*

ld: symbol(s) not found

collect2: ld returned 1 exit status

The “redacted” portions of the errors are references to the static library to which I’m trying to link.

Here’s what I’ve tried from the many suggestions online. Each of these were suggested more than once without any explanation, which leads me to believe nobody quite understands this problem:

“Never use the drop down menu in the upper left of the XCode window to choose the target. Instead, set this to Base SDK and then the Base SDK to iPhone OS 3.0 in the target configuration. Set the target device to your preferred target (iPad, iPhone OS 3.2 in my situation.)”

This yields the error “Library not found for -lcrt1.3.1.o”

“Make sure that GCC isn’t linking against the wrong version of the standard library. (You’ll have to make sure the LIBRARY_SEARCH_PATH doesn’t have the wrong path in it.)”

My LIBRARY_SEARCH_PATH is already empty, so this doesn’t seem relevant.

“Try compiling with GCC 4.0 rather than GCC 4.2.”

I get a syntax error inside a UIKit header file. The error is “Syntax error before ‘AT_NAME’ token.” The line is “UIKIT_EXTERN @interface UILocalizedIndexedCollation : NSObject.”

Another project compiles just fine with the same target settings, which is really making me question my sanity. Could I be dealing with a corrupt XCode project?

If anyone knows what’s actually happening and has a reference or doesn’t mind explaining it, I would be so very grateful.

Cheers!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T19:10:51+00:00Added an answer on May 14, 2026 at 7:10 pm

    VFP between ARMv7 and ARMv6 differs in various ways. In ARMv7 its usually preferable to use NEON. The problem is your static library depends on VFP in ARMv6 – you either need to compile the library at ARMv7 or keep the whole application at ARMv6.

    Reverting back to GCC 4.0 is silly – ARMv7 support was basically nonexistent back then unless Apple backported it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 395k
  • Answers 395k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Is there a way to integrate applications with the common… May 15, 2026 at 2:39 am
  • Editorial Team
    Editorial Team added an answer I assume you get categories from database. you should try:… May 15, 2026 at 2:38 am
  • Editorial Team
    Editorial Team added an answer I finally found the answer (I haven't noted my source… May 15, 2026 at 2:38 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.