This causes a failure when archiving the app