Before I upgraded Xcode and the iOS SDk to 3.2.5 and 4.2 respectively I could select text in Xcode, right click and and select find text in documentation, and it would go to the corresponding place in the documentation, however now if I do that it asks me to sign in with my apple ID, and then it tells me I'm not authorized? However I can access the documentation in a normal web browser like chrome, it's just irritating to not have the convenience of selecting and right clicking. (NB I'm not a paying developer, but I never have been)
Why is this? Is it only me? and how do I fix it?
Here's a hacky but working fix, inspired by http://www.iphonedevsdk.com/forum/iphone-sdk-tools-utilities/66298-unable-access-sdk-documentation-since-upgrade.html:
Open the file /Developer/Platforms/iPhoneOS.platform/Developer/Documentation/DocSets/com.apple.adc.documentation.AppleiOS4_2.iOSLibrary.docset/Contents/Info.plist
Change the DocSetFallbackURL value from https://developer.apple.com/library/ios/prerelease to http://developer.apple.com/library/ios/.
Relaunch Xcode, and voilà.
If you open the URL from DocSetFeedURL (in the same Info.plist) in Safari, you can download a .xar file of the documentation. Not sure what that file is, but I'm currently downloading it...
I'm a dev, also, but am blocked from accessing online documentation with "index.html is locked. Do you want to unlock it?" Type and it states that the file cannot be unlocked and suggests saving a local copy.
Here's what I see in the .plist file:
https://developer.apple.com/library/etc/redirect/xcode/ios/606
So, in short, access through Safari (inconvenient while working in Xcode-- contextual access not available-- or just download the files as suggested above.
If you're not a paying member of the iOS SDK program, then you can't access the online documentation via Xcode. Since you have the SDK, I would assume you are, so you may just be stumbling over a bug. In any case, you should open up Xcode Preferences and navigate to the Documentation tab (on the far right). By opening up this tab, Xcode will shortly attempt to download the full docsets that you are missing. You can tell this is happening because the right side of the rows will switch to saying "Getting...". You can also open the Activity window (in the Window menu) to see the progress of the download/install.
Related
If I open IntelliJ IDEA and try and import any project or open any folder containing a project, nothing happens, I'm just returned to this screen.
Earlier on, before I moved my project files around, I tried to set a new JDK for a project and i clicked add SDK and then selected Java 12 home and again it returned to the screen without adding anything.
Is there some permission I need to grant to IntelliJ Idea?
Seems to have started since installing MacOS Catalina.
It's a known issue specific to the recent macOS Catalina update. Please follow YouTrack ticket for updates.
You can also help by providing the following information in YouTrack:
Open the file chooser, select a directory (but don't open it yet), take a screenshot, then open a directory; then attach idea.log and the screenshot (a path to a project and a time of the operation are needed, too, but they should be guessable from the screenshot).
As a workaround until this issue is resolved you can add -Dide.mac.file.chooser.native=false in Help | Edit Custom VM Options and restart the IDE.
Mac OS, Mojave or Catalina,
Exit intellij first,
Apple menu > System Preferences, click Security & Privacy, then click Privacy.
Click the lock , then enter your administrator password.
From the list of items on the left, select Full Disk Access.
Add Intellij(or other whatever app having this problem) to the apps allowed full-disk access by using the add button.
Lock and try again.
Hope this will help.
Ref from apple support of other things, but I tried, it works!
I can temporarily open things by dragging a folder to that window it seems, but its' not ideal.
Faced the same problem after the (PyCharm) update. Workaround: Go back to the old version.
https://stackoverflow.com/a/59858297/7024760
Is there a way to activate Xcode Source Editor option in System Preferences > Extensions? For some reason, it's not showing on my Mac (the last option).
If the Xcode Source Editor is missing from the left pane (see image above), try one of these solutions before resorting to a reinstallation:
In the Applications folder, rename Xcode and then change the name back to Xcode, or move Xcode.app out of the Applications folder, then back in, as described by this Stack Overflow answer.
Move the Xcode app to the Trash and re-install it from the AppStore.
I install the Xcode manually that's why not found on Extensions.
To fix quickly:
Quit Xcode
Rename Xcode in the applications folder temporarily with any name.
Launch renamed Xcode
Quit Xcode
Name it back to the old value ("Xcode")
Go back to Extention you will find the Xcode
The entry is shown if the system detects that both Xcode and at least one Xcode extension is installed. Yet the code to detect Xcode has a few issues.
If you install Xcode first and don't have an extension, the entry is not shown. If you then install an extension, the system re-checks if Xcode is still installed and if yes, it should add the entry. However, the check code will fail in some situations. E.g. if you renamed Xcode.app to something like Xcode_13.4.app (as you need to manage different versions of Xcode), the detection code may not find it. It also may not find it if you moved Xcode to a different location outside of /Applications. And even if not renamed and still in the default location, the detection code sometimes fails and the exact reason why that happens is unknown (it may have issues with certain ownership, certain file permissions, case-sensitive file systems, etc.)
In all these situations, renaming Xcode causes it to be re-detected by the system and then the system sees that Xcode and at least an extension is installed and the entry appears immediately. No need to reboot or start the renamed Xcode; you rename it, you rename it back, and the entry is there and will stay there (even after deleting all extensions, it stayed on my system).
If you first installed any app with an extension and then Xcode, the problem does never appear as in that case you immediately trigger the rename-fix above, because the moment you install Xcode, the system will always detect it correctly (regardless how the app is named or where it is located or any other issue the scan code might have) and detecting Xcode and knowing there is an extension, the menu entry appears at once. The code that detects Xcode extensions seems to always work correctly.
This is probably one of the issues where the Xcode detection code has not been tested very well by the Apple but since it seems to work for the vast majority of users, Apple sees no reason to further investigate why it would sometimes fail.
It will get activated by default if any plugin are added in Xcode.
You have to download XcodeClangFormat plugin from GitHub and follow the installation steps. Then Xcode Source Editor will be visible automatically.
Please refer this link
Previously on programmers.stackexchange.com but apparently off-topic for that forum.
I have found people complaining about the issue here: https://blog.jetbrains.com/idea/2016/08/intellij-idea-2016-2-3-update-is-out/
I cannot ctrl+c or alt+3 so keybindings are messed.
Any ideas / temp fixes / resolutions before Jetbrains do a patch?
Workaround from JetBrains:
Masatoshi Iwasaki Kieran Simpson Please, specify this jdk as a boot jdk https://bintray.com/jetbrains/intellij-jdk/download_file?file_path=jbsdk8u112b325_osx_x64.tar.gz
Download the archive
Unpack it
Run "Switch IDE boot JDK" action
Select "..." in the checkbox
Specify the unpacked directory in the file chooser
Reboot
https://youtrack.jetbrains.com/issue/IDEA-160416#comment=27-1594109
You can try using the Standard JDK 1.8_102 I then had the terminal working again, but fonts were ugly.
It is a general issue, I change my update channel to "Early Access Program"
I update to IntelliJ 2016.2.4 (is the last RC) and them I change my channel again, be careful and don't update to IntelliJ 2016.3 except you really want to.
You can do that going to the menu option "check updates" and click in the link updates in the middle of the text.
The close the popup and go to check updates again.
Remember change back your update channel.
Am I the only person having problems with this plugin in Sublime Text 3? I cloned it from github repo, and when I try to start chrome's remote debugging via Sublime's command pallete, the new instance of chrome is being opened but the file is not being opened. Did anybody made this plugin to work is ST3? Thanks in advance
Before working with Web Inspector plugin, properly exit chrome.
In chrome use Ctrl+Shift+Q
First, make sure you are using the ST3 branch of the github repo, and have run git pull as there have been some changes in the last few hours and days. Also, make sure you read completely through the Getting Started section of the README. It looks like you need to manually open your application's URL in Chrome after you've started it via Sublime using CtrlShiftR - you can't use an already-running Chrome session. You can then hit CtrlShiftR again and choose "Start debugging", then choose the correct tab from the list.
If you're still having issues, I'd fill out a detailed issue on Github and let the developer know what's going on. Make sure you include all the steps you've followed, and the complete text of any error messages that may appear in the Console (Ctrl`).
Just installed Xcode 4 using the default installation and am programming an iOS application.
When I use the Quick Help feature however, the only thing that is usually displayed is the name of the selected symbol and what header file it is in. Is there any way to show more information, like what is shown in Quick Help samples in the Xcode 4 user guide, such as: Declaration, Abstract, Reference, etc. Or perhaps iOS does not have an extensive Quick Help?
Yes, that was it. Even though I did a default installation, including documentation, the documentation sets were not installed.
So I went to Preferences: Documentation, and then installed the documentation sets manually and now everything works.
In Xcode, got to Preferences -> Documentation (Thanks user542428) and press "Check and Install Now"* This will cause the iOs documentation to appear in the list, so that you can press "Get" to download it.
(I got thrown off by the '+' for a while, but it required knowing a URL.)
"Check and Install Now" will download the existing docs, so your internet connection may be tied up for a while.