ios mobileProfile 文件相关

2018-05-10  本文已影响16人  fulen

1、获取mobileProfile文件信息

1、打开terminal

$ cd /Users/用户/Library/MobileDevice/Provisioning\ Profiles

2、选择你想查看的profile文件

$ security cms -D -i d7ef3f23-0658-4962-8962-9a541dd65b02.mobileprovision

3、输出信息如下

security: SecPolicySetValue: One or more parameters passed to a function were not valid.
<?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>AppIDName</key>
    <string>11111</string>
    <key>ApplicationIdentifierPrefix</key>
    <array>
    <string>D1GN11FMT1</string>
    </array>
    <key>CreationDate</key>
    <date>2015-04-14T15:20:38Z</date>
    <key>DeveloperCertificates</key>
    <array>
        <data>MIIFgzCCBGugAwIBAgIIGVgAeIrpjV8wDQYJKoZIhvcNAQEFBQAwgZYxCzAJBgNVBAYTAlVTMRMwEQYDVQQKDApBcHBsZSBJbmMuMSwwKgYDVQQLDCNBcH5IHBhcnR5IGFzc3VtZXMgYWNjZXB0YW5jZSBvZiB0aGUgdGhlbiBhgy.......=</data>
    </array>
    <key>Entitlements</key>
    <dict>
        <key>keychain-access-groups</key>
        <array>
            <string>D1GN11FMT1.*</string>
        </array>
        <key>get-task-allow</key>
        <false/>
        <key>application-identifier</key>
        <string>D1GN11FMT1.com.company.111111</string>
        <key>com.apple.developer.team-identifier</key>
        <string>D1GN11FMT1</string>
        <key>aps-environment</key>
        <string>production</string>

    </dict>
    <key>ExpirationDate</key>
    <date>2016-04-13T15:20:38Z</date>
    <key>Name</key>
    <string>1111111</string>
    <key>ProvisionsAllDevices</key>
    <true/>
    <key>TeamIdentifier</key>
    <array>
        <string>D1GN11FMT1</string>
    </array>
    <key>TeamName</key>
    <string>CambridgeSoft Corporation</string>
    <key>TimeToLive</key>
    <integer>365</integer>
    <key>UUID</key>
    <string>d7ef3f23-0658-4962-8962-9a541dd65b02</string>
    <key>Version</key>
    <integer>1</integer>
</dict>

参考自:https://developer.apple.com/legacy/library/technotes/tn2250/_index.html#//apple_ref/doc/uid/DTS40009933

上一篇 下一篇

猜你喜欢

热点阅读