I’m back to trying to learn some iOS development. I have a test iOS project on Windows that I am trying to deploy to the simulator on my (M1) Mac Mini. I believe that debugging is still not working with this configuration, so instead I just want to deploy and run without debugging. From Visual Studio, I’ve tried menu option “Build => Deploy Solution”, and “Debug => Start Without Debugging”. In both cases it generates the following error::
Starting deploy to Crossbox Server 192.168.27.49 Running /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator -CurrentDeviceUDID 9853D113-AE78-4B5F-843C-CAC56026F560 Waiting for device to boot. Waiting for device to boot, current state: Shutdown Device booted ok. Failed to deploy to CrossBox Server 192.168.27.49: Could not determine path for executable or app bundle.
I think I was seeing something similar in Water, but I rebooted both the Mac and Windows, and now things seem a bit different there. Although Crossbox seems to be connected, the Deploy w/o Debugging option is disabled, as is Run w/o Debugging. The “Run” option does work (it connects to my (M1) Mac and launches the simulator), but it gets stuck on the launch page I think because it is trying to debug, which I believe is a known issue - here’s the last several messages there:
Device booted ok. Uploading iOSBasic2.app to 192.168.27.49. Running /usr/bin/xcrun simctl install 9853D113-AE78-4B5F-843C-CAC56026F560 "/Users/alovhaug/Library/Application Support/RemObjects Software/EBuild/CrossBox/Clients/WIN10CMIKU/2C5FADE01ED78173E9D18532A1C40C6B3F43F00D/Toffee-iOS/iOSBasic2.app" Running /usr/bin/xcrun simctl launch -w 9853D113-AE78-4B5F-843C-CAC56026F560 com.codepoetrysoftware.iOSBasic2 simctl launch: com.codepoetrysoftware.iOSBasic2: 803 simctl launch: exit code 0 Connecting Port is 54464 Running /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/Resources/debugserver -f16 --log-file /dev/stdout 0.0.0.0:54464 --attach=803 debugserver-@(#)PROGRAM:LLDB PROJECT:lldb-1200.0.44 for arm64. detected architecture: arm64 Attaching to process 803... Trying to attach to a translated process with the native debugserver, exiting...
My 3 questions from this are:
- What could be the cause of the error I am seeing in Visual Studio when I try to deploy?
- Why would Run w/o Debugging and Deploy w/o Debugging be disabled in Water?
- Are these issues likely due to the fact that I’m using an M1 Mac Mini? If so, perhaps I need to just abandon working in Windows for now, and focus my attempts to learn iOS development using Fire.