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

The Archive Base Latest Questions

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

I have an iPhone app that compiles and runs fine in the Simulator on

  • 0

I have an iPhone app that compiles and runs fine in the Simulator on my laptop. Now, I try to build and run the same code in the Simulator on an iMac, and it starts up and lets me click a button, but then I get an assertion failure.

Here is what is in the console:

*** Assertion failure in -[UILabel setFont:], /SourceCache/UIKit/UIKit-738/UILabel.m:438 *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: font != nil' Stack: ( 2493366603, 2432871995, 2493366059, 2459146836, 817183141, 817926218, 837317240, 837317032, 837315376, 837314643, 2492860866, 2492867620, 2492869880, 85304, 85501, 816175835, 816221412, 9096, 8930 ) 

Here’s the stack trace:

#0  0x949dbff4 in ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ #1  0x9102ae3b in objc_exception_throw #2  0x94962ad3 in CFRunLoopRunSpecific #3  0x94962cf8 in CFRunLoopRunInMode #4  0x00014d38 in GSEventRunModal #5  0x00014dfd in GSEventRun #6  0x30a5dadb in -[UIApplication _run] #7  0x30a68ce4 in UIApplicationMain #8  0x00002388 in main at main.m:16 

My code does not make any direct calls to setFont:. However, this would be the point in the program’s execution where some buttons are made visible for the first time.

I’ve Googled. A few people with similar problems say that this gets magically fixed when they edit the NIB, or change their time zone, or other weirdness.

Any ideas what the real cause is?

(Please no whining about NDA’s.)


Update: If I change the font of some of my buttons from ‘TimesNewRomanPS-BoldMT’ to ‘Times’, then the assertion failure no longer occurs. But why can’t I use the desired font, which exists on the iPhone, is installed on the new machine, and is selectable in Interface Builder?

  • 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. 2026-05-10T18:33:51+00:00Added an answer on May 10, 2026 at 6:33 pm

    If you’ve got UILabels in your xib file, they may be somehow corrupt, or you may have set a font to them that doesn’t exist on both your machines (you can use command-T when editing a UILabel to bring up the font picker; not sure it’s possible to set a non-iPhone font, but it may be). Otherwise, try removing UILabels from your xib file until it runs, and there’s your culprit.

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

Sidebar

Related Questions

I have an app that has been running fine on the iPhone simulator for
I've got an iPhone app that runs on the device. Now I need to
I have an iPhone app that works fine in 2.x version of the SDK.
I have an iPhone app that heavily relies on the OpenCV library; as such,
I have an iPhone app that is based on a navigation controller. I have
I have an iphone app that I built based off a tutorial (for a
I have an iPhone app that shows a simple view (View 1) that has
I have an iPhone app that uses the json-framework . I moved some of
I have an iPhone app that will incorporate liking / +1 with a global
I have written an iPhone app that uses the iPhone's relative GPS location. I

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.