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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:31:46+00:00 2026-06-16T00:31:46+00:00

I am developing an app for iOS. I have created a static library that

  • 0

I am developing an app for iOS. I have created a static library that compiles with no problem on its own.

I followed these instructions to set up my static library.
http://www.blog.montgomerie.net/easy-xcode-static-library-subprojects-and-submodules

I also added a “copy headers” build phase then added all the headers as public, since that does not work exactly how it was described in the noted link.

I then pushed it to a Git repository.

After following all of the instructions in the linked article, when I try to build, I receive 150 Apple Mach-O linker errors. Here is the output log http://pastebin.com/Ma2tCK1w

The errors only occur after I start using the static library in the application project – just adding the static library does not cause any issues.

Has anyone else run in to this? I have all the correct Frameworks included, and all the source files are being compiled into the static library. I’m out of ideas at this point, I’ve followed basically every guide or answer I’ve found on any forum, SO, etc.

  • 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-06-16T00:31:47+00:00Added an answer on June 16, 2026 at 12:31 am

    The sample static library created in that blog post was so basic that it only required linking against the basic 3 iOS frameworks: UIKit.framework, Foundation.framework and CoreGraphics.framework. Because the iOS application project templates all include a “link binary with libraries” build phase step with those same 3 frameworks, he was able to include the static library in his iOS app with no additional steps.

    Based on your build output, your static library uses the functionality of many additional frameworks, like AddressBook.framework, AddressBookUI.framework, CFNetwork.framework, CoreData.framework, EventKit.framework, EventKitUI.framework, MediaPlayer.framework, MessageUI.framework, OpenGLES.framework, QuartzCore.framework, SystemConfiguration.framework, libxml2.dylib and possibly others. You need to make sure you add all of those frameworks/dylibs to your main iOS app project and include them in the “Link Binary with Libraries” build phase just like they are included in the static library’s link build phase.

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

Sidebar

Related Questions

I'm developing an iOS app that I want it to have more than 10
My scenario is that I have been developing an iOS app under my personal
I'm developing a web app for iOs device, but I have a problem with
I'm developing an app for iOS that use the new Twitter framework. I have
I'm developing an iOS app using Core Plot headers. I have different UI for
I have lately been developing a very simple app for iOS with PhoneGap. All
I'm developing an image warping iOS app with OpenGL ES 2.0. I have a
I'm new in developing iOS app. So I've recently faced a problem with localization
I am developing an IOS app. I need a functionality that includes undo and
I'm developing an iOS app. Its working properly on simulator. I'm using phonegap and

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.