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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T05:13:00+00:00 2026-05-20T05:13:00+00:00

Hey guys. I have an app in Objective C (using xcode) that I would

  • 0

Hey guys. I have an app in Objective C (using xcode) that I would like to branch into two different versions– lite and full. Would a VCS (ie GIT or SVN) work for this if I forked the main project? I’m not familiar with how forking works, but would any changes I make to the main project be merged with the forked lite project?

If not, what system would be best for keeping the code in sync between the two projects? My goal would be to keep this as automated as possible…

  • 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-20T05:13:00+00:00Added an answer on May 20, 2026 at 5:13 am

    Pretty much all VCS support branching which you can use for “flavoring” your product. But beware, alot depends on how you implement changes on the file-level. Personally I would not use VCS for flavoring stuff. Application- or buildlevel configuration is mostly easier to maintain.

    But here two examples for how things might come out.

    Example for easy flavoring:

    branch-full
    - module 1
    - module 2
    - module 3
    - module 4
    - documentation-full
    
    branch-lite
    - module 1
    - module 2
    - purchase-module
    - documentation-lite
    

    What you are shipping in this case is mostly defined on directory-level. No module is modified but only added or removed. These two lists could be maintained in a build-file as easily, maybe requiering no VCS at all, but thats a different story.

    Example for flavoring made hard (anti-pattern) (one source file in the lite-branch)

    my generic code ...
    ...
    ...
    
    my lite-specific code ...
    ...
    ...    
    
    my generic code ...
    ...
    ...
    

    If you encounter a bug in GENERIC code but only within your lite-branch (because the bug may be somehow connected to your lite-functionality) you will have to fix and commit it in the lite-branch. You will have to either cherry-pick merge (and make compatible with the full-version) your single bugfix or not merge it back to the full version at all. The later option over time increases the “gap” between your lite and full version which in turn makes it harder to get updates from the “upstream”-full version in case of bigger developments on that side.

    C

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

Sidebar

Related Questions

Hey guys. I have a question. I have two different arrays with different structure
Hey guys, and thanks for looking. I have built the simple D2D app from
Hey guys, I have a little button functionality that is not erring, but also
Hey guys, so I have two models in my project, grinders, and votes. So
Hey guys im having a bit of a problem with my iPhone app where
Hey Guys I have the following simple Code : WhereAmIViewController.h #import <UIKit/UIKit.h> #import <CoreLocation/CoreLocation.h>
Hey guys, have a little issue i need to figure out. I created a
Hey guys, I have a client who wants their front site to have a
Hey guys, I have a question about Sphinx. I use Sphinx to index the
Hey guys, I have a bit of a weird problem. I have a jquery

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.