将plist demo写入php文件
parent
bcc4b10bd6
commit
c6627a53c2
@ -0,0 +1,48 @@
|
||||
<?php
|
||||
namespace Base\Tool;
|
||||
|
||||
/**
|
||||
* 生成Plist的demo
|
||||
* @author elf<360197197@qq.com>
|
||||
*/
|
||||
class PlistDemo
|
||||
{
|
||||
public static $content = '<?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>items</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>assets</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>kind</key>
|
||||
<string>software-package</string>
|
||||
<key>url</key>
|
||||
<string>ipa_url</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>kind</key>
|
||||
<string>display-image</string>
|
||||
<key>needs-shine</key>
|
||||
<true/>
|
||||
<key>url</key>
|
||||
<string>icon</string>
|
||||
</dict>
|
||||
</array><key>metadata</key>
|
||||
<dict>
|
||||
<key>bundle-identifier</key>
|
||||
<string>com.dell</string>
|
||||
<key>bundle-version</key>
|
||||
<string>1.0.0</string>
|
||||
<key>kind</key>
|
||||
<string>software</string>
|
||||
<key>title</key>
|
||||
<string>mchdemo</string>
|
||||
</dict>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>';
|
||||
}
|
Loading…
Reference in New Issue