Submitting to App Store

Caffeine frameworks are compiled both for simulator and device (pretty convenient for development), but iTunesConnect doesn't accept simulator slices. So, a Run Script must be added to remove the simulator slices.
The following 3 steps describe a solution.

Step #1

Install Carthage. In terminal,

brew install Carthage

Step #2

Under your application's target settings in the "Build Phases" tab, create a new "Run Script Phase"


Step #3

In your newly created Run Script, enter the following:

/usr/local/bin/carthage copy-frameworks

And for input files:


That will cause the simulator parts to be stripped during an archive.

If at any time you require help, please contact our engineers at