Error running app with Xcode 10.3, macOS Mojave (runs fine with Xcode 10.2.1)

Hi,

I’m getting errors when running my app with Xcode 10.3, macOS 10.14.6 (Mojave, iMac Pro)
The exact same app runs fine (simulator) with Xcode 10.2.1, macOS 10.14.5 (Mojave, MB Pro)

Both running Xojo 2019r1.

Tried with iOS 12.0, 12.1, 12.2, for iPad and iPhone.

When running I get the errors below.

A solution or a a workaround is very welcome.
Reversing to Xcode 10.2.1 is not an option. Last time I tried doing that I ended struggling for days before getting it right again.

I hope the same kind of mess will not arise every time Xcode is updated.

Thanks !

2 errors are

App Icon.Name
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>com.apple.actool.compilation-results</key>
	<dict>
		<key>output-files</key>
		<array>
			<string>/var/folders/d1/vb5gld2n6_7clt874hfnsghw0000gn/T/TemporaryItems/com.xojo.xojo-temp-12/AppIcon20x20@2x.png</string>
			<string>/var/folders/d1/vb5gld2n6_7clt874hfnsghw0000gn/T/TemporaryItems/com.xojo.xojo-temp-12/AppIcon20x20@3x.png</string>
			<string>/var/folders/d1/vb5gld2n6_7clt874hfnsghw0000gn/T/TemporaryItems/com.xojo.xojo-temp-12/AppIcon29x29@2x.png</string>
			<string>/var/folders/d1/vb5gld2n6_7clt874hfnsghw0000gn/T/TemporaryItems/com.xojo.xojo-temp-12/AppIcon29x29@3x.png</string>
			<string>/var/folders/d1/vb5gld2n6_7clt874hfnsghw0000gn/T/TemporaryItems/com.xojo.xojo-temp-12/AppIcon40x40@2x.png</string>
			<string>/var/folders/d1/vb5gld2n6_7clt874hfnsghw0000gn/T/TemporaryItems/com.xojo.xojo-temp-12/AppIcon40x40@3x.png</string>
			<string>/var/folders/d1/vb5gld2n6_7clt874hfnsghw0000gn/T/TemporaryItems/com.xojo.xojo-temp-12/AppIcon60x60@2x.png</string>
			<string>/var/folders/d1/vb5gld2n6_7clt874hfnsghw0000gn/T/TemporaryItems/com.xojo.xojo-temp-12/AppIcon60x60@3x.png</string>
			<string>/var/folders/d1/vb5gld2n6_7clt874hfnsghw0000gn/T/TemporaryItems/com.xojo.xojo-temp-12/AppIcon29x29~ipad.png</string>
			<string>/var/folders/d1/vb5gld2n6_7clt874hfnsghw0000gn/T/TemporaryItems/com.xojo.xojo-temp-12/AppIcon40x40~ipad.png</string>
			<string>/var/folders/d1/vb5gld2n6_7clt874hfnsghw0000gn/T/TemporaryItems/com.xojo.xojo-temp-12/AppIcon76x76~ipad.png</string>
			<string>/var/folders/d1/vb5gld2n6_7clt874hfnsghw0000gn/T/TemporaryItems/com.xojo.xojo-temp-12/AppIcon76x76@2x~ipad.png</string>
			<string>/var/folders/d1/vb5gld2n6_7clt874hfnsghw0000gn/T/TemporaryItems/com.xojo.xojo-temp-12/AppIcon83.5x83.5@2x~ipad.png</string>
			<string>/private/var/folders/d1/vb5gld2n6_7clt874hfnsghw0000gn/T/TemporaryItems/com.xojo.xojo-temp-12/partial.plist</string>
		</array>
	</dict>
	<key>com.apple.actool.errors</key>
	<array>
		<dict>
			<key>description</key>
			<string>Failed to find a suitable device for the type IBSimDeviceTypeiPad2x (com.apple.dt.Xcode.IBSimDeviceType.iPad-2x) with runtime iOS 12.4 (12.4 - 16G73) - com.apple.CoreSimulator.SimRuntime.iOS-12-4</string>
			<key>failure-reason</key>
			<string>Failed to create new simulator device that matches IBSimDeviceTypeiPad2x (com.apple.dt.Xcode.IBSimDeviceType.iPad-2x) for runtime iOS 12.4 (12.4 - 16G73) - com.apple.CoreSimulator.SimRuntime.iOS-12-4 (Invalid runtime: com.apple.CoreSimulator.SimRuntime.iOS-12-4)</string>
			<key>underlying-errors</key>
			<array>
				<dict>
					<key>description</key>
					<string>Invalid runtime: com.apple.CoreSimulator.SimRuntime.iOS-12-4</string>
				</dict>
			</array>
		</dict>
	</array>
