xcode pancake.apple.com 是什么?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/26900625/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 06:10:10  来源:igfitidea点击:

What is pancake.apple.com?

iosxcodesimulator

提问by stevebot

I noticed that my app running in the simulator printed this line in the console:

我注意到我在模拟器中运行的应用程序在控制台中打印了这一行:

RTCReporting: resolve from http://pancake.apple.com/bags/hls?version=4.12

Now, there is already a questionwhich attempts to answer whythis exception is occuring, but frankly I would rather now what pancake.apple.com is and why it is returning a plist? What is this plist used for, and moreover, what is pancake.apple.com, are there other instances where this endpoint gets called?

现在,已经有一个问题试图回答为什么会发生此异常,但坦率地说,我现在更喜欢 pancake.apple.com 是什么以及为什么它返回 plist?这个 plist 用于什么,此外,什么是 pancake.apple.com,是否还有其他实例可以调用此端点?

And here are the contents in all their base 64 decoded glory:

以下是他们所有 base 64 解码荣耀的内容:

This is the "bag"

这是“包”

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>apple_internal</key>
    <dict>
        <key>dashboard</key>
        <dict>
            <key>display_url</key>
            <string>https://hls.apple.com/dashboard/</string>
            <key>ip</key>
            <string>17.197.13.203</string>
            <key>port</key>
            <integer>16384</integer>
        </dict>
        <key>power</key>
        <dict>
            <key>foo</key>
            <string>bar</string>
        </dict>
        <key>splunk</key>
        <dict>
            <key>clients</key>
            <array>
                <dict>
                    <key>client</key>
                    <string>AppleTV</string>
                    <key>device_whitelist</key>
                    <array>
                        <string>Apple TV</string>
                    </array>
                    <key>filters</key>
                    <array>
                        <dict>
                            <key>action</key>
                            <string>remove</string>
                            <key>key</key>
                            <string>URI</string>
                        </dict>
                    </array>
                    <key>locale_whitelist</key>
                    <array>
                        <string>US</string>
                    </array>
                    <key>override_dnu</key>
                    <integer>1</integer>
                    <key>post_url</key>
                    <string>https://xp.apple.com/report/2/img_atv_qos</string>
                    <key>sampling_threshold</key>
                    <real>1.0</real>
                    <key>service</key>
                    <string>netflix,vega,hulu</string>
                </dict>
                <dict>
                    <key>client</key>
                    <string>Netflix</string>
                    <key>device_whitelist</key>
                    <array>
                        <string>iPhone</string>
                        <string>iPad</string>
                        <string>iPod touch</string>
                    </array>
                    <key>filters</key>
                    <array>
                        <dict>
                            <key>action</key>
                            <string>remove</string>
                            <key>key</key>
                            <string>URI</string>
                        </dict>
                    </array>
                    <key>locale_whitelist</key>
                    <array>
                        <string>US</string>
                    </array>
                    <key>override_dnu</key>
                    <integer>1</integer>
                    <key>post_url</key>
                    <string>https://xp.apple.com/report/2/img_qos</string>
                    <key>sampling_threshold</key>
                    <real>1.0</real>
                </dict>
                <dict>
                    <key>filters</key>
                    <array>
                        <dict>
                            <key>action</key>
                            <string>remove</string>
                            <key>key</key>
                            <string>URI</string>
                        </dict>
                    </array>
                    <key>hierarchy</key>
                    <integer>1</integer>
                    <key>locale_whitelist</key>
                    <array>
                        <string>US</string>
                    </array>
                    <key>override_dnu</key>
                    <integer>1</integer>
                    <key>post_url</key>
                    <string>https://xp.apple.com/report/2/img_itr_qos</string>
                    <key>sampling_threshold</key>
                    <real>1.0</real>
                    <key>service</key>
                    <string>tilt</string>
                </dict>
                <dict>
                    <key>client</key>
                    <string>AppleTV</string>
                    <key>device_whitelist</key>
                    <array>
                        <string>Apple TV</string>
                    </array>
                    <key>filters</key>
                    <array>
                        <dict>
                            <key>action</key>
                            <string>remove</string>
                            <key>key</key>
                            <string>URI</string>
                        </dict>
                    </array>
                    <key>locale_whitelist</key>
                    <array>
                        <string>US</string>
                    </array>
                    <key>override_dnu</key>
                    <integer>1</integer>
                    <key>post_url</key>
                    <string>https://xp.apple.com/report/2/img_atv_qos</string>
                    <key>sampling_threshold</key>
                    <real>1.0</real>
                    <key>service</key>
                    <string>itunes.extras</string>
                </dict>
                <dict>
                    <key>client</key>
                    <string>YouTube</string>
                    <key>device_whitelist</key>
                    <array>
                        <string>iPhone</string>
                        <string>iPad</string>
                        <string>iPod touch</string>
                    </array>
                    <key>event_threshold</key>
                    <integer>50</integer>
                    <key>filters</key>
                    <array>
                        <dict>
                            <key>action</key>
                            <string>remove</string>
                            <key>key</key>
                            <string>URI</string>
                        </dict>
                    </array>
                    <key>locale_whitelist</key>
                    <array>
                        <string>US</string>
                    </array>
                    <key>override_dnu</key>
                    <integer>1</integer>
                    <key>post_url</key>
                    <string>https://xp.apple.com/report/2/img_qos</string>
                    <key>sampling_threshold</key>
                    <real>1.0</real>
                </dict>
            </array>
        </dict>
    </dict>
    <key>development</key>
    <dict>
        <key>dashboard</key>
        <dict>
            <key>display_url</key>
            <string>https://hls.apple.com/dashboard-dev/</string>
            <key>ip</key>
            <string>17.197.13.218</string>
            <key>port</key>
            <integer>16384</integer>
            <key>reliable</key>
            <integer>500</integer>
        </dict>
        <key>power</key>
        <dict>
            <key>foo</key>
            <string>bar</string>
        </dict>
        <key>splunk</key>
        <dict>
            <key>clients</key>
            <array>
                <dict>
                    <key>client</key>
                    <string>AppleTV</string>
                    <key>device_whitelist</key>
                    <array>
                        <string>Apple TV</string>
                    </array>
                    <key>filters</key>
                    <array>
                        <dict>
                            <key>action</key>
                            <string>remove</string>
                            <key>key</key>
                            <string>URI</string>
                        </dict>
                    </array>
                    <key>locale_whitelist</key>
                    <array>
                        <string>US</string>
                    </array>
                    <key>post_url</key>
                    <string>https://xp.apple.com/report/2/img_atv_qos</string>
                    <key>sampling_threshold</key>
                    <real>0.9</real>
                    <key>service</key>
                    <string>netflix,vega,hulu</string>
                </dict>
                <dict>
                    <key>client</key>
                    <string>Netflix</string>
                    <key>device_whitelist</key>
                    <array>
                        <string>iPhone</string>
                        <string>iPad</string>
                        <string>iPod touch</string>
                    </array>
                    <key>filters</key>
                    <array>
                        <dict>
                            <key>action</key>
                            <string>remove</string>
                            <key>key</key>
                            <string>URI</string>
                        </dict>
                    </array>
                    <key>locale_whitelist</key>
                    <array>
                        <string>US</string>
                    </array>
                    <key>override_dnu</key>
                    <integer>1</integer>
                    <key>post_url</key>
                    <string>https://xp.apple.com/report/2/img_qos</string>
                    <key>sampling_threshold</key>
                    <real>1.0</real>
                </dict>
                <dict>
                    <key>filters</key>
                    <array>
                        <dict>
                            <key>action</key>
                            <string>sha256</string>
                            <key>key</key>
                            <string>URI</string>
                            <key>method</key>
                            <integer>1</integer>
                            <key>status</key>
                            <integer>0</integer>
                        </dict>
                        <dict>
                            <key>action</key>
                            <string>remove</string>
                            <key>key</key>
                            <string>URI</string>
                        </dict>
                    </array>
                    <key>hierarchy</key>
                    <integer>1</integer>
                    <key>locale_whitelist</key>
                    <array>
                        <string>US</string>
                    </array>
                    <key>override_dnu</key>
                    <integer>0</integer>
                    <key>post_url</key>
                    <string>https://xp.apple.com/report/2/img_itr_qos</string>
                    <key>sampling_threshold</key>
                    <real>1.0</real>
                    <key>service</key>
                    <string>tilt</string>
                </dict>
                <dict>
                    <key>client</key>
                    <string>AppleTV</string>
                    <key>device_whitelist</key>
                    <array>
                        <string>Apple TV</string>
                    </array>
                    <key>filters</key>
                    <array>
                        <dict>
                            <key>action</key>
                            <string>sha256</string>
                            <key>key</key>
                            <string>URI</string>
                            <key>method</key>
                            <integer>1</integer>
                            <key>status</key>
                            <integer>0</integer>
                        </dict>
                        <dict>
                            <key>action</key>
                            <string>remove</string>
                            <key>key</key>
                            <string>URI</string>
                        </dict>
                    </array>
                    <key>locale_whitelist</key>
                    <array>
                        <string>US</string>
                    </array>
                    <key>override_dnu</key>
                    <integer>1</integer>
                    <key>post_url</key>
                    <string>https://xp.apple.com/report/2/img_atv_qos</string>
                    <key>sampling_threshold</key>
                    <real>0.9</real>
                </dict>
                <dict>
                    <key>client</key>
                    <string>netflix</string>
                    <key>device_whitelist</key>
                    <array>
                        <string>iPhone</string>
                        <string>iPad</string>
                        <string>iPod touch</string>
                    </array>
                    <key>filters</key>
                    <array/>
                    <key>locale_whitelist</key>
                    <array>
                        <string>US</string>
                    </array>
                    <key>override_dnu</key>
                    <integer>1</integer>
                    <key>post_url</key>
                    <string>https://xp.apple.com/report/2/img_atv_qos</string>
                    <key>sampling_threshold</key>
                    <real>0.9</real>
                </dict>
                <dict>
                    <key>client</key>
                    <string>AppleTV</string>
                    <key>device_whitelist</key>
                    <array>
                        <string>Apple TV</string>
                    </array>
                    <key>filters</key>
                    <array>
                        <dict>
                            <key>action</key>
                            <string>remove</string>
                            <key>key</key>
                            <string>URI</string>
                        </dict>
                    </array>
                    <key>locale_whitelist</key>
                    <array>
                        <string>US</string>
                    </array>
                    <key>override_dnu</key>
                    <integer>1</integer>
                    <key>post_url</key>
                    <string>https://xp.apple.com/report/2/img_atv_qos</string>
                    <key>sampling_threshold</key>
                    <real>1.0</real>
                    <key>service</key>
                    <string>itunes.extras</string>
                </dict>
                <dict>
                    <key>client</key>
                    <string>iTunes</string>
                    <key>device_whitelist</key>
                    <array>
                        <string>Mac</string>
                    </array>
                    <key>filters</key>
                    <array>
                        <dict>
                            <key>action</key>
                            <string>remove</string>
                            <key>key</key>
                            <string>URI</string>
                        </dict>
                    </array>
                    <key>locale_whitelist</key>
                    <array>
                        <string>US</string>
                    </array>
                    <key>override_dnu</key>
                    <integer>1</integer>
                    <key>post_url</key>
                    <string>https://xp.apple.com/report/2/img_qos</string>
                    <key>sampling_threshold</key>
                    <real>1.0</real>
                </dict>
            </array>
        </dict>
    </dict>
    <key>release</key>
    <dict>
        <key>splunk</key>
        <dict>
            <key>clients</key>
            <array>
                <dict>
                    <key>client</key>
                    <string>AppleTV</string>
                    <key>device_whitelist</key>
                    <array>
                        <string>Apple TV</string>
                    </array>
                    <key>filters</key>
                    <array>
                        <dict>
                            <key>action</key>
                            <string>remove</string>
                            <key>key</key>
                            <string>URI</string>
                        </dict>
                    </array>
                    <key>locale_whitelist</key>
                    <array>
                        <string>US</string>
                    </array>
                    <key>override_dnu</key>
                    <integer>0</integer>
                    <key>post_url</key>
                    <string>https://xp.apple.com/report/2/img_atv_qos</string>
                    <key>sampling_threshold</key>
                    <real>1.0</real>
                    <key>service</key>
                    <string>netflix,vega,hulu</string>
                </dict>
                <dict>
                    <key>client</key>
                    <string>Netflix</string>
                    <key>device_whitelist</key>
                    <array>
                        <string>iPhone</string>
                        <string>iPad</string>
                        <string>iPod touch</string>
                    </array>
                    <key>filters</key>
                    <array>
                        <dict>
                            <key>action</key>
                            <string>remove</string>
                            <key>key</key>
                            <string>URI</string>
                        </dict>
                    </array>
                    <key>locale_whitelist</key>
                    <array>
                        <string>US</string>
                    </array>
                    <key>override_dnu</key>
                    <integer>0</integer>
                    <key>post_url</key>
                    <string>https://xp.apple.com/report/2/img_qos</string>
                    <key>sampling_threshold</key>
                    <real>1.0</real>
                </dict>
                <dict>
                    <key>filters</key>
                    <array>
                        <dict>
                            <key>action</key>
                            <string>remove</string>
                            <key>key</key>
                            <string>URI</string>
                        </dict>
                    </array>
                    <key>hierarchy</key>
                    <integer>1</integer>
                    <key>locale_whitelist</key>
                    <array>
                        <string>US</string>
                    </array>
                    <key>override_dnu</key>
                    <integer>1</integer>
                    <key>post_url</key>
                    <string>https://xp.apple.com/report/2/img_itr_qos</string>
                    <key>sampling_threshold</key>
                    <real>1.0</real>
                    <key>service</key>
                    <string>tilt</string>
                </dict>
                <dict>
                    <key>client</key>
                    <string>AppleTV</string>
                    <key>device_whitelist</key>
                    <array>
                        <string>Apple TV</string>
                    </array>
                    <key>filters</key>
                    <array>
                        <dict>
                            <key>action</key>
                            <string>remove</string>
                            <key>key</key>
                            <string>URI</string>
                        </dict>
                    </array>
                    <key>locale_whitelist</key>
                    <array>
                        <string>US</string>
                    </array>
                    <key>override_dnu</key>
                    <integer>1</integer>
                    <key>post_url</key>
                    <string>https://xp.apple.com/report/2/img_atv_qos</string>
                    <key>sampling_threshold</key>
                    <real>1.0</real>
                    <key>service</key>
                    <string>itunes.extras</string>
                </dict>
                <dict>
                    <key>client</key>
                    <string>YouTube</string>
                    <key>device_whitelist</key>
                    <array>
                        <string>iPhone</string>
                        <string>iPad</string>
                        <string>iPod touch</string>
                    </array>
                    <key>event_threshold</key>
                    <integer>50</integer>
                    <key>filters</key>
                    <array>
                        <dict>
                            <key>action</key>
                            <string>remove</string>
                            <key>key</key>
                            <string>URI</string>
                        </dict>
                    </array>
                    <key>locale_whitelist</key>
                    <array>
                        <string>US</string>
                    </array>
                    <key>override_dnu</key>
                    <integer>0</integer>
                    <key>post_url</key>
                    <string>https://xp.apple.com/report/2/img_qos</string>
                    <key>sampling_threshold</key>
                    <real>0.25</real>
                </dict>
            </array>
        </dict>
    </dict>
    <key>version</key>
    <string>1.0.0-41-g98d9515</string>
</dict>
</plist>

And the "key" is a binary file.

而“密钥”是一个二进制文件。

回答by Meet

Looking at the data received from pancake.apple.com (it's a base64 encoded plist), it LOOKS like it's just returning a verification to validate whether or not a device is authorized for home sharing.

查看从 pancake.apple.com 收到的数据(它是一个 base64 编码的 plist),它看起来只是返回一个验证来验证设备是否被授权用于家庭共享。