summaryrefslogtreecommitdiff
path: root/tests/projects
diff options
context:
space:
mode:
authorruki <[email protected]>2020-04-04 22:34:40 +0800
committerruki <[email protected]>2020-04-04 22:34:40 +0800
commitf3c457bc3fd98a7c06383e260aec3f5b358ceaae (patch)
treeaec3b9eb7231f267b6ac87a7707aaf9a4f43bc2d /tests/projects
parent0f2d5d416b658b44752021fdac3be264afee3324 (diff)
impl xcode.application
Diffstat (limited to 'tests/projects')
-rw-r--r--tests/projects/objc/application/src/Info.plist54
-rw-r--r--tests/projects/objc/application/xmake.lua3
2 files changed, 56 insertions, 1 deletions
diff --git a/tests/projects/objc/application/src/Info.plist b/tests/projects/objc/application/src/Info.plist
new file mode 100644
index 000000000..968bf5d3d
--- /dev/null
+++ b/tests/projects/objc/application/src/Info.plist
@@ -0,0 +1,54 @@
+<?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>BuildMachineOSBuild</key>
+ <string>18G95</string>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>en</string>
+ <key>CFBundleExecutable</key>
+ <string>test</string>
+ <key>CFBundleIdentifier</key>
+ <string>org.tboox.test</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>test</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleSupportedPlatforms</key>
+ <array>
+ <string>MacOSX</string>
+ </array>
+ <key>CFBundleVersion</key>
+ <string>1</string>
+ <key>DTCompiler</key>
+ <string>com.apple.compilers.llvm.clang.1_0</string>
+ <key>DTPlatformBuild</key>
+ <string>11B52</string>
+ <key>DTPlatformVersion</key>
+ <string>GM</string>
+ <key>DTSDKBuild</key>
+ <string>19B81</string>
+ <key>DTSDKName</key>
+ <string>macosx10.15</string>
+ <key>DTXcode</key>
+ <string>1120</string>
+ <key>DTXcodeBuild</key>
+ <string>11B52</string>
+ <key>LSMinimumSystemVersion</key>
+ <string>10.14</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/application/xmake.lua b/tests/projects/objc/application/xmake.lua
index 83522c669..12f773a1d 100644
--- a/tests/projects/objc/application/xmake.lua
+++ b/tests/projects/objc/application/xmake.lua
@@ -1,5 +1,6 @@
add_rules("mode.debug", "mode.release")
-target("demo")
+target("test")
add_rules("xcode.application")
add_files("src/main.m")
+ add_installfiles("src/Info.plist")