summaryrefslogtreecommitdiff
path: root/tests/projects
diff options
context:
space:
mode:
authorruki <[email protected]>2020-04-05 14:32:36 +0800
committerruki <[email protected]>2020-04-05 14:32:36 +0800
commit79ff6aed24ebfda2ecd4628b2237b75a003e347a (patch)
tree7a901d3fd0400e7926b9e5ba39ce627bae640a81 /tests/projects
parent903821ab225794e65e1fdee98afce2a566fe0f14 (diff)
improve info.plist
Diffstat (limited to 'tests/projects')
-rw-r--r--tests/projects/objc/application/src/Info.plist34
-rw-r--r--tests/projects/objc/bundle/src/Info.plist34
-rw-r--r--tests/projects/objc/framework/src/Info.plist34
3 files changed, 20 insertions, 82 deletions
diff --git a/tests/projects/objc/application/src/Info.plist b/tests/projects/objc/application/src/Info.plist
index 968bf5d3d..4bf9680cf 100644
--- a/tests/projects/objc/application/src/Info.plist
+++ b/tests/projects/objc/application/src/Info.plist
@@ -2,44 +2,26 @@
<!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>
+ <string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
- <string>test</string>
+ <string>$(EXECUTABLE_NAME)</string>
+ <key>CFBundleIconFile</key>
+ <string></string>
<key>CFBundleIdentifier</key>
- <string>org.tboox.test</string>
+ <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
- <string>test</string>
+ <string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
- <string>APPL</string>
+ <string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</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>
+ <string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2020 tboox. All rights reserved.</string>
<key>NSMainStoryboardFile</key>
diff --git a/tests/projects/objc/bundle/src/Info.plist b/tests/projects/objc/bundle/src/Info.plist
index 090a794fb..20608314e 100644
--- a/tests/projects/objc/bundle/src/Info.plist
+++ b/tests/projects/objc/bundle/src/Info.plist
@@ -2,44 +2,22 @@
<!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>
+ <string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
- <string>test</string>
+ <string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
- <string>org.tboox.test</string>
+ <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
- <string>test</string>
+ <string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
- <string>BNDL</string>
+ <string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</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>
+ <string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2020 tboox. All rights reserved.</string>
</dict>
diff --git a/tests/projects/objc/framework/src/Info.plist b/tests/projects/objc/framework/src/Info.plist
index c3ae3d9cc..20608314e 100644
--- a/tests/projects/objc/framework/src/Info.plist
+++ b/tests/projects/objc/framework/src/Info.plist
@@ -2,44 +2,22 @@
<!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>
+ <string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
- <string>test</string>
+ <string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
- <string>org.tboox.test</string>
+ <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
- <string>test1</string>
+ <string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
- <string>FMWK</string>
+ <string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</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>
+ <string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2020 tboox. All rights reserved.</string>
</dict>