Posts

Post not yet marked as solved
0 Replies
392 Views
I'm hitting a wall with this one, it seems to be an issue on SwiftUI's side... I have a SwiftUI document based app, this is the current code: @main struct MicroApp: App { 	@SceneBuilder var body: some Scene {     DocumentGroup(newDocument: MicroDocument()) { fileConfiguration in 			// other code used to be here     }   } } Every time I start the app I get an alert: "The document “my.micro” could not be opened. The file doesn’t exist." Update: Joke's on me :) After doing a text search in the project folder I figured I had "my.micro" as a command line argument to the app in Xcode. Not sure if the error message can be improved in any way ...
Posted
by icanzilb.
Last updated
.
Post not yet marked as solved
1 Replies
665 Views
I'm trying to profile code that emits signpost data in a test.I right click on the "run" button to the left of the test and click "profile "testXXX()", then run the signpost instrument but none of the signpost data shows up.THENI'll just re-run Instruments and profile the app bundle that the test bundle belongs to and voila, the test along with the signpost data shows up in Instruments.Is there a step I'm missing or this is just a bug?
Posted
by icanzilb.
Last updated
.
Post marked as solved
5 Replies
1.4k Views
What would be the way to add backtrace data to events I report to my custom instrument via signposts? I'd love to be able to select a point of interest on the instrument lane and drill down to the frame in the stack where the event is reported and then double click to go to that place in the source in Xcode. Is that something doable?
Posted
by icanzilb.
Last updated
.