Fix issues with submitting to the appstore.