Fix profile action to not run frameworks (#1245)

* Fix profile action to not run frameworks

* Add PR number to changelog

* Update CHANGELOG.md

Co-authored-by: Yonas Kolb <yonaskolb@users.noreply.github.com>
This commit is contained in:
Steven Sheldon
2022-08-11 22:45:06 +10:00
committed by GitHub
co-authored by Yonas Kolb
parent ac525a445e
commit e9295f1ff3
3 changed files with 8 additions and 4 deletions
+4
View File
@@ -6,6 +6,10 @@
- Add support for `mlmodelc` files #1236 @antonsergeev88
### Fixed
- Fix profile action for frameworks in Xcode 14 #1245 @SSheldon
## 2.31.0
### Added
+2 -1
View File
@@ -320,10 +320,11 @@ public class SchemeGenerator {
)
let profileAction = XCScheme.ProfileAction(
buildableProductRunnable: runnables.profile,
buildableProductRunnable: shouldExecuteOnLaunch ? runnables.profile : nil,
buildConfiguration: scheme.profile?.config ?? defaultReleaseConfig.name,
preActions: scheme.profile?.preActions.map(getExecutionAction) ?? [],
postActions: scheme.profile?.postActions.map(getExecutionAction) ?? [],
macroExpansion: shouldExecuteOnLaunch ? nil : buildableReference,
shouldUseLaunchSchemeArgsEnv: scheme.profile?.shouldUseLaunchSchemeArgsEnv ?? true,
askForAppToLaunch: scheme.profile?.askForAppToLaunch,
commandlineArguments: profileCommandLineArgs,
@@ -100,8 +100,7 @@
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "AE3F93DB94E7208F2F1D9A78"
@@ -109,7 +108,7 @@
BlueprintName = "Framework_iOS"
ReferencedContainer = "container:Project.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Production Debug">