I'm trying to install Xcode in a VirtualBox Hackintosh for app development purposes. I used MultiBeast and the Xcode installation is complaining about the display, but the way VirtualBox handles displays and graphics is beyond me.
I get the following error: Xcode: CVCGDisplayLink::setCurrentDisplay didn't find a valid display -- falling back to 60Hz.
I've currently followed the installation instructions from this link. I'm not sure if it makes a difference but my host is ArchLinux with Intel Haswell with Iris Pro Graphics.
Why am I getting this error?
Hmm.. not sure if this is right or not. I did this, and it fixed something:
from http://www.macbreaker.com/2012/07/mountain-lion-virtualbox.html
You need to change the CPUID to a non-Haswell ID to fix the issue
non-booting 10.8 on a Haswell CPU:
VBoxManage modifyvm {your vm name here} –cpuidset 00000001 000106e5 02100800 0098e3fd bfebfbff
But I'm having some trouble remembering the exact chain of events. It might've been another tweak later on that got XCode to install properly.
Regardless, I feel dirty for even attempting to do this. I hoped I would never be put in a situation where I had to cheat on Linux, but it beats spending over a grand (despite that mine is top-notch) to work on a useless iPhone app. In other words, it sucks being an independent commodity producer.
I'm getting the same error, but on actual Apple hardware.
Despite that, the display link object does seem to work.
Maybe it's because it is not familiar with my Dell monitor.
Related
Although I know that this Xcode version is quite old, my company's project still needs to use it and I didn't manage to make it ran properly on my company's mac.
Does anyone have faced this issue as well? Any idea would be very helpful!
ps. On my personal mac, with macOS High Sierra 10.13.1 Beta (17B25c), every time that I try to open Xcode 7.3.1, it crashes and doesn't even inform the reason.
It works on my machine... I know that doesn't help you but I just installed it and it opens ok. Maybe upgrade to full version?
After running Xcode 7.3.1 on MacOS High Sierra 10.13 VM, I can confirm that I can compile and run build on Simulator and devices with iOS6 & iOS7.
Unfortunately, there is no Cross-Compability-Guide to downgrade to older Development Environment or generell Software on newer Mac, because only minimum Requirements are listed in wikis like this:
https://de.wikipedia.org/wiki/Xcode
So, my tip on this topic is really to use older Hardware to test on matching Environments or try Virtualisation such as Parallels, Fusion or Virtualbox.There are differents in Virtualisation too. If some Virtualisation fails e.g. Virtualbox, maybe another Program (e.v. Parallels) does the job well.
I really use older Mac Hardware for testing older Software-Versions and that is the best tip I can give you on this topic. So its a good idea to have an older Hardware Repository to do this jobs, on which virtualization fails.
I know some Apple Developer which use some older Mac minis in their basement - remote connected - to solve problems like this.
I ran into an error after installing VMware Fusion on my mac, that it couldn't find /dev/vmmon. After some digging, I've learned that there are only so many available character devices, and that other software I have has consumed them.
Since I actively use Viscosity and Virtualbox (for the time being), the only other one that I could find I had was Intel HAXM driver.
Instructions online suggest to run a script to uninstall it, however that script did not exist on my laptop.
I unloaded the driver with the command:
sudo kextunload -b com.intel.kext.intelhaxm
I wanted to determine if there is anything else I need to do, will this driver attempt to reload during boot?
Thanks!
The Intel HAXM docs show that as of 2018, there is an uninstall script:
sudo /Library/Extensions/intelhaxm.kext/Contents/Resources/uninstall.sh
I had the same issue, Tim Potter's solution fixed my issue ,
sudo kextunload -b com.intel.kext.intelhaxm
Thanks
Cannot find /dev/vmmon (VMware Fusion 8.5.1 on macOS 10.12.1)
I had the same problem.
After a lot of trial and error, and helpful support from VMware I got it to work by
Create another user on the mac
log in as that new user
start fusion
create a new virtual machine (custom, windows7, no actual OS installation)
If machine starts, then vmmon is restored correctly
switch back to your normal user, start fusion and your existing vm
I have not investigated WHY this works, and VMware-support couldn´t tell me either. For now - I do not care. It works, and I can run my vms again.
right now i am running the OS X Yosemite beta 10.10, after upgrading my OS X i lost my camera, i tried everything in the forums, but nothing helped.
i can't FaceTime, or Skype or anything. normally i would take it in to an apple store, but the closest apple store to me is about 200 miles away.
since i am beta testing OS X Yosemite, i knew i was going to have some problems, but i need this to work
also; i also installed the update 2 days ago as it was recommended in the app store.
(not a hardware problem, was working perfectly before the upgrade and it is not found in the "system info> USB"); also not user specific.
Open your terminal and type this command:
$ sudo Killall VDCAssistant
Now, go to your Skype->Preferences->Audio/Video and you can see the webcam working.
Have a good one!
Apparently, this problem persists even in the recent versions of OS X Yosemite. I also had this problem. So, the answer to solve it is basically resetting the SMC, which Apple provides instructions in https://support.apple.com/en-us/HT201295
Now, I was not able to sort it even by resetting the SMC in a Macbook Pro 15 mid 2012. At least, not immediately. As I keep a few things connected in the USB ports, I believe it might have been the reason, so I closed all my applications (just in case), turned off the computer, unplugged all the USB and thunderbolt connectors (yes, including the LAN adaptor), as well as the earphone connector to speakers. THEN, reset the SMC (for non-removable battery computers, by pressing and releasing control-shift-alt-power [left shift] simultaneously while connected to power). For me, it worked.
It might be useful to remember that the SMC is the System Management Controller, that takes care of the hardware in a low-level, including i/o, keyboard backlight, speakers, camera... so, if you are going to reset it, it might make sense to release all the possible burden it might feel.
Resetting SMC is the only thing that solved the problem on my MBP Mid-2012.
The issue came about around the time I upgraded to High Sierra.
This issue is solved with the newest update of OSX Yosemite. Just update through the Appstore app and everything will be normal.
I'm trying to learn to code in Objective C, but I am not ready to commit to purchasing a Mac for just this purpose, seeing as I have a good Dell laptop. My computer has VMware installed on it, but I do not know how to actually go through the steps, and I do not know what I need to install or purchase(if absolutely necessary). Eventually, I hope to get a Mac, so this won't be needed, but until then, I want to find a way to compile Objective C so I can actually learn how to use it. Thanks.
While it is technically possible, I'll tell you from experience:
To run Xcode and the iOS Simulator, you will need to have MacOS running. Oficially it only runs on Apple Hardware, buuut, you can always use virtualizers and Hackintosh. There are plenty of good tutorials online if you choose this method.
My advice: DON'T do it!
When I started to develop iOS apps, I had a Windows PC, but after trying lots of different approaches to virtualize MacOS, with none I had great results. I bought a MacBook on a sale, and it's just a better iOS development experience overall. It's priceless not to have to deal with driver searching and compatibility issues.
First virtualize MacOS X, inside then iOS with XCode. See http://www.macbreaker.com/2012/07/mountain-lion-virtualbox.html
Yes you can, you need to virtualize OSX inside you Windows, and then use XCode as the other stated, however it doesen't work with nearly all AMD CPU's but i think Dell uses mostly Intel. And a Mac costs alot. For example i don't have money for one, the cheapest one costs $1,600 where i come from, but if you are going to get a Mac, i would wait for that.
But they really are expensive, and i only need a Macbook for debugging.
[Assuming you already have the mac installation image or vmware file]
Sadly Vmware does not include support for mac in it's latest versions
So you'll have to patch(aka Vmware Unlocker for OS X) it.
Follow this link http://www.insanelymac.com/forum/files/file/20-vmware-unlocker-for-os-x/ (you'll be required to set up an account)
Or alternatively you can download the VirtualBox(https://www.virtualbox.org/)
Happy Coding
Use virtualbox instead of VMWare. If it does'nt work, install the extension pack for virtualbox.
I'm trying to run sudo port install py26-gtk but my MacBook doesn't get further than building gcc43, while doing that it switches off without shutting down.
It is not overheating since I tried it again while my MacBook was sandwiched between two cold packs. The Mac was cool and the ventilation was not running. i.e. the Mac was not trying to cool itself when I used the cold packs.
Does anyone have any idea what is causing my Mac to switch off?
I have a Mac OS 10.6.3, python 2.6, mac ports 1.8.2.
If this happens to you this means you have a hardware problem. Let's hope you still have apple care. I can't help but get the impression that apple hardware quality gets worse every year : (