Bug 18302 - Asks for permission to stop debugging Simulator after Xcode 5.1 and Xamarin.iOS 7.2.0.2 install
Summary: Asks for permission to stop debugging Simulator after Xcode 5.1 and Xamarin.i...
Status: RESOLVED FEATURE
Alias: None
Product: iOS
Classification: Xamarin
Component: Debugger ()
Version: 7.1.0.x
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-03-11 12:17 UTC by Adam Patridge
Modified: 2014-03-13 16:20 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FEATURE

Description Adam Patridge 2014-03-11 12:17:19 UTC
After installing Xcode 5.1 and iOS 7.2.0.2, every time I stop a debugging run, I get asked to log in for Developer Tools Access.

"Developer Tools Access needs to take control of another process for debugging to continue. Type your password to allow this."

Whether I enter my password or simply hit Cancel, it stops debugging fine and can start a new debugging session again.

This happens if I debug in either iOS 7.1 or iOS 6.

There are a number of axbundle messages in the Application Output:

objc[62479]: Class AXEmojiUtilities is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/PrivateFrameworks/AccessibilityUtilities.framework/AccessibilityUtilities and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/usr/lib/libAXSpeechManager.dylib. One of the two will be used. Which one is undefined.
2014-03-11 10:11:52.948 UIGravityBehaviorRecipe[62479:70b] Cannot find executable for CFBundle 0xe3e03c0 </Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/AccessibilityBundles/TwitterFramework.axbundle> (not loaded)
2014-03-11 10:11:52.955 UIGravityBehaviorRecipe[62479:70b] Cannot find executable for CFBundle 0xf0599c0 </Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/AccessibilityBundles/StoreKitFramework.axbundle> (not loaded)
2014-03-11 10:11:52.959 UIGravityBehaviorRecipe[62479:70b] Cannot find executable for CFBundle 0xe3de2c0 </Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/AccessibilityBundles/GeoServices.axbundle> (not loaded)
2014-03-11 10:11:52.962 UIGravityBehaviorRecipe[62479:70b] Cannot find executable for CFBundle 0xe332690 </Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/AccessibilityBundles/MusicLibrary.axbundle> (not loaded)
2014-03-11 10:11:52.966 UIGravityBehaviorRecipe[62479:70b] Cannot find executable for CFBundle 0xe201230 </Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/AccessibilityBundles/CertUIFramework.axbundle> (not loaded)
2014-03-11 10:11:52.968 UIGravityBehaviorRecipe[62479:70b] Cannot find executable for CFBundle 0x15d3c640 </Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/AccessibilityBundles/PassKitFramework.axbundle> (not loaded)
2014-03-11 10:11:52.970 UIGravityBehaviorRecipe[62479:70b] Cannot find executable for CFBundle 0xf392f40 </Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/AccessibilityBundles/RemoteUIFramework.axbundle> (not loaded)
2014-03-11 10:11:52.972 UIGravityBehaviorRecipe[62479:70b] Cannot find executable for CFBundle 0xf39a030 </Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/AccessibilityBundles/iAdFramework.axbundle> (not loaded)
2014-03-11 10:11:52.978 UIGravityBehaviorRecipe[62479:70b] Cannot find executable for CFBundle 0x15d484a0 </Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/AccessibilityBundles/GameKitFramework.axbundle> (not loaded)
2014-03-11 10:11:52.990 UIGravityBehaviorRecipe[62479:70b] Cannot find executable for CFBundle 0xe30ad20 </Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/AccessibilityBundles/StoreKitUI.axbundle> (not loaded)
2014-03-11 10:11:52.991 UIGravityBehaviorRecipe[62479:70b] Cannot find executable for CFBundle 0xe30a0e0 </Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/AccessibilityBundles/GameCenterUIFramework.axbundle> (not loaded)
2014-03-11 10:11:53.003 UIGravityBehaviorRecipe[62479:70b] Cannot find executable for CFBundle 0x15d4b410 </Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/AccessibilityBundles/SocialFramework.axbundle> (not loaded)
2014-03-11 10:11:53.005 UIGravityBehaviorRecipe[62479:70b] Cannot find executable for CFBundle 0xf43dde0 </Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/AccessibilityBundles/EventKitUIFramework.axbundle> (not loaded)
Comment 1 Rolf Bjarne Kvinge [MSFT] 2014-03-11 13:07:17 UTC
Can you try this solution and see if that works: http://stackoverflow.com/a/9725547/183422 ?
Comment 2 Sebastien Pouliot 2014-03-11 13:16:58 UTC
Also did you try to start Xcode5.1 alone ? to see if it wanted to install/setup more things.

When a new Xcode is installed it often (differ by releases) wants to update some components (device support and command-line tools being the most common).
Comment 3 Adam Patridge 2014-03-11 13:21:52 UTC
I had already let Xcode install the components before running things in Xamarin Studio.

Running `sudo /usr/sbin/DevToolsSecurity --enable` to turn on Developer Mode seemed to do the trick.
Comment 4 Sebastien Pouliot 2014-03-13 16:20:15 UTC
Normally this option is set (once) inside Xcode (you can turn this on or off in the organizer by selecting your Mac).

I'm not sure what could unset this. Did you uninstall Xcode5 before installing 5.1 ?

Anyway this option is not under Xamarin control - we do not write it, nor even read it. However Apple's own tooling (which we use for some features) requires it (or will ask, over an dover, for permission).