-
Notifications
You must be signed in to change notification settings - Fork 12
Update Project Pod
husnjak edited this page Sep 23, 2020
·
4 revisions
This Wiki is not for the PUBLIC, more for my self to "remember" how to update this projects cocoapods
- Download the new one here
- Convert the file into a GIANT file of Swift structs using the swift-protobuf library.
# Go to the directory where the .proto file lies and run this command:
$ protoc --swift_opt=Visibility=Public --swift_out=. IGDBProtoFile.proto
- Copy the new file "IGDBProtoFile.pb.swift" to the APIStructs folder, now the structs for the wrapper are updated.
- Update the podspec file with a new version number
- Test the project using pod lint. Run these commands from where the podspec file is located.
$ pod spec lint
$ pod lib lint
- Push to Github and create a new Release with the same version as the podspec!
- Test the wrapper in a test project.