LeadKit/docs/snippets.md

1.0 KiB

Snippets

Carthage

Build dependencies for LeadKit.xcodeproj

  1. Build xcframeworks for iOS platform, which is usually enough:
carthage update --use-xcframeworks --cache-builds --platform iOS
  1. Restart Xcode and clean build folder.
  2. You can also run script for another platforms: --platform tvOS or --platform watchOS.

Cocoapods

Bump version in podspecs

  1. Install nmp: brew install node
  2. Install podspec-bump: npm install -g podspec-bump
  3. Run command in project folder:
sh ./project-scripts/bump_version.sh x.y.z

Push changes to podspecs repo

  1. Add repo: pod repo add touchinstinct git@github.com:TouchInstinct/Podspecs
  2. Run command in project folder:
sh ./project-scripts/push_to_podspecs.sh