-
-
Save dsabanin/e1fe9bdc03d429d6cbcc7be13add9e6d to your computer and use it in GitHub Desktop.
Not working for me on Xcode 11.3.1...
Any errors when you run the commands?
I believe it's an error with the path. It should be '/Applications/Xcode.app/Contents/Developer/...'
edit: this worked for me
Darn it, sorry I missed that. Thanks for catching it, @FromDerik.
Fixed the gist.
working now. THANKS!
Just out of curiosity how did you discover this? 😃
Well, I learned about ShowDVTDebugMenu
flag from some old blog posts, but it wasn't working anymore. I couldn't resist digging a bit through the Xcode frameworks with Hopper Disassembler.
I found the isAppleInternal
flag that Xcode is using to determine whether to show this menu and some other things, and the flag is set to true if the Xcode.app/Contents/Developer/AppleInternal/Library/Xcode/AppleInternal.plist
path is present.
🤷♂️
Do you have any info about enabling internal menu on simulator? Old method with folder didn't work.
Thanks for sharing this. I just saw a video Paul Hudson yesterday about this AppleInternal.
by the way, the script doesn't work immediately because I have 2 different Xcode suffix with version number
This is what I changed to make it work.
XCODE=`xcode-select -p`
sudo mkdir -p $XCODE/AppleInternal/Library/Xcode
sudo touch $XCODE/AppleInternal/Library/Xcode/AppleInternal.plist
Not working in Xcode 13 (13F100), though "13F100" appears in the Dock icon when I run it.
Enables this internal menu in Xcode: