Skip to content

Conversation

@rolfbjarne
Copy link
Member

The url to download the list of simulators that are available has changed, and
the format changed slightly as well.

The url to download the list of simulators that are available has changed, and
the format changed slightly as well.
@rolfbjarne rolfbjarne added the not-notes-worthy Ignore for release notes label Jul 11, 2022
@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@rolfbjarne
Copy link
Member Author

/azp run

2 similar comments
@rolfbjarne
Copy link
Member Author

/azp run

@rolfbjarne
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

2 similar comments
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@mandel-macaque
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mandel-macaque
Copy link
Contributor

The parts that broke from sim installer are working. The issue in the CI was that the bot that was picked did not have bash with a full hdd permission yet, that failure already shows that everything we wanted has been fixed by the PR.

if (installPrefix is null) {
// This is just guesswork
var simRuntimeName = name.Replace (" Simulator", ".simruntime");
installPrefix = $"/Library/Developer/CoreSimulator/Profiles/Runtimes/{simRuntimeName}";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What should be the path created? i ported this to xharness but it's not working .. i m getting a path with a space not sure if it's right..

 Oct  3 10:52:12  installer[5885] <Info>: PackageKit: Registered bundle file:///Library/Developer/CoreSimulator/Profiles/Runtimes/iOS%2014.5.simruntime/Contents/Resources/RuntimeRoot/Applications/AMSEngagementViewService.app/ for uid 0

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This logic might be wrong for the iOS 14.5 simulator, we only install the iOS 12.4 simulator (which works for us).

The space (%20) looks normal to me:

$ ls -la /Library/Developer/CoreSimulator/Profiles/Runtimes/
total 0
drwxr-xr-x  32 root  admin  1024 Sep 30 17:27 .
drwxr-xr-x   3 root  admin    96 Feb  8  2019 ..
drwxrwxr-t   3 root  admin    96 Jun  7 08:50 iOS 10.0.simruntime
drwxrwxr-t   3 root  admin    96 Jun  7 08:50 iOS 10.1.simruntime
drwxrwxr-t   3 root  admin    96 Jun  7 08:52 iOS 10.2.simruntime
drwxrwxr-t   3 root  admin    96 Jun  7 08:51 iOS 10.3.simruntime
drwxrwxr-t   3 root  admin    96 Jun  7 08:51 iOS 11.0.simruntime
drwxrwxr-t   3 root  admin    96 Jun  7 08:51 iOS 11.4.simruntime
drwxrwxr-t   3 root  admin    96 Jun  7 08:50 iOS 12.0.simruntime
drwxrwxr-t   3 root  admin    96 Jun  7 08:51 iOS 12.1.simruntime
[...]

@akoeplinger pointed out that Xcode does something different with newer simulators (mounts a dmg in /Library/Developer/CoreSimulator/Volumes/) - but I have no idea how to download the dmg and make Xcode mount it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah but it didn't work for us with iOS 12.4 .. Did you try on a new machine works for you ?

Process ID: 6209
[1.0.0-prerelease.22480.2+db24a6d8a7fd009688425151e3da19cb5c4ca47f] XHarness command issued: apple test --app=/Users/runner/work/1/s/src/Controls/tests/DeviceTests/bin/Release/net6.0-ios/iossimulator-x64/Microsoft.Maui.Controls.DeviceTests.app --targets=ios-simulator-64_12.4 --output-directory=/Users/runner/work/1/a/test-results --verbosity=Debug
info: Preparing run for ios-simulator-64_12.4
info: Looking for available ios-simulator-64_12.4 simulators..
dbug: Looking for available ios-simulator-64_12.4 simulators. Storing logs into list-ios-simulator-64_12.4-20221003_105020.log
fail: Failed to find/create suitable simulator
XHarness exit code: 81 (DEVICE_NOT_FOUND)
An error occurred when executing task 'Test'.

I installed via Xcode 13.7 and u see it there

ruimarinho@iMSFT-MacBookPro Runtimes % ls -la /Library/Developer/CoreSimulator/Profiles/Runtimes/
total 0
drwxr-xr-x  3 root  wheel  96 Oct  3 12:28 .
drwxr-xr-x  3 root  wheel  96 Oct  3 12:28 ..
drwxrwxr-t  3 root  admin  96 Oct  3 12:23 iOS 13.7.simruntime

@rolfbjarne rolfbjarne deleted the xcode14-siminstaller branch October 3, 2022 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

not-notes-worthy Ignore for release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants