In Xcode 11.3 on OS X 11.7, I am trying to run the most basic C++ program:
int main(int argc, char * argv[]) {
return 0;
}
The Product->Build succeeds just fine.
Product->Run results in Thread 1: EXC_BAD_ACCESS (code=2...)
In the Scheme for "Run", I have both Address Sanitizer and Zombie Objects checked, as suggested by other answers to more complicated programs, with no change in the error.
Something fundamental must be misconfigured, but i am new to Xcode and am out of obvious places to look.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.