Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 626
Goos Avatar asked Nov 27 '22 09:11

Goos


1 Answers

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.

like image 115
GayleDDS Avatar answered Nov 29 '22 07:11

GayleDDS