Once we have a build on master we want to publish:
-
Bump the
CardScan.podspec
with the new version of our library -
Run CardScan systems iOS test. Make sure to watch the videos to double check that everything looks good.
-
If a new file is added in
CardScan/
, runpod install
and commit the newly createdPod/
directory -
Verify Carthage build is working in the same directory as
.xcodeproj
carthage build --no-skip-current
- If you get the error:
no shared framework schemes
, reclickshared
on the project schemes in xcode.
- If you get the error:
-
Run the Cocoapods linter to make sure that everything is going to pass
pod lib lint
-
Tag release
git tag <version> git push --tags
-
Publish to CocoaPods
pod trunk push
-
Put the new model in the OriginalModels directory
-
Remove the old compiled version from the resources directory
rm -rf CardScan/Assets/FindFour.mlmodelc
-
Compile the new model
xcrun coremlc compile OriginalModels/FindFour.mlmodel CardScan/Assets