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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:29:36+00:00 2026-05-26T16:29:36+00:00

My project no longer compiles for the iOS 5.0 Simulator after upgrading to automatic

  • 0

My project no longer compiles for the iOS 5.0 Simulator after upgrading to automatic ref counting. It still compiles flawlessly for any iOS device.

Also, after upgrading to iOS 5, but before upgrading to automatic ref counting, my project would compile flawlessly for both device and simulator.

The linker says it can’t find the following symbols:

  • _objc_assign_global
  • _objc_assign_ivar
  • _objc_assign_strongCast

I thought at first I might be missing a Simulator specific framework, but after adding every available framework I still get the same errors.

Other Info

  • iOS deployment target is: 4.0.
  • OS is Snow Leopard OSX 10.6.8 64bit
Undefined symbols for architecture i386:
  "_objc_assign_global", referenced from:
      +[InAppPurchaseManager sharedInAppPurchaseManager] in InAppPurchaseManager.o
      +[ThemeManager sharedThemeManager] in ThemeManager.o
      +[DownloadUpdatesManager sharedDownloadUpdatesManager] in DownloadUpdatesManager.o
      +[AudioManager sharedAudioManager] in AudioManager.o
      +[IOHelper sharedIOHelper] in IOHelper.o
      -[CKBezierPath svgStringPath] in CKBezierPath.o
      +[PreferencesManager defaultLineWidth] in PreferencesManager.o
      ...
  "_objc_assign_ivar", referenced from:
      -[InAppPurchaseManager init] in InAppPurchaseManager.o
      -[InAppPurchaseManager addTransactionObserver:] in InAppPurchaseManager.o
      -[InAppPurchaseManager removePurchaseTransactionObserver:] in InAppPurchaseManager.o
      -[InAppPurchaseManager purchaseProduct:forThemeIDType:] in InAppPurchaseManager.o
      -[InAppPurchaseManager productsRequest:didReceiveResponse:] in InAppPurchaseManager.o
      -[ThemeEditVC viewDidLoad] in ThemeEditVC.o
      -[ThemeEditVC setDelegate:] in ThemeEditVC.o
      ...
  "_objc_assign_strongCast", referenced from:
      +[SFHFKeychainUtils getPasswordForUsername:andServiceName:error:] in SFHFKeychainUtils.o
      +[SFHFKeychainUtils storeUsername:andPassword:forServiceName:updateExisting:error:] in SFHFKeychainUtils.o
      +[SFHFKeychainUtils deleteItemForUsername:andServiceName:error:] in SFHFKeychainUtils.o
      __replacePlaceholdersWithValues in Utility.o
      -[LocationManager checkForNewLocation:] in LocationManager.o
      -[LocationManager getNewLocationInStringFormat] in LocationManager.o
      ___52-[LocationManager getNewLocationInStringFormat]_block_invoke_0 in LocationManager.o
      ...
ld: symbol(s) not found for architecture i386

Edit:

Objective-C Garbage Collection was set to “Supported” rather than “Required”. After setting it to “Required”, I got the error:

ld: /Users/teacher/drawingapp/FlurryLib/libFlurryAnalytics.a(FlurryAnalytics.o) built with incompatible Garbage Collection settings to link with previous .o files for architecture i386
Command /Developer_4_2_ios5/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang failed with exit code 1

After removing the Flurry library, the the previous error messages started appearing again.

Edit 2:

Well it looks like Garbage Collection is only supported for OS X and not for iOS. I still don’t understand why it would allow me to compile and run the app on the device with Garbage Collection turned on, yet not on the simulator.

Anyway I’ve just set Garbage Collection to “Unsupported” but now it will no longer compile and run on the device.

I’m now getting this error:

/Users/teacher/drawingapp/Main/Source/PurchaseThemeOptionVC.m 
1. /Users/teacher/drawingapp/Main/Source/PurchaseThemeOptionVC.m:52:1: current parser token '-'
2. /Users/teacher/drawingapp/Main/Source/PurchaseThemeOptionVC.m:39:1: LLVM IR generation of declaration 'PurchaseThemeOptionVC::viewDidLoad'
3. /Users/teacher/drawingapp/Main/Source/PurchaseThemeOptionVC.m:39:21: LLVM IR generation of compound statement ('{}')
clang: error: unable to execute command: Segmentation fault
clang: error: clang frontend command failed due to signal 2 (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-26T16:29:37+00:00Added an answer on May 26, 2026 at 4:29 pm

    The compiler should only reference those functions if you enable garbage collection. Are you sure those object files weren’t compiled with garbage collection enabled?

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

Sidebar

Related Questions

After doing a subversion merge with a co-worker, my VSeWSS project no longer build
since upgrading to Xcode 4.2 and iOS 5 I can no longer run my
Is it possible to suppress warnings in Eclipse for JDK1.4 project? EDIT: Longer version.
I accidentally moved my Dynamic Data folder into my Images folder. The project still
Take this scenario: after a compile from scratch of a Cocoa Touch project, Xcode
I am trying to compile some code from a project that is no longer.
I decided to use log4net as a logger for a new webservice project. Everything
Project Darkstar was the topic of the monthly JavaSIG meeting down at the Google
Project: http://design.vitalbmx.com/fave/news.html When I click Add to favorites button (under main pic), in Chrome
Project layout: /project_a /shared /project_b /shared /shared project_a and project_b both need to contain

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.