Post

Replies

Boosts

Views

Activity

Crash
Hello! I found a crash at the start of the app with an error: error: memory read failed for 0x0 Thread 1: EXC_BAD_ACCESS (code=1, address=0x0) If I add to the project: @available(iOS 16.0, *) @MainActor class SomeClass { var configuration: ImageAnalyzer.Configuration? } But if I replace the class with a structure, then the app will run without crash: @available(iOS 16.0, *) @MainActor struct SomeStruct {     var configuration: ImageAnalyzer.Configuration? } Xcode 14.0 beta 5 (14A5294e) iOS 15.6 On iOS 16 beta, both options work, without crashes. Any suggestion as to what to look for?
2
1
1.9k
Aug ’22
Crash
Hello! I found a crash at the start of the app with an error: error: memory read failed for 0x0 Thread 1: EXC_BAD_ACCESS (code=1, address=0x0) If I add to the project: @available(iOS 16.0, *) @MainActor class SomeClass { var configuration: ImageAnalyzer.Configuration? } But if I replace the class with a structure, then the app will run without crash: @available(iOS 16.0, *) @MainActor struct SomeStruct {     var configuration: ImageAnalyzer.Configuration? } Xcode 14.0 beta 5 (14A5294e) iOS 15.6 On iOS 16 beta, both options work, without crashes. Any suggestion as to what to look for?
Replies
2
Boosts
1
Views
1.9k
Activity
Aug ’22