Debugging the application on Iphone, and now I get this error: unknown package response: "timeout" for the environmental package

I just started getting this error.

The application works great when working with the iPhone simulator, and now there are errors similar to those described above.

The app fits on iPhone 3.0, if that's any help.

+4
source share
5 answers

Have you rebooted? You can try restarting Xcode and possibly turning the power off and back on your iPhone. If this does not work, try restarting the desktop from which you are debugging.

I often (well, quite often, at least) encounter unusual connection problems between Xcode and my iPhone and restarting the phone (turning off the power, back), usually solve these problems.

+1
source

Make sure that all paths in your project do not contain the '#' character. for example, my project along this path: "/ User / alex / Projects / prj_MMH / branch / # 19 /" causes the same error.

+1
source

I had the same problem. Cleaning up the build directory helped.

0
source

The answer for me was that it worked with the wrong assembly configuration. Go to “Schema” at the top of the window, click “Application” on the left and “Edit Schemas” in the menu and select “Run .App Name”. The Information tab displays the Assembly Configuration drop-down menu. It should be set to Debug - I figured it was set to Special Distribution.

Another part that might also be required was that in the main target project “Application” in the section “Assembly parameters” in the section “Script settings” “Identification of the code signature” for the parameter “Debugging” it should be set to “Do not enter the code” and Any iOS SDK installed on iPhone Developer

0
source

Is it in the Xcode Debugger console?

You can run the release version.
Only the Debug assembly can pass stdout / stderr back to Xcode.

-1
source

All Articles