[英]iOS remote debugging on distributed build
When building an app through Xcode, all the UIWebViews appear as inspectable applications in Safari, but when archiving and signing for distribution, it seems that functionality is lost (probably for safety-reasons). 在通过Xcode构建应用程序时,所有UIWebViews在Safari中都显示为可检查的应用程序,但在归档和签名分发时,似乎功能丢失(可能出于安全原因)。
But alas, I have this scenario where I'm building a test-environment for web developers who rely on being able to debug their content, and it will be distributed to a multitude of devices as an ad-hoc distributed package. 但是,我有这样的场景,我正在为依赖于能够调试其内容的Web开发人员构建测试环境,并将其作为ad-hoc分布式软件包分发给多个设备。
Is there any way to re-enable remote debugging on an archived build, through a configuration-setting, or anything of the likes? 有没有办法在存档的构建中重新启用远程调试,通过配置设置或任何类似的东西?
You can only use the Web Inspector when the app was installed by Xcoode not OTA using HockeyApp. 您只能在Xcoode安装应用程序时使用Web Inspector,而不能使用HockeyApp安装OTA。 But you could try opening the content you want to Inspect in Mobile Safari.
但您可以尝试在Mobile Safari中打开要检查的内容。
https://developer.apple.com/library/safari/documentation/AppleApplications/Conceptual/Safari_Developer_Guide/GettingStarted/GettingStarted.html https://developer.apple.com/library/safari/documentation/AppleApplications/Conceptual/Safari_Developer_Guide/GettingStarted/GettingStarted.html
Important: You can only inspect apps on devices that have been transferred to your device from Xcode.
重要提示:您只能检查已从Xcode传输到设备的设备上的应用程序。 You cannot inspect apps that have been downloaded from the App Store, even if it is your app.
您无法检查已从App Store下载的应用程序,即使它是您的应用程序。
Try to use TestFlightSDK . 尝试使用TestFlightSDK 。
Hope it helps) 希望能帮助到你)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.