Last active
May 22, 2016 17:09
-
-
Save sasikiran/5546035 to your computer and use it in GitHub Desktop.
build-automate.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Project name | |
# Automatic build configuration | |
# Written by Sasi kiran | |
# May 8, 2013 | |
# | |
# Setup variables | |
xctool_path = "/Users/sasikiran/Documents/Samples/xctool/xctool/xctool.sh" | |
project_path = "Project.xcodeproj" | |
output_build_path = "/Users/sasikiran/Desktop/Project_Build/" | |
target = "Project" | |
scheme = "Project" | |
configuration = "Release" | |
# sdk = "iphoneos6.1" | |
# arch = "armv7 armv7s" | |
provisioning_profile_path = "/Users/sasikiran/Documents/Provisioning/provisioning.mobileprovision" | |
certificate_identity = "iPhone Distribution: Company name" | |
exec("#{xctool_path} \ | |
-project #{project_path}\ | |
-scheme #{scheme}\ | |
-configuration #{configuration}\ | |
-sdk #{sdk}\ | |
-arch \"#{arch}\"\ | |
build\ | |
PROVISION_PROFILE=\"#{provisioning_profile_path}\"\ | |
CODE_SIGN_IDENTITY=\"#{certificate_identity}\"\ | |
CONFIGURATION_BUILD_DIR=\"#{output_build_path}\"") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment