简体   繁体   English

分布式构建的iOS远程调试

[英]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.

相关问题 Flutter 调试构建不会加载 ios 设备上的资产 - Flutter debugging build will not load the assets on ios device 为什么 Safari 在使用 iOS 6 设备进行远程调试时显示“No Inspectable Applications”? - Why Safari shows “No Inspectable Applications” during remote debugging with iOS 6 device? 如何启用远程调试iOS webapp? - How can i enable remote debugging iOS webapp? 针对iOS和Android应用程序的基于Web的远程测试和调试服务 - Remote web based testing and debugging service for iOS and Android application Visual Studio Cordova iOS部署用于远程构建 - visual studio cordova ios deploy for remote build iOS应用程序,用于使用UDID Build Error安装到远程设备 - iOS app for installing to remote device using UDID Build Error 为什么在调试过程中会收到有关从远程iOS设备读取Xcode框架文件的警告? - Why am I getting warnings about Xcode reading framework files from the remote iOS device during debugging? 在iOS 8和iOS 9中调试移动Safari - Debugging mobile Safari in iOS 8 and iOS 9 Socket swift 不工作的企业分布式构建 - Socket swift not working enterprise distributed build 何时使用XCode分布式构建功能 - When to use the XCode Distributed Build Feature
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM