What determines whether it shows option to run iOS...
# amper
j
What determines whether it shows option to run iOS app in project? I copied contents of project where this was working in to another folder and that option is not showing now for some reason?
even I just make an exact copy of that folder and try to open in Fleet I'm seeing same issue
I do see this fwiw
Copy code
> Configure project :ios-app
Using Xcode: /Applications/Xcode.app/Contents/Developer
hmm, seeing this now for some reason
I got this option in original project.....did that and don't get that error but still not seeing option to run ios app
I see this in settings for working version but not for other one
a
AFAIU the project should be properly auto-configured and the Xcode project model should be set up for it. Try re-open/re-import project. cc @Maciej Procyk could you advise here about how it works in Fleet? Thanks.
j
have done that several times but doesn't seem to help..
Also, is there a way to do a clean build in fleet?
m
@John O'Reilly do you have any installations available in dropdown? I suppose you have some unknown device family configured for your Xcode project, may I know what's that? Maybe it would be also possible to share your
idea.log
file, which is available with
Open IntelliJ Backend Logs in Finder
action.
Also, is there a way to do a clean build in fleet?
I used to do that by moving project to some other dir with different name, this helped. I'll ask colleagues for more proper solution
j
What's strange is that iOS build etc works in one project but not if I just make exact copy of it to another folder and open that
That xcode section is only shown in the working project
There are 2 options in that drop down, xcode 15 and 15.2
But didn't seem to need to select one on the working project
m
But didn't seem to need to select one on the working project
ok, so the default picked one worked here. Let's see into logs to see why your project cannot be imported. Can't help more with some reproduction sample or logs information
j
@Maciej Procyk where do I find "Open IntelliJ Backend Logs in Finder" ?
not here at least
m
sorry, this one is internal,
Collect Logs...
should do the job
j
Just did an import now (about 16:06 or so local time here)
๐Ÿ™ 1
I think this is the relevant
idea.log
for that last time
Copy code
2024-02-13 16:07:01,559 [  45365] SEVERE - #c.i.e.a.RunConfigurationProducer - Unknown SimulatorConfiguration.launchDeviceFamily=7
java.lang.IllegalStateException: Unknown SimulatorConfiguration.launchDeviceFamily=7
	at com.jetbrains.mobile.execution.AppleSimulator.<init>(AppleDevice.kt:65)
	at com.jetbrains.mobile.execution.DeviceService.getAppleSimulators(DeviceService.kt:27)
this 1
I suppose you have some unknown device family configured for your Xcode project
I'm not sure what that is....do you know how I'd find out?
m
what does command
xcrun simctl list devices available
prints you?
j
just downloading software now to run that
(had to run
xcode-select --install
first)
I've also uninstalled 15.0
(just 15.2 there now)
๐Ÿ‘Œ๐Ÿป 1
Copy code
xcrun simctl list devices available
objc[53499]: Class XROS1_0SimRuntime is implemented in both /Library/Developer/CoreSimulator/Volumes/xrOS_21N305/Library/Developer/CoreSimulator/Profiles/Runtimes/xrOS 1.0.simruntime/Contents/MacOS/xrOS 1.0 (0x1011300e0) and /Library/Developer/CoreSimulator/Volumes/xrOS_21N5165g/Library/Developer/CoreSimulator/Profiles/Runtimes/xrOS 1.0.simruntime/Contents/MacOS/xrOS 1.0 (0x1011440e0). One of the two will be used. Which one is undefined.
== Devices ==
-- iOS 17.0 --
-- iOS 17.0 --
-- iOS 17.0 --
-- iOS 17.0 --
-- iOS 17.0 --
-- iOS 17.0 --
-- iOS 17.0 --
    device-IPhone13Pro (8F305032-62CF-4E42-A38C-CFCE3E617FA5) (Shutdown) 
    iPhone SE (3rd generation) (FE9D28A2-846D-427E-8E2B-628324F342F9) (Shutdown) 
    iPhone 14 (FF570674-5311-46BD-9518-9427B2F84208) (Shutdown) 
    iPhone 14 Plus (D00D86C5-56B1-4EAB-A475-9373A3D8CB16) (Shutdown) 
    iPhone 14 Pro (E7EEA662-03C5-4272-BE87-7D58F119876E) (Shutdown) 
    iPhone 14 Pro Max (79E4C9C9-0B7C-4FE4-9FF0-A14F7A5478C8) (Shutdown) 
    iPhone 15 (173C829E-E144-40F6-91D6-B68400551D2E) (Shutdown) 
    iPhone 15 Plus (343ED965-B55D-40CE-8F4F-E57AFE39A53E) (Shutdown) 
    iPhone 15 Pro (E6F8A9F3-901E-49D9-8166-2114965C3CC4) (Shutdown) 
    iPhone 15 Pro Max (344794C2-2668-4733-9855-2EC5DE2305E3) (Shutdown) 
    iPad Air (5th generation) (73DC1255-36CE-4AF0-96A5-8ECEB8E3DC87) (Shutdown) 
    iPad (10th generation) (FDFF5C97-CD66-48F0-9B4C-3878514C97C4) (Shutdown) 
    iPad mini (6th generation) (E80937CE-E2A6-4E13-A19F-B688B7A33BE7) (Shutdown) 
    iPad Pro (11-inch) (4th generation) (AFF108B9-960B-4C50-BD23-E2DBB3E23EF7) (Shutdown) 
    iPad Pro (12.9-inch) (6th generation) (FAEC290E-C4C9-4848-B2B7-763D556BE434) (Shutdown) 
