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 6755771
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:26:33+00:00 2026-05-26T13:26:33+00:00

How can I compile an iPhone project against Base SDK iOS 3.1.3 without getting

  • 0

How can I compile an iPhone project against Base SDK “iOS 3.1.3” without getting error messages saying “Undefined symbols for architecture i386”?

When using Base SDK “iOS 5.0” everything works fine, but I need to make sure the application works under iOS 3.1.3.

I use XCode 4.2. My frameworks all point to
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.3.sdk/…


BUILD LOG:

Ld "***" normal i386
    cd ***
    setenv MACOSX_DEPLOYMENT_TARGET 10.5
    setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang
      -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.3.sdk
      -L/Users/***/Library/Developer/Xcode/DerivedData/***/Build/Products/Debug-iphonesimulator
      -F/Users/***/Library/Developer/Xcode/DerivedData/***/Build/Products/Debug-iphonesimulator
      -filelist "/Users/***/Library/Developer/Xcode/DerivedData/***/Build/Intermediates/***.build/Debug-iphonesimulator/***.build/Objects-normal/i386/***.LinkFileList"
      -mmacosx-version-min=10.5
      -Xlinker -objc_abi_version
      -Xlinker 2 -Xlinker -no_implicit_dylibs
      -D__IPHONE_OS_VERSION_MIN_REQUIRED=30000 -lsqlite3
      -framework Foundation -framework UIKit -framework CoreGraphics
      -o "/Users/***/Library/Developer/Xcode/DerivedData/***/Build/Products/Debug-iphonesimulator/***.app/***"

Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_NSAutoreleasePool", referenced from:
  "_OBJC_CLASS_$_NSDictionary", referenced from:
  "_OBJC_CLASS_$_NSDecimalNumber", referenced from:
  "_OBJC_CLASS_$_NSMutableCharacterSet", referenced from:
(and 50 more)

ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
  • 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-26T13:26:34+00:00Added an answer on May 26, 2026 at 1:26 pm

    You should always compile against the latest SDK. If you need to support older devices, you need to change the “Deployment Target” build setting, and test on a real device (since Apple no longer supplies the 3.x simulators).

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

Sidebar

Related Questions

can I install iPhone SDK on mac server? I want to upload iPhone project
Can iPhone applications compiled against 2.1 be successfully installed via iTunes on a 2.0
I have a multi-module project. I thought I can compile only a single module
I installed the latest GM of the iPhone SDK and now I can't build
The advice from Apple is to always set the Base SDK for iPhone/iPad projects
I have an app, and I want to compile it for iOS 4.1 iPhone
I am working on a project for iPhone in Obj-C with iOS 4 and
I wonder how a can include an pre-compiled binary in an iPhone application. I
Are there any more generic tools that can compile or basically merge multiple PHP
Although the Flex command-line compiler (mxmlc) can compile MXML + ActionScript files into SWFs

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.