iOS app issues Xojo version vs XCode version

I have a app, running on my own iOS devices (iPhone, iPad) that needs some changes.
This small app was developed, build and installed on devices a few weeks ago.

Today, opening the app with

  • macOS Mojave (10.14.4)
  • Xojo 2018r4
  • Xcode 10.2 (command line installed)

I get an error when running: trying to run an iOS project with no iOS devices configured
There’s indeed no more simulator device in iOS debugging parameters and NO device comes up in the combo.

Installed Xojo 2019r1, open same application:
-> all devices are back in the simulator device combo

But when running the app I’m getting errors on (see details below)

  • App Icon . Name
  • Launch Screen . Name

I tried renaming Xcode to XCode10.2, re-downloaded Xcode 10.1 (and command line tools).
Results:
Xojo 2018r4: same problem, no simulator device, combo empty
Xojo 2019r1: seems ok, but when I’m running the app I get a new error:

Compilation failed An error occured when attempting to launch application. You may need to delete the application from the simulator

Am I forced to use Xojo 2019r1 and to stop XCode updates ?

How do I changes this app now ?

Thanks

App Icon . Name

[code]<?xml version="1.0" encoding="UTF-8"?>

com.apple.actool.compilation-results output-files /var/folders/d1/vb5gld2n6_7clt874hfnsghw0000gn/T/TemporaryItems/com.xojo.xojo-temp-2/AppIcon20x20@2x.png /var/folders/d1/vb5gld2n6_7clt874hfnsghw0000gn/T/TemporaryItems/com.xojo.xojo-temp-2/AppIcon20x20@3x.png /var/folders/d1/vb5gld2n6_7clt874hfnsghw0000gn/T/TemporaryItems/com.xojo.xojo-temp-2/AppIcon29x29@2x.png /var/folders/d1/vb5gld2n6_7clt874hfnsghw0000gn/T/TemporaryItems/com.xojo.xojo-temp-2/AppIcon29x29@3x.png /var/folders/d1/vb5gld2n6_7clt874hfnsghw0000gn/T/TemporaryItems/com.xojo.xojo-temp-2/AppIcon40x40@2x.png /var/folders/d1/vb5gld2n6_7clt874hfnsghw0000gn/T/TemporaryItems/com.xojo.xojo-temp-2/AppIcon40x40@3x.png /var/folders/d1/vb5gld2n6_7clt874hfnsghw0000gn/T/TemporaryItems/com.xojo.xojo-temp-2/AppIcon60x60@2x.png /var/folders/d1/vb5gld2n6_7clt874hfnsghw0000gn/T/TemporaryItems/com.xojo.xojo-temp-2/AppIcon60x60@3x.png /var/folders/d1/vb5gld2n6_7clt874hfnsghw0000gn/T/TemporaryItems/com.xojo.xojo-temp-2/AppIcon29x29~ipad.png /var/folders/d1/vb5gld2n6_7clt874hfnsghw0000gn/T/TemporaryItems/com.xojo.xojo-temp-2/AppIcon40x40~ipad.png /var/folders/d1/vb5gld2n6_7clt874hfnsghw0000gn/T/TemporaryItems/com.xojo.xojo-temp-2/AppIcon76x76~ipad.png /var/folders/d1/vb5gld2n6_7clt874hfnsghw0000gn/T/TemporaryItems/com.xojo.xojo-temp-2/AppIcon76x76@2x~ipad.png /var/folders/d1/vb5gld2n6_7clt874hfnsghw0000gn/T/TemporaryItems/com.xojo.xojo-temp-2/AppIcon83.5x83.5@2x~ipad.png /private/var/folders/d1/vb5gld2n6_7clt874hfnsghw0000gn/T/TemporaryItems/com.xojo.xojo-temp-2/partial.plist com.apple.actool.errors description Failed to find a suitable device for the type IBSimDeviceTypeiPad2x (com.apple.dt.Xcode.IBSimDeviceType.iPad-2x) with runtime iOS 12.2 (12.2 - 16E226) - com.apple.CoreSimulator.SimRuntime.iOS-12-2 failure-reason Failed to create new simulator device that matches IBSimDeviceTypeiPad2x (com.apple.dt.Xcode.IBSimDeviceType.iPad-2x) for runtime iOS 12.2 (12.2 - 16E226) - com.apple.CoreSimulator.SimRuntime.iOS-12-2 (The operation couldn’t be completed. Invalid argument) underlying-errors description The operation couldn’t be completed. Invalid argument failure-reason Invalid argument

