Skip to content

Conversation

@MaximLipnin
Copy link
Contributor

This PR fixes a typo which prevented local test run for macatalyst release build due to the following error:

  XHarness command issued: apple test --app=/Users/maxim/dev/runtime/artifacts/bin/System.Security.SecureString.Tests/net7.0-Release/maccatalyst-arm64/AppBundle/System.Security.SecureString.Tests/-maccatalyst/System.Security.SecureString.Tests.app --targets=maccatalyst --xcode=/Applications/Xcode.app/Contents/Developer/../.. --output-directory=/Users/maxim/dev/runtime/artifacts/bin/System.Security.SecureString.Tests/net7.0-Release/maccatalyst-arm64/AppBundle/xharness-output
  info: Preparing run for maccatalyst
  info: Getting app bundle information from '/Users/maxim/dev/runtime/artifacts/bin/System.Security.SecureString.Tests/net7.0-Release/maccatalyst-arm64/AppBundle/System.Security.SecureString.Tests/-maccatalyst/System.Security.SecureString.Tests.app'
  fail: Failed to find Info.plist inside the app bundle at: '/Users/maxim/dev/runtime/artifacts/bin/System.Security.SecureString.Tests/net7.0-Release/maccatalyst-arm64/AppBundle/System.Security.SecureString.Tests/-maccatalyst/System.Security.SecureString.Tests.app/Contents/Info.plist'
  XHarness exit code: 79 (FAILED_TO_GET_BUNDLE_INFO)

It's because the app bundle path didn't contain config part (-maccatalyst instead of Release-maccatalyst)

@ghost
Copy link

ghost commented Dec 23, 2021

Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
See info in area-owners.md if you want to be subscribed.

Issue Details

This PR fixes a typo which prevented local test run for macatalyst release build due to the following error:

  XHarness command issued: apple test --app=/Users/maxim/dev/runtime/artifacts/bin/System.Security.SecureString.Tests/net7.0-Release/maccatalyst-arm64/AppBundle/System.Security.SecureString.Tests/-maccatalyst/System.Security.SecureString.Tests.app --targets=maccatalyst --xcode=/Applications/Xcode.app/Contents/Developer/../.. --output-directory=/Users/maxim/dev/runtime/artifacts/bin/System.Security.SecureString.Tests/net7.0-Release/maccatalyst-arm64/AppBundle/xharness-output
  info: Preparing run for maccatalyst
  info: Getting app bundle information from '/Users/maxim/dev/runtime/artifacts/bin/System.Security.SecureString.Tests/net7.0-Release/maccatalyst-arm64/AppBundle/System.Security.SecureString.Tests/-maccatalyst/System.Security.SecureString.Tests.app'
  fail: Failed to find Info.plist inside the app bundle at: '/Users/maxim/dev/runtime/artifacts/bin/System.Security.SecureString.Tests/net7.0-Release/maccatalyst-arm64/AppBundle/System.Security.SecureString.Tests/-maccatalyst/System.Security.SecureString.Tests.app/Contents/Info.plist'
  XHarness exit code: 79 (FAILED_TO_GET_BUNDLE_INFO)

It's because the app bundle path didn't contain config part (-maccatalyst instead of Release-maccatalyst)

Author: MaximLipnin
Assignees: MaximLipnin
Labels:

area-Infrastructure-libraries

Milestone: -

@MaximLipnin MaximLipnin merged commit 1d12267 into dotnet:main Dec 24, 2021
@MaximLipnin MaximLipnin deleted the fix_typo branch December 24, 2021 06:22
@ghost ghost locked as resolved and limited conversation to collaborators Jan 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants