Skip to content

Conversation

@benrimmington
Copy link
Contributor

Add details on 32-bit testing with an iOS simulator.

@CodaFi
Copy link
Contributor

CodaFi commented May 18, 2020

Cool

@swift-ci smoke test and merge

@benrimmington
Copy link
Contributor Author

Unexpected failure:

Swift(linux-x86_64) :: AutoDiff/compiler_crashers_fixed/sr12650-noderivative-parameter-type-mangling.swift

@CodaFi
Copy link
Contributor

CodaFi commented May 18, 2020

Ugh, I've seen that failure before once in a blue moon. There's UB afoot.

@swift-ci smoke test Linux platform

@benrimmington
Copy link
Contributor Author

Linux platform checks were successful.

@CodaFi
Copy link
Contributor

CodaFi commented May 19, 2020

@CodaFi CodaFi merged commit 01fce92 into swiftlang:master May 19, 2020
@benrimmington benrimmington deleted the docs-testing-iphone-5 branch May 19, 2020 00:58
@theblixguy
Copy link
Collaborator

I think the full command should be:

xcrun simctl create 'iPhone 5' com.apple.CoreSimulator.SimDeviceType.iPhone-5 com.apple.CoreSimulator.SimRuntime.iOS-10-3

(at least according to #31928)

@benrimmington
Copy link
Contributor Author

@theblixguy The runtime argument is optional.

xcrun simctl help create                                                            

Create a new device.
Usage: simctl create <name> <device type id> [<runtime id>]

	<device type id>    A valid available device type. Find these by running "xcrun simctl list devicetypes".
	                    Examples: ("iPhone X", "com.apple.CoreSimulator.SimDeviceType.iPhone-X")
	<runtime id>        A valid and available runtime. Find these by running "xcrun simctl list runtimes".
	                    If no runtime is specified the newest runtime compatible with the device type is chosen.
	                    Examples: ("watchOS3", "watchOS3.2", "watchOS 3.2", "com.apple.CoreSimulator.SimRuntime.watchOS-3-2",
	                               "/Volumes/path/to/Runtimes/watchOS 3.2.simruntime")

For example:

xcrun simctl create 'iPhone 5' 'com.apple.CoreSimulator.SimDeviceType.iPhone-5'

No runtime specified, using 'iOS 10.3 (10.3.1 - 14E8301) - com.apple.CoreSimulator.SimRuntime.iOS-10-3'

@theblixguy
Copy link
Collaborator

Oh, I see. Sorry, I actually misread iPhone 5 as iPhone 5s! We don't need to worry about newer runtimes like iOS 11 and later so this is fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants