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

  • Home
  • SEARCH
  • 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 4267486
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T06:54:22+00:00 2026-05-21T06:54:22+00:00

I had completed an iPhone, and then decided to build an iPad version. So,

  • 0

I had completed an iPhone, and then decided to build an iPad version. So, upgrading to xCode 4, I decided to create a workspace with 3 projects – iPhone, iPad, and Common (cross-refernced static library). I then stripped all of the classes I was using in the iPhone project that I felt could be used in the iPad as well. I placed those “common” classes in my static library project.

My next step was to build and make sure my iPhone project still worked. After running the app, several of the methods that I’m calling that are now in the static library are failing – causing the app to crash, SIGBRT, etc.

Upon further investigation, I determined that all the methods that are failing or causing the crash are coming from either UI subclassed objects, or from UI extended objects. For example, one of my classes extends UITableView with a custom method. This causes a crash. Another method is from a custom subclass that inherits from UILabel. This also causes a crash.

All other objects/methods in the static library seem to be working fine. Does anyone have an idea what’s happening here? Do I need some extra build configuration setup in my project to get this to work? I can’t imagine I’m not allowed to use UI subclassing/extensions in my static library, but who knows…

Any help/insight would be appreciated…

Thanks!

  • 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-21T06:54:23+00:00Added an answer on May 21, 2026 at 6:54 am

    Set -all_load in Linking in your Build Settings.

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

Sidebar

Related Questions

My world was perfect when I had XCode version 3.x (3.1 or 3.2?). Then
I had the following version of Xcode on my MAC mimi - Version: 4.2
I've been working on this iPhone app for a while now, and I had
I am writing an iPhone application and I have finally decided to use RestKit
I upgraded my iPhone to 4.3.4 (8K2) and I can no longer build my
We use ADP for employee information. I had to create a small app that
I had created an iPhone app long time back. Now I want to kind
I have been following a HelloWorld tutorial on how to create a basic iphone
Had an interesting discussion with some colleagues about the best scheduling strategies for realtime
Had a coworker ask me this, and in my brain befuddled state I didn't

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.