Find me on Github, Facebook, Youtube, etc by #iOSBySheldon.
Concept
Library and Framework are not same but close. Frameworks are just libraries with linking (binding). In other words, frameworks are just libraries that are bundled into targets. Therefore, their file extensions are different.
This notes is written by Sheldon. You can find me with #iOSBySheldon in Github, Youtube, Facebook, etc.
Need
Convert .mov/.MP4 to .gif
Reason
As a developer, I feel better to upload a short video when I create the pull request to show other viewers what I did in this PR. I tried .mov format directly got after finishing recording screen using Quicktime, however, gif offers preview in most web pages, and has smaller file size.
This is not limited to developer, anyone has this need can use this method to convert the files.
This will create a proxy server in whatever your availability zone your VPC is in. For me, that's us-east-1b. For you, that may be something different. Steps 10+ should more or less work regardless of your provider since those steps cover the setup and configuration of TinyProxy.
Click the Launch Instance button.
Choose Ubuntu Server 14.04 LTS (HVM), SSD Volume Type. This isn't strictly necessary. If you choose another OS, check its documentation for how to install new packages.
On the Choose an Instance Type screen, select t2.micro. It's Free Tier eligible.
Click the Next: ... buttons until you reach the Configure Security Group screen.
You may wish to reduce the amount of storage on the Add Storage screen. This is optional.
You may wish to add a tag on the Tag Instance screen. This is also optional.
This run script will build the iphoneos and iphonesimulator schemes and then combine them into a single framework using the lipo tool (including all the Swift module architectures).