-- iOS 17.2 --
    iPhone SE (3rd generation) (CBC2D5C2-AEB6-4B9F-AC5A-4EE5906780AA) (Shutdown) 
    iPhone 15 (65F59EA0-B95D-4396-BD1C-E0020EB6225F) (Shutdown) 
    iPhone 15 Plus (B2D7ED3E-79B8-4473-8230-B3BFEEF2DAB6) (Shutdown) 
    iPhone 15 Pro (64BB89B7-9F71-4B09-8F81-74A313681867) (Shutdown) 
    iPhone 15 Pro Max (6CBBDEBE-4E36-47F4-AF44-ABFDCDCD1C11) (Shutdown) 
    iPad Air (5th generation) (B4CF89AE-84B7-48E8-91ED-436C9936C832) (Shutdown) 
    iPad (10th generation) (70697FBC-E1EB-425E-BA43-9EC73282BECB) (Shutdown) 
    iPad mini (6th generation) (F9B09498-3595-46EA-A492-012064CEF4D7) (Shutdown) 
    iPad Pro (11-inch) (4th generation) (F0D52301-D8B9-486F-8465-177FBDFFF95A) (Shutdown) 
    iPad Pro (12.9-inch) (6th generation) (EB735F78-D9A2-4005-9353-1D32344F435D) (Shutdown) 
-- tvOS 16.4 --
    Apple TV (8A27F664-EEFE-48F7-B3C1-97FD630260B3) (Shutdown) 
    Apple TV 4K (3rd generation) (424B300A-4443-4162-93F1-7D0D2512E4C3) (Shutdown) 
    Apple TV 4K (3rd generation) (at 1080p) (06B803BD-4484-482C-BD03-CD97EE978B77) (Shutdown) 
-- watchOS 9.0 --
    Apple Watch Series 5 (40mm) (D248FC75-48FE-4600-806C-047475942B8A) (Shutdown) 
    Apple Watch Series 5 (44mm) (EB183A96-D342-4066-A117-55A5E5C64603) (Shutdown) 
    Apple Watch Series 6 (40mm) (218AC69B-3F20-4979-80C3-26105D639DA3) (Shutdown) 
    Apple Watch Series 6 (44mm) (0FDEBF9F-B798-4F79-8258-469A2C5B568B) (Shutdown) 
    Apple Watch Series 7 (41mm) (07E2E553-82CF-44A6-BED5-9BA7A0083A0A) (Shutdown) 
    Apple Watch Series 7 (45mm) (062B2554-9404-4249-A240-ABE501E87388) (Shutdown) 
    Apple Watch SE (40mm) (2nd generation) (77D716D7-306A-49EC-956F-767140AB5C11) (Shutdown) 
    Apple Watch SE (44mm) (2nd generation) (4FC5B3C2-EE5A-4985-98D3-07BFA7D61C38) (Shutdown) 
    Apple Watch Series 8 (41mm) (9CC328D4-0B1C-4820-9F26-5D22DB1B5B76) (Shutdown) 
    Apple Watch Series 8 (45mm) (2DF05BCB-D550-4C4F-881F-DB7922A7C7DD) (Shutdown) 
    Apple Watch Ultra (49mm) (7CC9FAD5-872C-4B90-AA51-55F08FC32261) (Shutdown) 
