https://kotlinlang.org logo
#fleet
Title
# fleet
m

Martin Sonc

11/20/2023, 12:36 PM
hey peeps, I've a question regarding a Fleet configuration for iOS applications. I've migrated from IntelliJ to Fleet and had a configuration running without problems a week or so ago:
Copy code
{
    "configurations": [
        {
            "type": "xcode-app",
            "name": "Client - iOS",
            "buildTarget": {
                "project": "iOS",
                "target": "iOS",
            },
            "configuration": "Release",
            "destination": "iPhone 15 | iOS 17.0",
        },
        
    ]
}
it now errors out, recommending changing the destination to "iOS Device" doing that results in an error again, this time complaining about not being logged in to something?
Copy code
Domain=DVTPortalServiceErrorDomain Code=1100 "Your session has expired. Please log in."
running the app from XCode works without issues. Any ideas? Also, could we have some more documentation for the run configurations?
s

Stylianos Gakis

11/20/2023, 1:00 PM
Does it run from Xcode when you choose that same device? Also if you remove that device string there, does autocompletion suggest it again? If not perhaps that simulator does not exist anymore as far as Xcode is concerned?
m

Martin Sonc

11/20/2023, 1:03 PM
Fleet autocomplete only offers the "iOS Device" option now, and the config doesn't seem to work without the "destination" value set There doesn't seem to be an option in XCode to run on just an "iOS Device", I have to pick the exact emulator version (which is what I had in the original configuration)
s

Stylianos Gakis

11/20/2023, 1:21 PM
I had this issue too, and when it does not autocomplete it means that something is wrong, take a look here https://kotlinlang.slack.com/archives/C063G2ZBF8V/p1699887239445569?thread_ts=1699884879.486869&cid=C063G2ZBF8V for a thread with someone who had a similar issue with you. When I experienced this problem I think I just closed down Xcode and Fleet, then launched them again and it just started showing. I have no idea other than that how I got it fixed 😄
m

Martin Sonc

11/20/2023, 1:23 PM
ha ok, interesting ... tried killing both apps, reboot incoming 😉
kodee excited 1
forgot to update, the issue resolved itself after a reboot, seems like the system wasn't able to read the XCode configuration or something
kodee happy 1
5 Views