在Safari上检索iPhone UDID
在Safari上检索iPhone UDID有一个很好的说明 我仔细阅读了这篇文章,并遵循它 这是我的剧本在Safari上检索iPhone UDID,iphone,safari,Iphone,Safari,在Safari上检索iPhone UDID有一个很好的说明 我仔细阅读了这篇文章,并遵循它 这是我的剧本 <?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&g
<?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>PayloadContent</key>
<dict>
<key>URL</key>
<string>http://appfree.com/user/retrieve.php</string>
<key>DeviceAttributes</key>
<array>
<string>UDID</string>
<string>IMEI</string>
<string>ICCID</string>
<string>VERSION</string>
<string>PRODUCT</string>
</array>
</dict>
<key>PayloadOrganization</key>
<string>AppFree, Inc.</string>
<key>PayloadDisplayName</key>
<string>AppFree</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>PayloadUUID</key>
<string>9CF421B3-9853-4454-BC8A-982CBD3C907C</string>
<key>PayloadIdentifier</key>
<string>kr.co.gpon.profile-service</string>
<key>PayloadDescription</key>
<string>This temporary profile will be used to find and display your current device's UDID.</string>
<key>PayloadType</key>
<string>Profile Service</string>
</dict>
</plist>
付费内容
统一资源定位地址
http://appfree.com/user/retrieve.php
设备属性
========================================================================
数据已发送到我的服务器,但仍显示消息“无效配置文件”
它不会重定向到移动网站 您是否尝试添加
header("Location: http://www.mysite.com/Results?data=".rawurlencode($data));
在代码的末尾
您需要的文件包括:
your-cert.pem–这是您获得的证书
your-priv-key.pem–这是您的私钥
CertChain.pem–这是证书链(在某些情况下是可选的)
ConfigProfile.mobileconfig–这是配置配置文件的未签名副本
更详细的是的,我在末尾添加了标题代码。标题('位置:);我觉得标题代码有助于将屏幕移回网站,但不知何故,它无法工作:(您是否在公共访问上有它?以便我可以跟踪请求?不幸的是,我正在运行本地服务器。您以前尝试过这个吗?问题是:(我找不到签署我的个人资料的说明。杰克,我也面临同样的问题。请告诉我你是如何创建这个的。MobleConfig并编写代码获取设备的UDID。)
header("Location: http://www.mysite.com/Results?data=".rawurlencode($data));
openssl smime \
-sign \
-signer your-cert.pem \
-inkey your-priv-key.pem \
-certfile TheCertChain.pem \
-nodetach \
-outform der \
-in ConfigProfile.mobileconfig \
-out ConfigProfile_signed.mobileconfig