Eclipse hangs during start on OS X after recent upgrades (XCode) - xcode

The other day, I have installed the latest updates through the OS X app store. Today, I can no longer start Eclipse. Basically the loading hangs somewhere in the splash screen. I can open an empty workspace, but when trying to open my usual workspace, it hangs.
I am using Eclipse Neon and work on OS X El Capitan.

If latest updates in the app store included an XCode update (which is the case here), then make sure you run XCode once before running Eclipse, so that you can accept the terms of use. Apparently, the Eclipse GIT plugin has some dependency on XCode.
I discovered this by looking at the log file in the Eclipse workspace which contained lines like this:
2016-09-22 08:17:45,781 [Thread-5] ERROR org.eclipse.jgit.util.FS -
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.

Related

Failed to initiate service connection to simulator xcode 11.4.1 and 11.3 and 11.4-beta

When I build and run any project on Xcode, I face this error:
On the other hand, when I using command-line and install and launch the app by commands, I can see logs and everything is ok.
I did see other similar questions and I did try solutions like the clean project, build and reset and restart simulator and reinstall various versions of Xcode, but didn't fix.
My OS:
Mac Os Catalina 10.15.4
I removed some additional kexts from EFI partition, this problem solved!.
Thanks to Jeremy Huddleston Sequoia

Attempt to install Qt on OS X gives 'You need to install Xcode 5.0.0', but this version is so old it's not available

I am a Windows/Linux developer who occasionally builds for OS X - particularly in Qt.
I have a simple Qt project that I have been developing on Windows. I now wish to build it on OS X.
I am running Yosemite. I have installed Xcode 7 and am attempting to install Qt 5.5.
When I run the Qt installer, immediately after the prompt to log in to Qt (which is successful), I receive the following error:
You need to install Xcode version 5.0.0.
I have attempted to locate Xcode 5.0.0 on the Apple Developer site, but this is 2 major versions behind the most recent version, and I cannot even find an installer for it.
More to the point, I do wonder why the most recent version of Qt requires a version of Xcode that is considered so old by Apple that it's not even available.
How do I overcome this problem so that I can get Qt installed on OS X?
I ran into the same problem and solved it by following the instructions here. This link describes a similar, but slightly different installer issue.
To summarize, you need to ensure that the Xcode command line tools are installed and set up correctly. I already had them installed, but had to go into Preferences -> Locations in Xcode and set the dropdown to the currently installed version.
The link shows an earlier version of Xcode where the path is actually Preferences -> Downloads -> Components.
Once I'd made this change, the installer continued successfully.
The solution that worked for me (on OSX Sierra XCode 8.2.1) is to open XCode Preferences -> Locations.
There is a drop-down menu named Command Line Tools. Select the available XCode version here. Then restart the Qt Creator installation.
taken from the link above, this resolved my issue:
sudo /usr/bin/xcode-select -switch /Applications/Xcode.app/Contents/Developer
For me closing the prompt and smashing keys (alt F4, I know that its not windows) before the next prompt opened worked... qt is running fine now, as it doesn't need the old version.
you can find the old version of XCode on the the Apple offical site here and download .dmg of xcode 5 or 6.1 for example :
I do this and it's ok for me.

Pycharm 4.5 CE crashes on launch on OS X 10.8.5

I upgraded from Pycharm 4.0 (which worked fine) to 4.5 community edition on Mac OS 10.8.5.
It crashes on launch after bouncing a bit in the dock.
The log files, console, all show nothing.
I'm running java 1.6.0_65, and have Python 2.7, Jython, PyPy via Macports.
Any ideas?
Make sure you've installed Apple's Java for OS X 2014-001 (at least).
Try to delete ~/Library/Java/Extensions, see the issue IDEA-137147.
Similar to the answer for IntelliJ IDEA, if you can't delete ~/Library/Java/Extensions, i.e., because you need it's contents (likely JAI jars) as part of other applications, you can create a file, pycharm.vmoptions in ~/Library/Preferences/PyCharm40 with contents:
-Djava.ext.dirs=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext
to override OSX Java 6's default behavior of checking the user's ~/Library/Java/Extensions directory in addition to the system's extensions on application start up; but only for PyCharm.

Unknown error when creating packages with pkgbuild

I followed several tutorials-which all appeared to say the same thing-on how to create deployable flat-packages (.pkg) using the OS X system provided pkgbuild tool. The packages was always generated just fine. They did, however, not want to be installed.
Running the graphical Apple Installer or the command line interface installer aborted the installation early on giving an generic “Unknown error” after prompting for higher permissions.
Hours later after closer investigation I discovered that I could not install other packages either. Not even updates and new installations from the OS X App Store. Why could I not install my own nor any other packages? What was going on?
The installer daemon service itself is unresponsive. Force quit the installed program from from the Activity Monitor, or from the command line with sudo killall installd.

installation file corrupted from install4j

install4j's multiplatform installer has been working great for years. Now out of the blue we are getting an error popup dialog that The installation file is corrupted. If it is a download please try again. It has installed about 19MB of 164MB and the last file it didn't write was a small jar that has been in the build for some time now.
We get this error when running the full installer right after it is built as a test. We are also building several 'companion' applications with all the same files just different start up options and its installer run fine.
We are using install4j in batch mode:
install4j version: 5.0.8 (build 5311)
Thanks.
Are you running it on the latest Mac OS? If so then this is because of the latest Gatekeeper "feature" of Apple and you need to sign your code: http://support.apple.com/kb/HT5290

Resources