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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T21:05:55+00:00 2026-05-17T21:05:55+00:00

We have an idea for an framework or library that will be very helpful

  • 0

We have an idea for an framework or library that will be very helpful for any iOS developer. So we’re seriously thinking about switching from app development to framework/library development.

But when we want to charge for the library/framework, we must protect the code somehow. How can we build a framework in such a way that the user of our framework can’t see the source code, similar to how we can’t see the source code of Apples frameworks? They only ship the header files and some weird Unix exe file with the compiled framework, I guess.

Or if it is not possible to make an compiled framework / library that other iOS developers can use without being able to copy&paste our source code, then is there a way to obfuscate the objective-c code?

  • 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-17T21:05:55+00:00Added an answer on May 17, 2026 at 9:05 pm

    Yes, it is possible to build frameworks so the user of the framework can’t see the source code.

    Check out these articles (I’ve successfully used the first one to create frameworks in the past — the later articles are updates to the original):

    http://www.drobnik.com/touch/2010/04/making-your-own-iphone-frameworks/

    http://www.drobnik.com/touch/2010/05/making-your-own-iphone-frameworks-in-xcode/

    http://www.drobnik.com/touch/2010/10/embedding-binary-resources/

    To use the framework, your users would just drag the .framework bundle into Xcode. They will be able to see the header files you copy into the bundle (see the articles above), but not the source (as it’s not included — only the compiled output is in the bundle).

    This can also be a great way to distribute code that is used for multiple projects within your company.


    Update:

    Check out the link featherless added below — it is much more recent and all on one page: http://github.com/jverkoey/iOS-Framework. It also lays out the issues with several other approaches. This is the guide I now follow when trying to remember what to do when setting up a new framework. 🙂

    Update2 (with Xcode 6 release)

    There is a option, exactly that you a re looking for:
    Universal Framework for iOS!

    Will be my code visible to others? A: No. This Framework will export a compiled binary, so anyone can see inside it. You can make the same for some other files, like XIBs.

    Why I need this? A: This is for developers/teams that want to share their codes without shows the entire code (.m/.c/.cpp files). Besides this is for who want to organize compiled code + resources (images, videos, sounds, XIBs, plist, etc) into one single place. And this is also for that teams that want to work together above the same base (framework).

    (c) http://blog.db-in.com/universal-framework-for-ios/

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

Sidebar

Related Questions

I have an idea for a simple application which will monitor a group of
Anyone have any idea how to get the value of Language for Non-Unicode Programs
I have an idea for a web-based service. The implementation is very complex. There
Anyone have any idea how to get the SACL's on a remote service using
I have no idea why this is happening. I have some very straightforward code,
do you have idea, if there would be some nice way to browse/log JMS
I have this idea for a free backup application. The largest problem I need
I have an idea for how to solve this problem, but I wanted to
I have no idea. This causes seemingly random time-outs. These in turn break the
I have no idea what is the rationale behind naming the vdev (virtual devices)

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.