Made project work with Xcode archiving