mirror of
https://github.com/XcodesOrg/XcodesApp.git
synced 2026-04-01 10:05:49 +00:00
Add archive post-action script to remove extra copies of Sparkle.framework
https://github.com/firebase/firebase-ios-sdk/issues/6472 https://forums.swift.org/t/swift-package-binary-framework-issue/41922
This commit is contained in:
parent
8b4d6c4816
commit
a30e0ff691
1 changed files with 20 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "1220"
|
||||
version = "1.3">
|
||||
version = "1.7">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
|
|
@ -84,5 +84,24 @@
|
|||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
<PostActions>
|
||||
<ExecutionAction
|
||||
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
|
||||
<ActionContent
|
||||
title = "Run Script"
|
||||
scriptText = "# https://forums.swift.org/t/swift-package-binary-framework-issue/41922/3 # Remove overzealous copying of Sparkle.framework set -x rm -rf "$ARCHIVE_PRODUCTS_PATH/Applications/$EXECUTABLE_FOLDER_PATH/Sparkle.framework" rm -rf "$ARCHIVE_PRODUCTS_PATH/Applications/$CONTENTS_FOLDER_PATH/Library/LaunchServices/Sparkle.framework" "
|
||||
shellToInvoke = "/bin/bash">
|
||||
<EnvironmentBuildable>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "CAD2E79D2449574E00113D76"
|
||||
BuildableName = "Xcodes.app"
|
||||
BlueprintName = "Xcodes"
|
||||
ReferencedContainer = "container:Xcodes.xcodeproj">
|
||||
</BuildableReference>
|
||||
</EnvironmentBuildable>
|
||||
</ActionContent>
|
||||
</ExecutionAction>
|
||||
</PostActions>
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
||||
|
|
|
|||
Loading…
Reference in a new issue