This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "" | |
echo "----------" | |
echo "This bash script recursively goes through every PNG file in a given folder" | |
echo "and removes its alpha channel. This is useful for preparing PNG files for" | |
echo "uploading to Apple's iOS App Store." | |
echo "" | |
echo "You'll know you might need to use this script if you see this error coming" | |
echo "from Apple when you try to upload the images:" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ExportOptions.plist - Options in a better order | |
Xcodebuild manfile says the following | |
> **Distributing Archives** | |
> The -exportArchive option specifies that xcodebuild should distribute the archive specified by -archivePath using the options specified by | |
> -exportOptionsPlist. xcodebuild -help can print the full set of available inputs to -exportOptionsPlist. The product can either be uploaded to Apple or | |
> exported locally. The exported product will be placed at the path specified by -exportPath. | |
The following is the list of settings (as of Xcode 10.1) output by `xcodebuild --help` but in a more logical order. |