Git Product home page Git Product logo

boxcar-ios-framework's Introduction

Development

This project uses Pods. Thus it is intended to be used from Boxcar.xcworkspace (and not directly xcodeproj).

Build number can be updated with the command: /Applications/Xcode.app/Contents/Developer/usr/bin/agvtool -noscm next-version

Updating Marketing version: /Applications/Xcode.app/Contents/Developer/usr/bin/agvtool new-marketing-version 1.0.7

Building the framework for delivery

The framework is built from the Framework target. Make sure active scheme target simulator and not device. In latest version, I had to use "Generic iOS device" as Target.

To generate all architecture, we need to build with "Archive". This is mandatory before we can release, otherwise app cannot be released from simulator.

If successful, a new DMG is generated in the package directory.

Check that the build contain all needed architectures before release:

$ xcrun --sdk iphoneos lipo -info package/Boxcar.framework/Boxcar
Architectures in the fat file: package/Boxcar.framework/Boxcar are: armv7 armv7s i386 x86_64 arm64 

Package for Boxcar demo

Demo can be prepared for delivery with git archive command: git archive HEAD --format=zip > boxcar-ios-demo-1.0.8.zip

Troubleshooting

You can put the framework in debug mode (with more debug logging) with the command: [[Boxcar sharedInstance] dbm];

SWIFT

You can use the franwork with Swift, you just need to add "${PODS_ROOT}/module" in the Pods's HEADER_SEARCH_PATHS to allow Xcode to recognize the modulemap file needed to compile.

boxcar-ios-framework's People

Contributors

mremond avatar baoluo avatar antoninnoel 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.