It's weird, this code doesn't crash in an empty project, tested in Xcode 15 beta 8 + iOS 13.6
struct St {
};
int main(int argc, char *argv[]) {
@autoreleasepool {
auto ptr = new St;
NSLog(@"%p", ptr);
delete ptr;
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
Post
Replies
Boosts
Views
Activity
Same: https://developer.apple.com/forums/thread/736572
This issue exists for at least 3 beta versions
Xcode 15 beta 8 still crash on new
Good, waiting for it