简体   繁体   中英

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).

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.

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. But you could try opening the content you want to Inspect in Mobile Safari.

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. You cannot inspect apps that have been downloaded from the App Store, even if it is your app.

Try to use TestFlightSDK .

Hope it helps)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM