CodeBlocks quits unexpectedly on Mac OS - osx-mountain-lion

I have installed CodeBlocks on MacBook Air. I have XCode 4.6 and XCode Command Line Tools installed. But the problem is any time I try to open an existing project CodeBlock quits unexpectedly. If I create a new project CodeBlocks crushes the same way when I open any .cpp file of the project. Anyone knows how to solve the problem?

Ok, I solved it. If anyone have the same issue try disabling Code Completion plugin in CodeBlocks (Plugins -> Manage plugins, find 'Code completion' in the list, click 'Disable').
Hope this helps.

The CodeBlocks site says "Code::Blocks for Mac is currently not as stable as are other ports, especially on Mountain Lion. In other words, we could use an extra Mac developer (or two) to work on Mac compatibility issues."
It's likely that it will just crash.

Related

Integrating Intel fortran compiler with XCode IDE

I want to integrate Intel HPC Toolkit to XCode IDE but the path is not provided automatically. Which path should I choose?
I have to use XCode 11.3.1 because I cannot update the software system (It is Mojave now). I tried ~/install.sh and I got 'There is no Contents directory in XCode' error
I solved the issue. In case someone needs it: I moved XCode app from downloads folder to apps folder.

Android studio quit unexpectedly on Mac Catalina beta

I installed the latest version of Mac OS (Catalina Beta 10.15) and faced with the following problem: when I open Android studio and start writing code studio quits with such crash report. Can you help me to solve this problem, as it really doesn't allow to work normally. I think that re-installing can help, but maybe there are any other solutions?
*Message in a code style, because pastebin links require that *
It's a know problem in several JetBrains based products.
As a workaround, add -Dsun.font.layoutengine=icu into Help | Edit Custom VM Options and restart IDE.
Also see: Unexpected crash when I update my MacBook Pro to MacOS Version 10.15 Beta (19A501i)

Xamarin iOS simulator issues - The device was not found

