1,748 questions
3 votes
2 answers
2k views
Xcode 26.2 Simulator download fails with DVTDownloadableErrorDomain Code 41 on macOS 26.1
I'm trying to download an iOS Simulator runtime in Xcode 26.2 on macOS 26.1, but the download keeps failing with the following error: Download failed. Domain: DVTDownloadableErrorDomain Code: 41 User ...
0 votes
0 answers
78 views
.NET 10 MAUI Hot Reload fails: “No method by the name ‘GetProjectFullPathAsync’ is found”
After updating my Mac to macOS Tahoe 26.0.1 and Xcode 26, the XAML Hot Reload in my .NET 10 MAUI projects stopped working. When I make any XAML change, the app stays unchanged and the output shows: ...
3 votes
0 answers
151 views
SwiftUI Preview Not Working: Simulator Shutdown Unexpectedly (but app runs fine)
Xcode preview is not working but running the simulator works totally fine... When I try to render a preview of a simple view, the preview canvas fails with a SimulatorShutdownUnexpectedlyError. == ...
0 votes
0 answers
73 views
Flutter iOS Simulator app closes immediately after launch with RequestDenied and “Unable to lookup in current state: Shutdown” errors
I have a Flutter project that I’m trying to run on the iOS Simulator, but the app closes immediately after launching. What I did: Created a new Flutter project and it runs fine on the iOS Simulator. ...
1 vote
0 answers
111 views
How can I efficiently share high-frequency tick data between two local C++ processes using shared memory?
I'm building a high-performance tick simulator in C++ that generates market-like ticks (up to 65,536 per second). Now, I want to send these ticks to another local process on the same Linux machine in ...
6 votes
1 answer
274 views
Accurate 2D collision simulation in Rust
I have created a 2D physics simulation in rust that works for the most part. It involves creating balls which collide with each other and their container. I have looked at a lot of resources and found ...
-1 votes
1 answer
46 views
Arduino Pro micro Flight Peripheral (I have very limited programing knowledge)
Hey I need help with "my" code. I generated it with chat GPT based on the data for the arduino pro micro I have and data on the sensors/switches i use. I want my simulator peripheral to ...
1 vote
1 answer
195 views
How to profile iOS widgets in Instruments?
In order to stay under the 30 MB memory limit for widgets I'd like to profile the widget in the Simulator in Instruments. However, Instruments doesn’t start the profiling session with the error ...
1 vote
0 answers
63 views
GPSIM external stimulus issue
I have a simple circuit (with PIC16F628) which repeatedly measures the frequency of a signal connected to Timer1. I use Timer2 as a timing gate. To simulate the 'system', I used GPSIM, but I'm having ...
0 votes
1 answer
57 views
Simulating T0 external clock for Timer0 on Microchip Studio with ATmega328p
I've setup Timer0 to work with an external clock on pin T0: TCCR0A=0x02 // CTC Mode TCCR0B=0x07 // Start timer on external T0 clock (rising edge) OCR0A=90 // Compare after 90 clock ticks TIMSK0=0x03 //...
0 votes
2 answers
487 views
Android Studio Ladybug Flutter iOS Xcode build Error
Not able to figure out what can be done, as everything is update to date and the app via Xcode but not through Android Studio MacOS 15.0.1 Flutter: 3.24.3 Android Studio Ladybug Xcode 16 iOS 18 ...
0 votes
0 answers
102 views
Is there a way to implement unit tests on ChampSim?
I'm using ChampSim - an open-source trace based simulator and I have created my own implementations of lfu and fifo. ChampSim: https://github.com/ChampSim/ChampSim However, I was wondering if I could ...
0 votes
0 answers
110 views
Webots controller crashes when changing a value in a vector
Im having troubles with the Webots simulator. Whenever I run the code, it always freezes at exactly 0.750 secs, and reports that the main bot controller crashed (there's a second controller for ...
1 vote
0 answers
57 views
Why no location settings showing up in my simulator app settings?
//pubspec.yaml permission_handler: ^11.3.1 import 'package:flutter/material.dart'; import 'package:permission_handler/permission_handler.dart'; void main() => runApp(MaterialApp(home: MyHome())); ...
1 vote
1 answer
1k views
Turing Machine - Finding k-th element and move it to the front of the tape
I am trying to solve the following Turing machine challenge: The number choice function The number choice function is defined as follows. INPUT: a sequence 𝑘, 𝑥1, 𝑥2,..., 𝑥𝑛 where 𝑘 is a ...