- Update the version in
PostHog.podspec
,PostHog/Info.plist
, andversion
inPostHog/Classes/PHGPostHog.m
to the next release version. - Update the
CHANGELOG.md
for the impending release. git commit -am "Prepare for release X.Y.Z."
(where X.Y.Z is the new version).git tag -a X.Y.Z -m "Version X.Y.Z"
(where X.Y.Z is the new version).git push && git push --tags
.pod trunk push PostHog.podspec --allow-warnings
.- Go to GH Releases and create a new release from the tag you just pushed. Copy the changelog entry into the description and publish the release.
Run this first:
sudo arch -x86_64 gem install ffi
arch -x86_64 pod install
Then, configure XCode CLI tools.
Finally, prepend arch -x86_64
to the pod command in the steps above.