ONECore
Example
To run the example project, clone the repo, and run pod install from the Example directory first.
Requirements
- iOS 10.0+
- Xcode 10+
- Swift 4.2
Installation
ONECore is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'ONECore'Dependencies
Deployment
-
Make sure you have
podspec-bumpinstalled on your local machine. If not, you can install withnpm.npm install -g podspec-bump -
Checkout latest
developbranch.git checkout develop git pull origin develop -
Make sure you have no error or warning by execute the comment below from
core-iosproject root directory:pod lib lintIf there is an error or warning, then you need to fix it before continue to the next deployment step.
-
Create new branch from the latest
developto bump the version.git checkout -b chore/bump-version -
Bump the version using
podspec-bump.a. Major Update
podspec-bump major -wb. Minor Update
podspec-bump minor -wc. Patch Update
podspec-bump patch -w -
Commit and push the changes.
git add . git commit -m 'bump version from <old-version> to <new-version>' git push origin chore/bump-version -
Create new Pull Request from
chore/bump-versionintodevelopbranch. -
After your pull request from
Step 7merged, you can continue to create another new pull request fromdevelopintomaster. -
After your pull request from
Step 8merged, you can checkoutmasterbranch and pull the latest version.git checkout master git pull origin master -
Create a new tag from
masterbranch and the<tagname>should follow theStep 5's result.git tag <tagname> -
Push your new tag.
git push origin refs/tags/<tagname> -
Register new trunk session.
pod trunk register [email protected] -
[email protected]should quickly get an email from Cocoapods to verify the new session, verify the account by clicking the link provided in the email. -
Finally, release your latest version to the public cocoapods.
pod trunk push ONECore.podspec --allow-warnings
Author
onelabs, [email protected]
License
ONECore is available under the MIT license. See the LICENSE file for more info.