苹果是否更改了.mobileprovision文件格式,如何查看当前格式? [英] Did Apple change the .mobileprovision file format, and how can I view the current format?
问题描述
我在网络上找到许多暗示您可以在文本编辑器中查看.mobileprovision文件内容的文章.例如,此
I'm finding many articles on the web where it is implied that you can view the .mobileprovision file contents in a text editor. For example, this Urban Airship post:
为应用启用推送通知后,aps-environment键将显示在.mobileprovision文件中,以指定配置文件:
When push notifications are enabled for an app, the aps-environment key will appear in the .mobileprovision file specifying the provisioning profile:
<key>Entitlements</key>
<dict>
<key>application-identifier</key>
...
但是,我最近几天获得的mobilprovision文件包含466 1/2行8组4进制数字的行(例如4851 3842 4176 2845 0a09 01a2 404d 4382
).如何查看此类文件?
However the mobilprovision files I have (obtained within the last few days) contain 466 1/2 rows of 8 groups of 4 hex digits, (e.g. 4851 3842 4176 2845 0a09 01a2 404d 4382
). How can I view this type of file?
推荐答案
您使用的文本编辑器对您来说有点太聪明了:D.
You are using a text-editor that is a bit too clever for you :D.
您的编辑器发现该文件实际上是二进制文件,并将其显示为十六进制转储-例如Sublime 2就是这样做的.使用TextEdit打开相同的文件.您将看到几行二进制garbledegock,然后是一些纯文本(XML),其中应包含您要查找的信息.
Your editor finds out that the file actually is binary and shows it as a hex-dump - for example Sublime 2 does it that way. Open that same file using TextEdit. You will see a couple of lines of binary garbledegock and then some plain-text (XML) that should contain the information you are looking for.
但是,请不要使用TextEdit编辑该文件,这将使该文件不可用!
However, do not edit that file using TextEdit, that will render it unusable!
这篇关于苹果是否更改了.mobileprovision文件格式,如何查看当前格式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!