GithubHelp home page GithubHelp logo

farooqmulla / buildsettingextractor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dempseyatgithub/buildsettingextractor

0.0 2.0 0.0 433 KB

Extracts the build settings of an Xcode project into xcconfig build configuration files.

Objective-C 100.00%

buildsettingextractor's Introduction

BuildSettingExtractor Read Me

This is a utility to extract build configuration settings from an Xcode project into a set of xcconfig files.

If you decide to move Xcode build settings out of your project file and into xcconfig files, this utility can make that initial move easier. It’s also an easy way for the curious to take a look at the build settings in a project without fear of accidentally changing them.

For each target and the project itself, BuildSettingExtractor will generate one xcconfig file per build configuration plus a shared xcconfig file with all shared build settings for that target.

Using the app:

  1. Launch BuildSettingExtractor
  2. Drag an Xcode Project file (xcodeproj) to the app window
  3. Choose a destination folder

Choose Preferences… (Command-,) from the BuildSettingExtractor menu to set generation options.

###Notes###

  • BuildSettingExtractor does not alter the original Xcode project file.
  • BuildSettingExtractor does not update existing xcconfig files, it does a one-time extraction.
  • BuildSettingExtractor does not hoist shared target build settings to the project level.
  • Do not taunt BuildSettingExtractor.

###Generated Files###

The generated xcconfig files include build setting explanations gleaned from Xcode:

// Framework Search Paths
// 
// This is a list of paths to folders containing frameworks to be searched by the
// compiler for both included or imported header files when compiling C, Objective-C,
// C++, or Objective-C++, and by the linker for frameworks used by the product. Paths are
// delimited by whitespace, so any paths with spaces in them need to be properly quoted.
// [-F]

FRAMEWORK_SEARCH_PATHS = $(DEVELOPER_FRAMEWORKS_DIR) $(inherited)


// Info.plist File
// 
// This is the project-relative path to the plist file that contains the Info.plist
// information used by bundles.

INFOPLIST_FILE = BuildSettingExtractorTests/BuildSettingExtractorTests-Info.plist

These comments can be turned off in the Preferences sheet for a more compact file:

FRAMEWORK_SEARCH_PATHS = $(DEVELOPER_FRAMEWORKS_DIR) $(inherited)
INFOPLIST_FILE = BuildSettingExtractorTests/BuildSettingExtractorTests-Info.plist

###Version History###

Version 1.2.3
Nov 9, 2015

– Updated list of build setting description files to include new LLDB 7.0 file.
– No longer inexplicably using return instead of newline character in two spots.

Version 1.2.2
May 25, 2015

– Added brand new app icon.
– Removed default Credits.rtf file.

Version 1.2.1
May 16, 2015

– Updated list of build setting description files to include new LLDB 6.1 file.

Version 1.2
May 16, 2015

– Added options for generated file names in Preferences. (Thank you Alex Curylo!)

Version 1.1.1
May 12, 2015

– Fixed crash on Mavericks.

Version 1.1
February 7, 2015

– Added build settings explaination comments gleaned from Xcode.
– Files are shown in Finder after they are generated.
– Both options can be turned off in new Preferences pane.
– Extraction and file generation now occurs in the background.

Version 1.0
January 31, 2015

– Initial version of BuildSettingExtractor.
– Generates xcconfig files from the build settings in an Xcode project.


This code is provide as-is with no warranties express or implied.
Please put projects in source control to guard against things going horribly awry.

buildsettingextractor's People

Contributors

dempseyatgithub avatar alexcurylo avatar

Watchers

James Cloos avatar Farooq Mulla avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.