summaryrefslogtreecommitdiff
path: root/tests/projects/objc/macapp/src
diff options
context:
space:
mode:
authorruki <[email protected]>2020-04-05 16:29:37 +0800
committerruki <[email protected]>2020-04-05 16:29:37 +0800
commit9152a9f7b0f5bddeaabc776d4557b90fef581fcc (patch)
tree6d7368f2f04bd4b5b1f695014dc475e3816e1292 /tests/projects/objc/macapp/src
parenta60c8e6025e597fd569a41e5add672d87bd4ca5a (diff)
rename macapp tests
Diffstat (limited to 'tests/projects/objc/macapp/src')
-rw-r--r--tests/projects/objc/macapp/src/Info.plist36
-rw-r--r--tests/projects/objc/macapp/src/main.m10
2 files changed, 46 insertions, 0 deletions
diff --git a/tests/projects/objc/macapp/src/Info.plist b/tests/projects/objc/macapp/src/Info.plist
new file mode 100644
index 000000000..4bf9680cf
--- /dev/null
+++ b/tests/projects/objc/macapp/src/Info.plist
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>$(DEVELOPMENT_LANGUAGE)</string>
+ <key>CFBundleExecutable</key>
+ <string>$(EXECUTABLE_NAME)</string>
+ <key>CFBundleIconFile</key>
+ <string></string>
+ <key>CFBundleIdentifier</key>
+ <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>$(PRODUCT_NAME)</string>
+ <key>CFBundlePackageType</key>
+ <string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleVersion</key>
+ <string>1</string>
+ <key>LSMinimumSystemVersion</key>
+ <string>$(MACOSX_DEPLOYMENT_TARGET)</string>
+ <key>NSHumanReadableCopyright</key>
+ <string>Copyright © 2020 tboox. All rights reserved.</string>
+ <key>NSMainStoryboardFile</key>
+ <string>Main</string>
+ <key>NSPrincipalClass</key>
+ <string>NSApplication</string>
+ <key>NSSupportsAutomaticTermination</key>
+ <true/>
+ <key>NSSupportsSuddenTermination</key>
+ <true/>
+</dict>
+</plist>
diff --git a/tests/projects/objc/macapp/src/main.m b/tests/projects/objc/macapp/src/main.m
new file mode 100644
index 000000000..47ac6bdc2
--- /dev/null
+++ b/tests/projects/objc/macapp/src/main.m
@@ -0,0 +1,10 @@
+#import <Foundation/Foundation.h>
+
+int main(int argc, char** argv)
+{
+ @autoreleasepool
+ {
+ NSLog(@"hello xmake!");
+ }
+ return 0;
+}