Permalink
Browse files

added screenshots,

only cp distribution profile if exists
  • Loading branch information...
1 parent a810cb3 commit 0af1fec62ee6fb762f225d0cdc84ef2ccfc37050 @tcurdt committed Jan 19, 2010
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -223,7 +223,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "ROOT=`pwd`\nVERSION=`/usr/libexec/PlistBuddy -c \"Print :CFBundleVersion\" Resources/Info.plist`\n\nrm -f $ROOT/build/$PRODUCT_NAME.zip\n\ncp $ROOT/Distribution.mobileprovision $TARGET_BUILD_DIR\n\nditto -c -k --sequesterRsrc $TARGET_BUILD_DIR $ROOT/build/$PRODUCT_NAME-$VERSION.zip";
+ shellScript = "ROOT=`pwd`\nVERSION=`/usr/libexec/PlistBuddy -c \"Print :CFBundleVersion\" Resources/Info.plist`\n\nrm -f $ROOT/build/$PRODUCT_NAME.zip\n\nif [ -f \"$ROOT/Distribution.mobileprovision\" ]; then\n cp $ROOT/Distribution.mobileprovision $TARGET_BUILD_DIR\nfi\n\nditto -c -k --sequesterRsrc $TARGET_BUILD_DIR $ROOT/build/$PRODUCT_NAME-$VERSION.zip";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */

0 comments on commit 0af1fec

Please sign in to comment.