I searched the internet and did not find anyone has the same problem with me.
My project suddenly has a lot of errors in intellij.
The error is all like
Ambiguous method call. Both
getAlgorithmExecution() in ExecutionContext and
getAlgorithmExecution() in ExecutionContext match
They are all like
Ambiguous method call. Both
A and
A match
It's totally weird.
My project can run successfully, can be built by gradle successfully. Just show a lot of such errors in intellij.
Here is a screenshot
So, as of a couple days ago, IntelliJ IDEA started doing something really weird:
It puts ** at the end of every line, in the same way it would put a warning on a line. (screenshot below)
Does anyone have any idea why this might be? I don't have any particularly weird plugins installed, just Vi mode and a couple of language support packs.
This is IntelliJ IDEA community edition, version 14.1.4.
Thanks!
I recently upgraded from Intellij 12 to 13.0.2 on a Windows XP PC. Apart from minor settings like toolbar missing etc rest looks fine.
However the most annoying issue is that Intellij doesn't allow any other window to be on top of it. If I open a browser, it automatically goes behind the Intellij window.
I already tried setting the "Always on top" to false.
I know it sounds very trivial and stupid, but is there some setting that I need to change ?
Try to restart your IDE - this should normally solve the problem.
It seems to be an error in the IDE that will probably be fixed soon. Since there is this simple workaround, it might take a while till they fix it.
I made a single view app for the ipad, with a movie, webview and button, and I get this error when I try and run it. I have restarted the application, and reinstalled it, but nothing is working. This error keeps coming up in my MoviePlayer_Prefix.pch file. Can someone help me out?
I have had the same issue with being unable to compile project due to UIKit.h not being found + "unable to load standard library for target..."
The solution for me was very simple - to quit (CMD+Q) and relaunch Xcode. I have found out that with Xcode opened, macOS seems to have removed command line tools for Xcode because it was preparing for a update and relaunching Xcode triggered the "install additional components" update and it made the problem disappear.
Like Faul Textor said, most likely your XCode updated to 12.1 but your Command Line Tools didn't. You need to quit XCode completely and then start it again and you should get a pop-up saying "Install Additional Components"
Sorry, this should have been a comment to his reply but I cannot do that.
It sounds like you removed the UIKit.framework from your project at some point. Check if it is listed in your project navigator. If it's not there, go to your project in the project navigator pane, select your target, go to the build phases tab, click on link binary with libraries, hit the plus button, find the UIKit.framework there and add it to your project.
EDIT:
This answer suggests that there mayb be an issue with your framework search paths build setting. Check that out and if the path is empty and it still doesn't work, a re-install of Xcode would fix it, I think.
Just wanted to add my two cents on not making a dumb-ass mistake - came across this answer hoping to solve same problem.
Turns out I had written #import "<UIKit/UIKit.h>" instead of #import <UIKit/UIKit.h>.
Thought I would add in case someone else makes a simple mistake like me.
I am experiencing an error when running my project in xcode4.
A couple of times it stopped when it was trying to copy the database to the build directory, telling me the sqlite-file isn't there. After restarting my Mac it now stops in the build process. The text above the info-progress bar tells me "attaching to [project]".
This doesnt happen when running my project with Xcode 3.2.6.
Does anybody know a workaround for this?
Thank you very much in advance.
best regards
Tom
Apparently Xcode is a bit more serious about what's really within the xcode-project, not just laying in the directory. The error means I forgot to add the file in the directory to the project again after I mucked around with it.
Now that the file was added to the project everything is working again.
I hope it saves a bit of time in case somebody else comes accross the same problem.