Coder Social home page Coder Social logo

ios-dependencies's Introduction

Overview

alt text

  • Usually, SPM checks out and builds all 3rd party dependencies with every clean build. In order to speed up the build process, we already built all 3rd party dependencies as XCFrameworks using the script in the Dependencies folder.
  • All dependencies are hosted in the same repo zipped in the Dependencies folder.
  • They're zipped in order to keep them under Github's file size limit of 100 MB. https://docs.github.com/en/github/managing-large-files/conditions-for-large-files

Updating/Adding Dependencies

  • To update or add a new dependency, you will need to update the CartFile in the root folder of the package
  • Run bundle exec Fastlane build_dependencies, this will
    • Use Carthage to build all the dependencies listed in the CartFile as XCframeworks
    • For All downloaded universal (FAT) frameworks, the Fastlane script will convert them to XCFrameworks.
    • Compress all generated XCFrameworks and store them in zipped folder
    • Generate carthage_licenses.md file with aggregated carthage dependency licenses in Carthage directory
    • Update the Package.swift file to reflect new changes

Extracting Dependencies

To build the ios-mobility project, you will need to extract all dependencies before opening Xcode

  • Run bundle exec Fastlane unzip_dependencies, this will extract all dependencies in the correct folder Carthage/Build

ios-dependencies's People

Contributors

nrohwedder avatar

Watchers

 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.