summaryrefslogtreecommitdiff
path: root/tests/projects/objc/bundle/src
diff options
context:
space:
mode:
authorruki <[email protected]>2020-04-04 21:27:21 +0800
committerruki <[email protected]>2020-04-04 21:27:21 +0800
commitdb450e5497761c5def6cab798d7fabfc4316214a (patch)
treec1cd45f6a8ab9988854168c63040c3f6011cb1dd /tests/projects/objc/bundle/src
parentd656204be63f729a9e7b60f509af1fc3450726cc (diff)
add xcode.bundle rule
Diffstat (limited to 'tests/projects/objc/bundle/src')
-rw-r--r--tests/projects/objc/bundle/src/Info.plist46
-rw-r--r--tests/projects/objc/bundle/src/main.m11
2 files changed, 46 insertions, 11 deletions
diff --git a/tests/projects/objc/bundle/src/Info.plist b/tests/projects/objc/bundle/src/Info.plist
new file mode 100644
index 000000000..090a794fb
--- /dev/null
+++ b/tests/projects/objc/bundle/src/Info.plist
@@ -0,0 +1,46 @@
+<?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>BNDL</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>
+</dict>
+</plist>
diff --git a/tests/projects/objc/bundle/src/main.m b/tests/projects/objc/bundle/src/main.m
deleted file mode 100644
index e3fa72dbf..000000000
--- a/tests/projects/objc/bundle/src/main.m
+++ /dev/null
@@ -1,11 +0,0 @@
-#import <Foundation/Foundation.h>
-#import <test/test.h>
-
-int main(int argc, char** argv)
-{
- @autoreleasepool
- {
- NSLog(@"add(1, 2): %d", add(1, 2));
- }
- return 0;
-}