- <?xml version="1.0" encoding="UTF-8"?>
- <Scheme
- LastUpgradeVersion = "0510"
- version = "1.7">
- <BuildAction
- parallelizeBuildables = "YES"
- buildImplicitDependencies = "YES">
- <BuildActionEntries>
- <BuildActionEntry
- buildForTesting = "YES"
- buildForRunning = "YES"
- buildForProfiling = "YES"
- buildForArchiving = "YES"
- buildForAnalyzing = "YES">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "667AC23617390A6000E01C15"
- BuildableName = "Piper.app"
- BlueprintName = "Piper"
- ReferencedContainer = "container:Piper.xcodeproj">
- </BuildableReference>
- </BuildActionEntry>
- </BuildActionEntries>
- </BuildAction>
- <TestAction
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
- shouldUseLaunchSchemeArgsEnv = "YES"
- buildConfiguration = "Debug">
- <Testables>
- </Testables>
- <MacroExpansion>
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "667AC23617390A6000E01C15"
- BuildableName = "Piper.app"
- BlueprintName = "Piper"
- ReferencedContainer = "container:Piper.xcodeproj">
- </BuildableReference>
- </MacroExpansion>
- </TestAction>
- <LaunchAction
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
- launchStyle = "0"
- useCustomWorkingDirectory = "NO"
- buildConfiguration = "Debug"
- ignoresPersistentStateOnLaunch = "NO"
- debugDocumentVersioning = "YES"
- allowLocationSimulation = "YES">
- <BuildableProductRunnable>
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "667AC23617390A6000E01C15"
- BuildableName = "Piper.app"
- BlueprintName = "Piper"
- ReferencedContainer = "container:Piper.xcodeproj">
- </BuildableReference>
- </BuildableProductRunnable>
- <AdditionalOptions>
- </AdditionalOptions>
- </LaunchAction>
- <ProfileAction
- shouldUseLaunchSchemeArgsEnv = "YES"
- savedToolIdentifier = ""
- useCustomWorkingDirectory = "NO"
- buildConfiguration = "Release"
- debugDocumentVersioning = "YES">
- <BuildableProductRunnable>
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "667AC23617390A6000E01C15"
- BuildableName = "Piper.app"
- BlueprintName = "Piper"
- ReferencedContainer = "container:Piper.xcodeproj">
- </BuildableReference>
- </BuildableProductRunnable>
- </ProfileAction>
- <AnalyzeAction
- buildConfiguration = "Debug">
- </AnalyzeAction>
- <ArchiveAction
- buildConfiguration = "Release"
- revealArchiveInOrganizer = "NO">
- <PostActions>
- <ExecutionAction
- ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
- <ActionContent
- title = "Run Script"
- scriptText = "exec > $PROJECT_DIR/distlog.txt 2>&1 if [[ $CONFIGURATION == Release && $DEPLOYMENT_LOCATION == YES ]] ; then echo "note: Archiving" else echo "note: Debug" exit fi # Dump environment variables #printenv > ~/Desktop/printenv.txt PROJECT="${PRODUCT_NAME//[[:space:]]/}" DMG_DIR=$PROJECT_DIR/dist BIN_DIR=$PROJECT_DIR/bin DMG_FILE=$DMG_DIR/$PROJECT.dmg BIN_FILE=$BIN_DIR/$FULL_PRODUCT_NAME PRODUCT_DIR=$ARCHIVE_PATH/Products$INSTALL_PATH PRODUCT_FILE=$PRODUCT_DIR/$FULL_PRODUCT_NAME # Print variables echo "note: PROJECT=${PROJECT}" echo "note: DMG_DIR=${DMG_DIR}" echo "note: BIN_DIR=${BIN_DIR}" echo "note: DMG_FILE=${DMG_FILE}" echo "note: BIN_FILE=${BIN_FILE}" echo "note: PRODUCT_DIR=${PRODUCT_DIR}" echo "note: PRODUCT_FILE=${PRODUCT_FILE}" # Create directories echo "note: Creating folders: ${DMG_DIR} ${BIN_DIR}" mkdir -p "${DMG_DIR}" mkdir -p "${BIN_DIR}" # Creating dmg if [ -a "/tmp/tmp.dmg" ]; then rm "/tmp/tmp.dmg" fi hdiutil create /tmp/tmp.dmg -ov -volname "${PROJECT}" -fs HFS+ -srcfolder "${PRODUCT_DIR}/.." if [ -a "${DMG_FILE}" ]; then echo "note: Removing dmg: ${DMG_FILE}" rm "${DMG_FILE}" fi echo "note: Creating dmg: ${DMG_FILE}" hdiutil convert /tmp/tmp.dmg -format UDZO -o "${DMG_FILE}" # Copy executable if [ -a "${BIN_FILE}" ]; then echo "note: Removing executable: ${BIN_FILE}" rm -r "${BIN_FILE}" fi echo "note: Copying executable: ${PRODUCT_FILE}" cp -r "${PRODUCT_FILE}" "${BIN_FILE}" # Checking for errors if [[ ! -d "${DMG_FILE}" && ! -e "${DMG_FILE}" ]] ; then echo "error: dmg creation failed" exit 1 fi if [[ ! -d "${BIN_FILE}" && ! -e "${BIN_FILE}" ]] ; then echo "error: Copying executable creation failed" exit 1 fi">
- <EnvironmentBuildable>
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "667AC23617390A6000E01C15"
- BuildableName = "Piper.app"
- BlueprintName = "Piper"
- ReferencedContainer = "container:Piper.xcodeproj">
- </BuildableReference>
- </EnvironmentBuildable>
- </ActionContent>
- </ExecutionAction>
- </PostActions>
- </ArchiveAction>
- </Scheme>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 9421 | tjuricek |
Copying //guest/perforce_software/piper/... to //guest/tjuricek/piper/... |
11 years ago | |
//guest/perforce_software/piper/Piper.xcodeproj/xcshareddata/xcschemes/Perforce.xcscheme | |||||
#1 | 8919 | Matt Attaway | Initial add of Piper, a lightweight Perforce client for artists and designers. | 11 years ago |