Uploading multipart form from Ruby

To automate the process of building the application, I had to download the push certificate through Fastlane and send it and the JWT-Token to the server. Below is an example of sending a multipart form from Ruby to the server (with HTTPS).

  1. Install multipart-post:
  2. Ruby script example:



Duplicate interface definition for class ‘ClassName’

My error:

If you have this problem, and you used AppCode and Cocoapods, you need to find headers similar this:

and change it similar this


change to

I hope that helped you!


.gitignore for iOS (Xcode, Objective C, Swift)