mirror of
https://github.com/exituser/Pearcleaner.git
synced 2026-09-17 06:09:01 +00:00
104 lines
5.2 KiB
XML
104 lines
5.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<Scheme
|
|
LastUpgradeVersion = "1500"
|
|
version = "1.7">
|
|
<BuildAction
|
|
parallelizeBuildables = "YES"
|
|
buildImplicitDependencies = "YES">
|
|
<BuildActionEntries>
|
|
<BuildActionEntry
|
|
buildForTesting = "YES"
|
|
buildForRunning = "YES"
|
|
buildForProfiling = "YES"
|
|
buildForArchiving = "YES"
|
|
buildForAnalyzing = "YES">
|
|
<BuildableReference
|
|
BuildableIdentifier = "primary"
|
|
BlueprintIdentifier = "C77B8FFF2AF18E2E009CC655"
|
|
BuildableName = "Pearcleaner.app"
|
|
BlueprintName = "Pearcleaner"
|
|
ReferencedContainer = "container:Pearcleaner.xcodeproj">
|
|
</BuildableReference>
|
|
</BuildActionEntry>
|
|
</BuildActionEntries>
|
|
</BuildAction>
|
|
<TestAction
|
|
buildConfiguration = "Release"
|
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
shouldUseLaunchSchemeArgsEnv = "YES"
|
|
shouldAutocreateTestPlan = "YES">
|
|
</TestAction>
|
|
<LaunchAction
|
|
buildConfiguration = "Release"
|
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
launchStyle = "0"
|
|
useCustomWorkingDirectory = "NO"
|
|
ignoresPersistentStateOnLaunch = "NO"
|
|
debugDocumentVersioning = "YES"
|
|
debugServiceExtension = "internal"
|
|
allowLocationSimulation = "YES">
|
|
<BuildableProductRunnable
|
|
runnableDebuggingMode = "0">
|
|
<BuildableReference
|
|
BuildableIdentifier = "primary"
|
|
BlueprintIdentifier = "C77B8FFF2AF18E2E009CC655"
|
|
BuildableName = "Pearcleaner.app"
|
|
BlueprintName = "Pearcleaner"
|
|
ReferencedContainer = "container:Pearcleaner.xcodeproj">
|
|
</BuildableReference>
|
|
</BuildableProductRunnable>
|
|
<EnvironmentVariables>
|
|
<EnvironmentVariable
|
|
key = "OS_ACTIVITY_MODE"
|
|
value = "disable"
|
|
isEnabled = "YES">
|
|
</EnvironmentVariable>
|
|
</EnvironmentVariables>
|
|
</LaunchAction>
|
|
<ProfileAction
|
|
buildConfiguration = "Release"
|
|
shouldUseLaunchSchemeArgsEnv = "YES"
|
|
savedToolIdentifier = ""
|
|
useCustomWorkingDirectory = "NO"
|
|
debugDocumentVersioning = "YES">
|
|
<BuildableProductRunnable
|
|
runnableDebuggingMode = "0">
|
|
<BuildableReference
|
|
BuildableIdentifier = "primary"
|
|
BlueprintIdentifier = "C77B8FFF2AF18E2E009CC655"
|
|
BuildableName = "Pearcleaner.app"
|
|
BlueprintName = "Pearcleaner"
|
|
ReferencedContainer = "container:Pearcleaner.xcodeproj">
|
|
</BuildableReference>
|
|
</BuildableProductRunnable>
|
|
</ProfileAction>
|
|
<AnalyzeAction
|
|
buildConfiguration = "Release">
|
|
</AnalyzeAction>
|
|
<ArchiveAction
|
|
buildConfiguration = "Release"
|
|
revealArchiveInOrganizer = "NO">
|
|
<PostActions>
|
|
<ExecutionAction
|
|
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
|
|
<ActionContent
|
|
title = "Run Script"
|
|
scriptText = "# For troubleshooting, enable to get log with errors # exec > "/Users/alin/GitHub/PeakPurge/Builds/Export/Xcode.log" 2>&1 # Variables MAIN_PROJECT_PATH="/Users/alin/GitHub/Pearcleaner" EXPORT_PATH="/Users/alin/GitHub/Pearcleaner/Builds/Export" while [[ -z $MARKETING_VERSION ]]; do MARKETING_VERSION=$(xcodebuild -showBuildSettings 2>/dev/null | awk -F' = ' '/MARKETING_VERSION/{print $2}' | xargs) sleep 1 done # Export the app file xcodebuild -exportArchive -archivePath "${ARCHIVE_PATH}" -exportOptionsPlist "${MAIN_PROJECT_PATH}"/Builds/ExportOptions.plist -exportPath "${EXPORT_PATH}" # Zip up the app file cd "${EXPORT_PATH}" zip -r -X "Pearcleaner.zip" "Pearcleaner.app" # Push to GitHub /opt/homebrew/bin/gh release create "${MARKETING_VERSION}" PeakPurge.zip --latest -t "v${MARKETING_VERSION}" -F "${MAIN_PROJECT_PATH}/Builds/changes.md" # Clean out the archive and app file, zip, etc. in Export folder rm -rf "${ARCHIVE_PATH}" #rm -rf "${EXPORT_PATH}"/*.app rm -rf "${EXPORT_PATH}"/* # Open folder at Export location #open "${EXPORT_PATH}" "
|
|
shellToInvoke = "/bin/bash">
|
|
<EnvironmentBuildable>
|
|
<BuildableReference
|
|
BuildableIdentifier = "primary"
|
|
BlueprintIdentifier = "C77B8FFF2AF18E2E009CC655"
|
|
BuildableName = "Pearcleaner.app"
|
|
BlueprintName = "Pearcleaner"
|
|
ReferencedContainer = "container:Pearcleaner.xcodeproj">
|
|
</BuildableReference>
|
|
</EnvironmentBuildable>
|
|
</ActionContent>
|
|
</ExecutionAction>
|
|
</PostActions>
|
|
</ArchiveAction>
|
|
</Scheme>
|