</dict>
</plist>

App Icon

and

LaunchScreen.Name
2019-09-02 19:57:32.258 ibtoold[62491:5156091] [MT] IBPlatformTool: *** Failed to launch tool with description <IBCocoaTouchPlatformToolDescription: 0x7fe7f1745ba0> System content for IBCocoaTouchFramework-ElevenAndLater <IBScaleFactorDeviceTypeDescription: 0x7fe7f174a280> scaleFactor=2x: Failed to find or create execution context for description '<IBCocoaTouchPlatformToolDescription: 0x7fe7f1745ba0> System content for IBCocoaTouchFramework-ElevenAndLater <IBScaleFactorDeviceTypeDescription: 0x7fe7f174a280> scaleFactor=2x'. These intermediate objects were non-nil: (
    "IBSimDeviceTypeiPad2x (com.apple.dt.Xcode.IBSimDeviceType.iPad-2x)",
    "iOS 12.4 (12.4 - 16G73) - com.apple.CoreSimulator.SimRuntime.iOS-12-4"
): Failed to find a suitable device for the type IBSimDeviceTypeiPad2x (com.apple.dt.Xcode.IBSimDeviceType.iPad-2x) with runtime iOS 12.4 (12.4 - 16G73) - com.apple.CoreSimulator.SimRuntime.iOS-12-4 (Failure reason: Failed to create new simulator device that matches IBSimDeviceTypeiPad2x (com.apple.dt.Xcode.IBSimDeviceType.iPad-2x) for runtime iOS 12.4 (12.4 - 16G73) - com.apple.CoreSimulator.SimRuntime.iOS-12-4 (Invalid runtime: com.apple.CoreSimulator.SimRuntime.iOS-12-4)): Invalid runtime: com.apple.CoreSimulator.SimRuntime.iOS-12-4
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>com.apple.ibtool.errors</key>
	<array>
		<dict>
			<key>description</key>
			<string>Failed to find or create execution context for description '<IBCocoaTouchPlatformToolDescription: 0x7fe7f1745ba0> System content for IBCocoaTouchFramework-ElevenAndLater <IBScaleFactorDeviceTypeDescription: 0x7fe7f174a280> scaleFactor=2x'. These intermediate objects were non-nil: (
    "IBSimDeviceTypeiPad2x (com.apple.dt.Xcode.IBSimDeviceType.iPad-2x)",
    "iOS 12.4 (12.4 - 16G73) - com.apple.CoreSimulator.SimRuntime.iOS-12-4"
)</string>
			<key>underlying-errors</key>
			<array>
				<dict>
					<key>description</key>
					<string>Failed to find a suitable device for the type IBSimDeviceTypeiPad2x (com.apple.dt.Xcode.IBSimDeviceType.iPad-2x) with runtime iOS 12.4 (12.4 - 16G73) - com.apple.CoreSimulator.SimRuntime.iOS-12-4</string>
					<key>failure-reason</key>
					<string>Failed to create new simulator device that matches IBSimDeviceTypeiPad2x (com.apple.dt.Xcode.IBSimDeviceType.iPad-2x) for runtime iOS 12.4 (12.4 - 16G73) - com.apple.CoreSimulator.SimRuntime.iOS-12-4 (Invalid runtime: com.apple.CoreSimulator.SimRuntime.iOS-12-4)</string>
					<key>underlying-errors</key>
					<array>
						<dict>
							<key>description</key>
							<string>Invalid runtime: com.apple.CoreSimulator.SimRuntime.iOS-12-4</string>
						</dict>
					</array>
				</dict>
			</array>
		</dict>
	</array>
</dict>
</plist>

LaunchScreen

I had the same issue last week and ended up reverting to Xcode 10.2.1

  1. Download Xcode 10.2.1 from https://developer.apple.com/download/more/

  2. Go to your apps and rename Xcode.app to Xcode_103.app

  3. Install Xcode 10.2.1

  4. Quit Xojo

  5. Run Xcode 10.2.1

  6. Open Xojo

Not having this issue Running Xcode 10.3, macOS 10.14.6, Xojo 2019r1.1 simulator ios12.4 ipad 6th gen

Glad for you @Steve Koger, maybe still a consequence from a previous disastrous reversing on my side.

Thanks @Jeremie Leroy ! You saved my day :wink:
The reversion to Xcode 10.2.1 did it. Last time I had to reverse I had all my certificates messed up, this time was fine.

Did you fill a feedback report ?

BTW I did a typo and my Xojo version is indeed Xojo19r1.1

Is there a commonality in what you and Jeremie are doing in your applications that I am not. Determining that might be helpful to Xojo.

[quote=452512:@Olivier Colard]
Did you fill a feedback report ?[/quote]

No I didn’t yet