Skip to content

Latest commit

 

History

History
46 lines (27 loc) · 1.99 KB

jitsu-release-documentation.md

File metadata and controls

46 lines (27 loc) · 1.99 KB

How to release a new version?

In Cocoapods

Release version

  1. Go to Jitsu.podspec, and change spec.version to the new release version.
  2. Go to Jitsu repo and add a new release with the new app version.
  3. Switch your current target to Jitsu. Run pod trunk push Jitsu.podspec to push Jitsu to Cocoapods trunk. More on that and how to debug: https://guides.cocoapods.org/making/getting-setup-with-trunk

To add contributor use $ pod trunk add-owner EMAIL. The person you add should be registered in the trunk before. They can do it by running $ pod trunk register [email protected] 'Orta Therox' --description='macbook air'. More on that: https://guides.cocoapods.org/making/getting-setup-with-trunk.html. At the time being [email protected] is the person who can add contributors.

To use updated SDK in your project

Update its version in the podfile, then use pod install --repo-update. If it doesn't work, run pod cache clean 'Jitsu' --all before that. Another thing that helps - wait for half an hour.

In Carthage

Release version

If you have already made a release of new version in Jitsu repo, then you are all set.

If you have any issues with Carthage, check https://github.com/Carthage/Carthage#supporting-carthage-for-your-framework for help.

To use updated SDK in your project

Update version in cartfile, then run carthage update --use-xcframeworks.

In Swift Package Manager

Release version

If you have already made a release of new version in Jitsu repo, then you are all set.

To use updated SDK in your project

You can update to the latest version of any packages you depend on at any time by selecting File ▸ Swift Packages ▸ Update to Latest Package Versions.

Core Data

Managed Object Model is created manually. This means no UI is used to generate and describe core data entities. Entities are described in classes ending with "MO" (BatchMO, EnrichedEventMO, etc).

To create a new entity add its description to CoreDataStack class