GithubHelp home page GithubHelp logo

00mjk / xcode-universal-binary Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mattesgroeger/xcode-universal-binary

0.0 0.0 0.0 96 KB

Shell script to build a universal library for device and simulator

Shell 100.00%

xcode-universal-binary's Introduction

endorse

What it does

Builds an iphoneos (Device) and iphonesimulator (Simulator) binary using xcodebuild (comes with Xcode). The two binaries get merged afterwards using lipo. It also copies eventually existing header files in the result directory.

Usage

  1. Do git clone [email protected]:MattesGroeger/xcode-universal-binary.git wherever you want to have the shell script reside.
  2. Navigate to the repository cd xcode-universal-binary.
  3. Grant executable rights: chmod a+x universal_binary.sh.
  4. Add the universal_binary.sh to your PATH (e.g. in .bash_profile).
  5. Navigate to the project you want to create a universal binary of.
  6. Call universal_binary.sh {target} {lib.a} where you have to replace {target} with the Xcode target and {lib.a} with the target library name.

Hint

This version only creates the Release configurations.

Credits

Thanks to Eonil who did the basic work in this stackoverflow post.

xcode-universal-binary's People

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.