-- watchOS 9.4 --
    Apple Watch Series 5 (40mm) (6A7E6E64-751C-49B7-AD7D-CDF9B9B21C59) (Shutdown) 
    Apple Watch Series 5 (44mm) (159151B4-BD3F-4A7B-9BA9-C8543A0220D0) (Shutdown) 
    Apple Watch Series 6 (40mm) (94AF8DD7-2D85-4CD5-9A3D-D162F6734589) (Shutdown) 
    Apple Watch Series 6 (44mm) (076875C8-913B-4269-8F96-867223B2B035) (Shutdown) 
    Apple Watch Series 7 (41mm) (5CF0935E-B639-48B6-AE94-22F0C1CBAD6A) (Shutdown) 
    Apple Watch Series 7 (45mm) (3AE25C96-2EFB-4C80-938A-E2AE5ECC26D1) (Shutdown) 
    Apple Watch SE (40mm) (2nd generation) (A65DAEBE-C960-48A5-99E1-B5CE6DFB1524) (Shutdown) 
    Apple Watch SE (44mm) (2nd generation) (67037AE9-30F9-4E02-9D2A-B0D37A078E01) (Shutdown) 
    Apple Watch Series 8 (41mm) (ECBF71EB-B472-47EB-BA64-7E84BE34635E) (Shutdown) 
    Apple Watch Series 8 (45mm) (48FA4CA1-4564-440A-AC37-3AC943B61134) (Shutdown) 
    Apple Watch Ultra (49mm) (60C06C64-ECCB-49BA-BE89-48184774DFD2) (Shutdown) 
-- watchOS 10.0 --
-- watchOS 10.0 --
-- watchOS 10.0 --
-- watchOS 10.0 --
-- watchOS 10.0 --
-- watchOS 10.0 --
-- watchOS 10.0 --
    Apple Watch Series 5 (40mm) (435B0BF0-F2D2-490E-AE6C-22DC083F7652) (Shutdown) 
    Apple Watch Series 5 (44mm) (5B2A1A06-3BB7-4AB2-A3CA-FFFA20A59037) (Shutdown) 
    Apple Watch Series 6 (40mm) (73E0593A-86CD-45B1-8C46-8B1E2CAE4465) (Shutdown) 
    Apple Watch Series 6 (44mm) (C2F2470A-8C32-410F-9D7C-0545E5B707A0) (Shutdown) 
    Apple Watch Series 7 (41mm) (8BF62112-E179-4C09-BC10-1933B9961C68) (Shutdown) 
    Apple Watch Series 7 (45mm) (FE3E7BA6-73DB-498E-9B51-765B78686383) (Shutdown) 
    Apple Watch SE (40mm) (2nd generation) (01427268-859A-4833-9BE2-91A998F31DD0) (Shutdown) 
    Apple Watch SE (44mm) (2nd generation) (08B0EF50-131D-4ADB-9A31-AC9700B54674) (Shutdown) 
    Apple Watch Series 8 (41mm) (C03351D5-C40E-4308-B99C-FA51B19BA292) (Shutdown) 
    Apple Watch Series 8 (45mm) (13396C11-E448-4024-BB7B-3A046079CA11) (Shutdown) 
    Apple Watch Ultra (49mm) (21A108FD-161A-49D0-AB66-A9C32C726C13) (Shutdown) 
    Apple Watch Series 9 (41mm) (6A533DBF-7FA7-48BE-9234-A93AC954AA3F) (Shutdown) 
    Apple Watch Series 9 (45mm) (6DBC19B9-C063-4E9C-9F98-BEB12D4D5646) (Shutdown) 
    Apple Watch Ultra 2 (49mm) (E8612B43-4828-45E2-B424-2BE97A67FFF8) (Shutdown) 
