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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:09:32+00:00 2026-05-26T04:09:32+00:00

Possible Duplicate: iOS App crashing before entering main() with Xcode 4.2 & iOS 5

  • 0

Possible Duplicate:
iOS App crashing before entering main() with Xcode 4.2 & iOS 5

I am working on an app that works fine on simulator 4.3 but when I try it on simulator 5.0 it crashes before even reaching the main method. I get no informations, only gdb is available but the few I can ask him leads me nowhere.

Here’s the stack-trace from gdb:

#0  0x00000000 in ?? ()
#1  0x95392ef3 in mig_get_reply_port ()
#2  0x9538c70c in mach_ports_lookup ()
#3  0x02845124 in _xpc_domain_init_local ()
#4  0x02842eb1 in _libxpc_initializer ()
#5  0x8fe7c15b in __dyld__ZN16ImageLoaderMachO18doModInitFunctionsERKN11ImageLoader11LinkContextE ()
#6  0x8fe7bcc0 in __dyld__ZN16ImageLoaderMachO16doInitializationERKN11ImageLoader11LinkContextE ()
#7  0x8fe79220 in __dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEjRNS_21InitializerTimingListE ()
#8  0x8fe791b6 in __dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEjRNS_21InitializerTimingListE ()
#9  0x8fe791b6 in __dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEjRNS_21InitializerTimingListE ()
#10 0x8fe791b6 in __dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEjRNS_21InitializerTimingListE ()
#11 0x8fe791b6 in __dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEjRNS_21InitializerTimingListE ()
#12 0x8fe7a1c0 in __dyld__ZN11ImageLoader15runInitializersERKNS_11LinkContextERNS_21InitializerTimingListE ()
#13 0x8fe6e656 in __dyld__ZN4dyld24initializeMainExecutableEv ()
#14 0x8fe72ef2 in __dyld__ZN4dyld5_mainEPK12macho_headermiPPKcS5_S5_ ()
#15 0x8fe6c2ef in __dyld__ZN13dyldbootstrap5startEPK12macho_headeriPPKclS2_ ()
#16 0x8fe6c063 in __dyld__dyld_start ()

Is it understandable for someone? Or how can I find more readable informations about that crash?

P.S. I’m working under XCode 4.2 Build 4D177b

  • 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-26T04:09:33+00:00Added an answer on May 26, 2026 at 4:09 am

    Removing -weak_library /usr/lib/libSystem.B.dylib from your OTHER_LDFLAGS in Build Settings worked for me.

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

Sidebar

Related Questions

Possible Duplicate: crashing on ios device while navigation using UIModalTransitionStylePartialCurl in xcode 4 HI
Possible Duplicate: How to check iOS version? I'm building an app that has an
Possible Duplicate: How to parse JSON in iOS App I have the following json:
Possible Duplicate: How can I implement voice recognition into my iOS app? I am
Possible Duplicate: Is there an handwriting recognition library for IOS? I'm building an app
Possible Duplicate: Is there any reason to modify the main.m file in your iOS
Possible Duplicate: Procedure to submit iPhone application to App Store? Its my first IOS
Possible Duplicate: Cannot find window-based application on XCode I am pretty new to IOS
Possible Duplicate: Debugging iOS/AIR content on the device I'm porting my Air app to
Possible Duplicate: Is it possible to target older iOS versions when using Xcode 4.2

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.