App Icon
[/code]

LaunchScreen . Name

[code]2019-04-12 08:43:02.482 ibtoold[51433:3234182] [MT] IBPlatformTool: *** Failed to launch tool with description <IBCocoaTouchPlatformToolDescription: 0x7f858c9568d0> System content for IBCocoaTouchFramework-ElevenAndLater <IBScaleFactorDeviceTypeDescription: 0x7f858c956700> scaleFactor=2x: Failed to find or create execution context for description ‘<IBCocoaTouchPlatformToolDescription: 0x7f858c9568d0> System content for IBCocoaTouchFramework-ElevenAndLater <IBScaleFactorDeviceTypeDescription: 0x7f858c956700> scaleFactor=2x’. These intermediate objects were non-nil: (
“IBSimDeviceTypeiPad2x (com.apple.dt.Xcode.IBSimDeviceType.iPad-2x)”,
“iOS 12.2 (12.2 - 16E226) - com.apple.CoreSimulator.SimRuntime.iOS-12-2”
) (Failure reason: Invalid argument): Failed to find a suitable device for the type IBSimDeviceTypeiPad2x (com.apple.dt.Xcode.IBSimDeviceType.iPad-2x) with runtime iOS 12.2 (12.2 - 16E226) - com.apple.CoreSimulator.SimRuntime.iOS-12-2 (Failure reason: Failed to create new simulator device that matches IBSimDeviceTypeiPad2x (com.apple.dt.Xcode.IBSimDeviceType.iPad-2x) for runtime iOS 12.2 (12.2 - 16E226) - com.apple.CoreSimulator.SimRuntime.iOS-12-2 (The operation couldn’t be completed. Invalid argument)): The operation couldn’t be completed. Invalid argument (Failure reason: Invalid argument)

<?xml version="1.0" encoding="UTF-8"?> com.apple.ibtool.errors description Failed to find or create execution context for description ' System content for IBCocoaTouchFramework-ElevenAndLater scaleFactor=2x'. These intermediate objects were non-nil: ( "IBSimDeviceTypeiPad2x (com.apple.dt.Xcode.IBSimDeviceType.iPad-2x)", "iOS 12.2 (12.2 - 16E226) - com.apple.CoreSimulator.SimRuntime.iOS-12-2" ) failure-reason Invalid argument underlying-errors description Failed to find a suitable device for the type IBSimDeviceTypeiPad2x (com.apple.dt.Xcode.IBSimDeviceType.iPad-2x) with runtime iOS 12.2 (12.2 - 16E226) - com.apple.CoreSimulator.SimRuntime.iOS-12-2 failure-reason Failed to create new simulator device that matches IBSimDeviceTypeiPad2x (com.apple.dt.Xcode.IBSimDeviceType.iPad-2x) for runtime iOS 12.2 (12.2 - 16E226) - com.apple.CoreSimulator.SimRuntime.iOS-12-2 (The operation couldn’t be completed. Invalid argument) underlying-errors description The operation couldn’t be completed. Invalid argument failure-reason Invalid argument

LaunchScreen[/code]

EDIT:

All simulators were gone (??) in Xcode / prefs / components
I downloaded iOS 12.1 and 12.0

Result is better but I’m still forced to use Xojo 2019r1

Xojo 2018r4 - NOT OK with Xcode 10.1 neither Xcode 10.2: no simulator devices available
Xojo 2019r1 - OK with Xcode 10.1 & 10.2: I can run, build, install on iOS device 12.1 and 12.2

[quote]Xojo 2018r4 - NOT OK with Xcode 10.1 neither Xcode 10.2: no simulator devices available
Xojo 2019r1 - OK with Xcode 10.1 & 10.2: I can run, build, install on iOS device 12.1 and 12.2[/quote]

Sadly, correct.
Usual story: Apple changed something and broke Xojo 2018
Xojo 2019 contains a workaround/fix/new method , call it what you will

Unfortunately it seems that once you installed Xcode 10.2, Xojo 2018 is rendered useless for iOS apps.
There is no simple workaround at the moment.

If your license permits you to use Xojo 2019r1 then use it
If not, you might need to reinstall macOS and make sure to install Xcode 10.1 only. I had the exact same problem and most of my business is iOS related.

Thanks, I’ll keep on using 2019r1 for iOS…