Added generate script for Xcode