前提条件
macos10.15.7+ + xcode12 + clang
---
//test.m
#import <Foundation/Foundation.h>
int main(){
NSLog(@"hello world");
return 0;
}
clang -framework Foundation test.m -o test
前提条件
macos10.15.7+ + xcode12 + clang
---
//test.m
#import <Foundation/Foundation.h>
int main(){
NSLog(@"hello world");
return 0;
}
clang -framework Foundation test.m -o test