-- watchOS 10.2 --
    Apple Watch Series 5 (40mm) (1669552D-84BA-41CF-92F6-F57A2E9CFEDF) (Shutdown) 
    Apple Watch Series 5 (44mm) (365ABCA4-8312-433F-BB52-18A2B85C816E) (Shutdown) 
    Apple Watch Series 6 (40mm) (CDE23C4E-D5AA-49DE-B2F7-845928270B89) (Shutdown) 
    Apple Watch Series 6 (44mm) (501693ED-A8C3-4801-A585-20942DFB9126) (Shutdown) 
    Apple Watch Series 7 (41mm) (7CB6A95A-9368-426C-B6B5-6AFF183F470F) (Shutdown) 
    Apple Watch Series 7 (45mm) (5F904C4C-61BD-436A-8EC8-1FFBAFB899EC) (Shutdown) 
    Apple Watch SE (40mm) (2nd generation) (9AB7C94B-89EA-41CC-B1F8-B7FAE4EFD363) (Shutdown) 
    Apple Watch SE (44mm) (2nd generation) (0883C1A9-2D87-48B1-9FA4-8B7A46003CE8) (Shutdown) 
    Apple Watch Series 9 (41mm) (2F256EC8-4A6A-49F4-AAF5-E6BDEAC7A315) (Shutdown) 
    Apple Watch Series 9 (45mm) (73ECB7B1-4B0C-460E-96C9-9FF2FCB61AED) (Shutdown) 
    Apple Watch Ultra 2 (49mm) (5F48A7FC-819F-45B9-8705-0DB6C1E13309) (Shutdown) 
-- visionOS 1.0 --
-- visionOS 1.0 --
    Apple Vision Pro (9BAC83F3-2D21-458D-895A-8BAF853BC95F) (Shutdown) 
-- Unavailable: com.apple.CoreSimulator.SimRuntime.iOS-15-0 --
-- Unavailable: com.apple.CoreSimulator.SimRuntime.iOS-15-2 --
-- Unavailable: com.apple.CoreSimulator.SimRuntime.iOS-15-4 --
-- Unavailable: com.apple.CoreSimulator.SimRuntime.iOS-15-5 --
-- Unavailable: com.apple.CoreSimulator.SimRuntime.iOS-16-0 --
-- Unavailable: com.apple.CoreSimulator.SimRuntime.iOS-16-1 --
-- Unavailable: com.apple.CoreSimulator.SimRuntime.iOS-16-2 --
-- Unavailable: com.apple.CoreSimulator.SimRuntime.iOS-16-4 --
-- Unavailable: com.apple.CoreSimulator.SimRuntime.tvOS-15-0 --
-- Unavailable: com.apple.CoreSimulator.SimRuntime.tvOS-15-2 --
-- Unavailable: com.apple.CoreSimulator.SimRuntime.tvOS-15-4 --
-- Unavailable: com.apple.CoreSimulator.SimRuntime.watchOS-8-0 --
-- Unavailable: com.apple.CoreSimulator.SimRuntime.watchOS-8-3 --
-- Unavailable: com.apple.CoreSimulator.SimRuntime.watchOS-8-5 --
โžœ  ~
m
I guess
Apple Vision Pro
might be problematic, can you try removing it with
xcrun simctl delete 9BAC83F3-2D21-458D-895A-8BAF853BC95F
or is it somehow needed for you? This might be a workaround for the problem, still I think we'll work on that issue
j
I can delete it for now
m
Cool, let's see if that helps fully to have your project properly imported
j
yep, working now!
had been trying Vision Pro out for this ๐Ÿ˜ƒ https://x.com/joreilly/status/1671688390977224705?s=20
m
That's cool! May I reuse your logs to attach them to the ticket and have that problem logged in our tracker?
j
yeah, of course
๐Ÿ™ 1
m
here is the ticket if you want to follow the update
๐Ÿ‘ 1
j
btw tried custom
run.json
and worked great as well
Copy code
{
    "configurations": [
        {
            "type": "kmp-app",
            "name": "ClimateTraceKMP iOS App",
            "module": "ClimateTraceKMP.ios-app.iosAppMain",
            "destination": "iPad Pro (11-inch) (4th generation) | iOS 17.2",
        }
    ]
}
๐Ÿ†’ 1