I am trying to use the Xamarin iOS simulator but it fails on launch with a "The device {guid} was not found".
I have my environment settings like...
and when I run I see...
then...
researching the error, the recommendation is to explicitly set the XCode path which I have done, but I get the same error. Also, notice I am connected to our build Mac.
I have a coworker connected to the same Mac with the same computer and VS version I am on, and his iOS simulator works fine. I have uninstalled/reinstalled the simulator and restarted Visual Studio (2017RC).
I appreciate any pointers someone might have!
UPDATE
I reinstalled my Windows 10 OS thinking I had a corrupt install. Unfortunately on a clean machine with 2017RC, the simulator still fails in the same way as I described above.
In my case: UnCheck Remote Simulator to Windows
I am facing the same issue from last two days and solved this as well by removing the latest version of XCode 12.5.
Download the previous version of code i.e 12.4 from apple site and install
Move the downloaded xcode file in application and check on windows
It works fine
Latest version of XCode 12.5 is not stable
I confirm the issue is currently (May 2021) caused by Xcode 12.5 upgrade.
After I downgraded back to Xcode 12.4, the simulators started to work again with no problem.
I tried to upgrade Visual Studio for Windows to latest version 16.9.4, did not help. I launched Visual Studio Installer to reinstall Xamarin, did not help either.
Only when I removed Xcode 12.5 (using this shell script https://onexlab-io.medium.com/uninstall-xcode-from-macos-eca1b69dc836) and installed version 12.4 (from XIP archive from here How to download Xcode DMG or XIP file?) it started to work.
You may need to uncheck "Remote Simulator to Windows." I just fixed this issue for myself by doing so. However, I was trying to launch on the iOS simulator on my Mac side (running Windows vm via Parallels). It seems you might be trying to launch the simulator in windows.
If you need a quick solution, downgrade the version of VS and Xcode, for me this works:
VS 2019 - 16.9.3
Xcode - 12.4
Xamarin.iOS - 14.14.2.5
And for physical devices make sure Hot Restart is not enabled in Tools > Options > Xamarin > iOS settings
Just had the same problem after upgrading mac to Big Sur and Xcode 12.5 yesterday. Reboots and deleting obj/bin/.vs folders made no difference. The fix was to explicitly type the Xcode path into Xamarin options iOS settings - even though it was the default - untick Remote Simulator to Windows then pair/connect to mac from that options dialog. After closing the dialog and reopening it Remote Simulator was checked again. I unchecked it, closed the dialog and reopened it to check again - it was closed this time. All works fine now.
I also ran mac VS and let it update in the midst of all this.
I have the same issue since yesterday, to resolve that I uninstall the "Xamarin iOS simulator" and now it works...
it may be a solution for your issue!
Did you resolved the issue already?
I bumped onto the same issue today. I tried opening Xcode on Mac and it says it need to install additional tools. I let it install and try open/quit Visual Studio for Mac, Xcode, Simulator again (not sure if it is related)
Now to remote simulator works fine again.
I had the same issue and i resolved it by realizing that my PC with VS was on a different network than my Mac with Xcode. Once i put both machines on the same network the issue went away. Hope it helps.

Could not load Network Link Conditioner preference pane

I installed the latest version of Hardware IO Tools for Xcode (Oct 2013) on OS X 10.8.5. I installed the "Network Link Conditioner preference pane". I get the following error every time I try to run this toolCould not load Network Link Conditioner preference pane`
I tried to re-install the package but got the same error. Who knows how to fix the problem?
My Solution:
I've installed OS X Mavericks and that fixed the problem.
As said, use Hardware IO Tool for Xcode - Late July 2012.
Installation steps to be sure that it works:
Remove any currently installed Network Link Conditioner preference panes (right-click it in the System Preferences window for the option to delete).
Verify that there is no file called Network Link Conditioner.prefPane in either /Library/PreferencePanes/ or ~/Library/PreferencePanes/; if they're there, remove them by hand.
Empty your trash
Restart your Mac
Then, re-install from the old version mentioned above (from late July 2012).
Having to empty your trash and restart your Mac gives the whole process a nice touch of nostalgia for ex-Windows users, but it really made the difference for me.
I had same issue. I downloaded the Hardware IO Tool for Xcode - Late July 2012. It installed without any problem on OS X 10.8.5.
I've installed OS X Mavericks and that fixed the problem
try to download an older version of Additional Tools for Xcode
for example:
Xcode 13 -> download Additional Tools for Xcode 12.5
this work for me

MonoTouch application build

I have managed to install the trial version of MonoTouch as I am interested in buying a license but I want to try the product first. The problem that I am having is this:
I have installed MonoTouch and MonoDevelop
I have downloaded Xcode which has the iphone sdk's bundled in.
When I open monodevelop and create a new iPhone application or project, it creates it and opens it in monodevelop. Awesome. when I try to compile and run in the simulator, I get an error stating "The iphone sdk is not installed."
Now, it could be due to the fact that the xcode I downloaded from the apple developer site is an app file ie no installation is required, you extract the dmg file and then Xcode runs straight from there and you can copy it from the dmg straight to your drive and run it from there. is there any specific place where I should put that file for monotouch to find it? how can I solve this?
Another problem, upon opening the xib file in my project, it does not open interface builder in monodevelop, it opens the files source code. hopefully by solving the xcode issue it will take care of this as well?
Using a Macbook Pro OSX 10.7.3
You're right, the problem is that MonoDevelop can't find Xcode.
The easiest way is to install Xcode from the AppStore. In this case MonoDevelop will detect the location automatically.
You can also tell MonoDevelop where the SDK is in MonoDevelop's preferences (remember to restart MonoDevelop):
Or you can copy Xcode.app into your Applications directory, and MonoDevelop will find it automatically (if you have the latest MonoDevelop version and Xcode 4.3).
Have you tried running XCode and checked that it is installed? Might seem like a silly question, but when you download XCode from appstore you only download the installation program, which you in turn need to run to actually install XCode.
I have solved the problem. I downloaded another version of xcode which physically installed it on the machine now everything works beautifully.

Resources