×

Discussion Board

Results 1 to 15 of 15
  1. #1
    Nokia Developer Expert
    Join Date
    Nov 2012
    Posts
    2

    Windows Phone 8 development on Mac and VMWare, also using the Phone Emulator

    Windows Phone 8 development on a Mac running OSX and VMWare, using also the phone emulator:

    What is needed is a more recent Mac (MBP Early 2011, i7 in my case, OS X 10.7.5, 16GBytes RAM), VMware Fusion (in my case vers 5), Windows 8 OS (64-bit Pro version in my case), and the Windows Phone 8 SDK (the free Express version in my case).

    A couple of configuration changes to the Windows 8 VM configuration are needed otherwise the Windows Phone emulator will not work.

    1) Add (or cheek they are present) to .vmx file these rows:

    hypervisor.cpuid.v0 = "FALSE"
    mce.enable = "TRUE"
    vhv.enable = "TRUE"

    2) Settings -> CPU and memory -> Advanced: check "Enable hypervisor applications in this virtual machine"

    3) Settings -> CPU and memory: make sure 2 Cores (or more?) are assigned to the Virutla machine

    4) Settings -> Advanced: Preferred virtualizationn engine: Intel VT-x with EPT

    After restarting Win 8 x64 VM, the HyperV system (and e.g. WIndows 8 Phone SKD debugging / Windows Phone Emulation) works perfectly.

    I found these instructions from a posting by user JSaa (Credit to him!) at
    http://communities.vmware.com/thread/423744?tstart=0

    Happy WP8 development on your Mac

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2011
    Location
    Portugal
    Posts
    940

    Re: Windows Phone 8 development on Mac and VMWare, also using the Phone Emulator

    Can I suggest that you add that to this wiki page on a new section? It seems a good addiction

    If you prefer I can do it.

    http://www.developer.nokia.com/Commu...rking_Emulator

  3. #3
    Registered User
    Join Date
    Jan 2009
    Location
    Melbourne, Australia
    Posts
    2,571

    Re: Windows Phone 8 development on Mac and VMWare, also using the Phone Emulator

    Quote Originally Posted by joaocardoso View Post
    Can I suggest that you add that to this wiki page on a new section? It seems a good addiction

    If you prefer I can do it.

    http://www.developer.nokia.com/Commu...rking_Emulator
    Great idea. A unique article would also be fine, but cross link.

  4. #4
    Nokia Developer Expert
    Join Date
    Nov 2012
    Posts
    2

    Re: Windows Phone 8 development on Mac and VMWare, also using the Phone Emulator

    João Cardoso, I can not do this at the same level of detail as the instructions that are already on the referred page. If you have the time, please put the instructions for Mac users.

  5. #5
    Registered User
    Join Date
    May 2012
    Posts
    23

    Re: Windows Phone 8 development on Mac and VMWare, also using the Phone Emulator

    For information, if you are using Virtual Box on MAC to use Windows 8 VM for WP8 development purpose, the basic Virtual Box install does not work :-(
    You must install Virtual Box update/plugins to make it works.

  6. #6
    Registered User
    Join Date
    Jun 2007
    Location
    Mumbai, India
    Posts
    1,998

    Re: Windows Phone 8 development on Mac and VMWare, also using the Phone Emulator

    Installing Win 8 using Bootcamp is also a good option. It works perfectly fine for me with no issues faced so far.

  7. #7
    Registered User
    Join Date
    Mar 2013
    Posts
    3

    Re: Windows Phone 8 development on Mac and VMWare, also using the Phone Emulator

    Hello guys, please help me,

    I don't know why windows phone 8 emulator can't run in my laptop. After installing the sdk, I got the message: "this computer does not support hardware virtualization, which means windows phone emulator 8.0 can't run on this pc".

    this is my laptop specifications:
    Processor : Intel<R> Core<TM>2 Duo CPU P7550 @ 2.26GHz
    OS : Windows 8 Pro 64-bit
    Memory : 2048MB RAM
    using coreinfo -v I got:
    Coreinfo v3.2 - Dump information on system CPU and memory topology
    Copyright (C) 2008-2012 Mark Russinovich
    Sysinternals - www.sysinternals.com

    Intel(R) Core(TM)2 Duo CPU P7550 @ 2.26GHz
    Intel64 Family 6 Model 23 Stepping 10, GenuineIntel
    HYPERVISOR - Hypervisor is present
    VMX - Supports Intel hardware-assisted virtualization
    EPT - Supports Intel extended page tables (SLAT)
    any solutions? please

  8. #8
    Nokia Developer Champion
    Join Date
    Sep 2012
    Location
    Morocco
    Posts
    295

    Re: Windows Phone 8 development on Mac and VMWare, also using the Phone Emulator

    Hello tirtox

    Intel refers to SLAT technology as "EPT", and your processor does not support it
    in coreinfo the symbols "-" refers to missing, and "*" to present
    HYPERVISOR - Hypervisor is present
    VMX - Supports Intel hardware-assisted virtualization
    EPT - Supports Intel extended page tables (SLAT)
    as your console shows all these features are missing including the EPT which is mandatory for Hyper-V, you'll need a SLAT capable processor (and it's recommanded to have at least 4Gb memory)

  9. #9
    Nokia Developer Champion
    Join Date
    Mar 2013
    Posts
    510

    Re: Windows Phone 8 development on Mac and VMWare, also using the Phone Emulator

    One thing I found out is that EPT/SLAT is misreported if you have HyperV already installed and running. It will detect the Hypervisor corretcly but give you wrong information on EPT/SLAT. I would suggest checking the processor's documentation in any case.

    As for Intel CPUs: all i3/i5/i7 CPUs do support it. Older CPUs don't.

  10. #10
    Registered User
    Join Date
    Mar 2013
    Posts
    3

    Re: Windows Phone 8 development on Mac and VMWare, also using the Phone Emulator

    Hi Loukt

    Thanks very much for the knowledge. Well, is there any way(s) to go without buying a new machine/laptop? if there's no, could you please recommend me what the minimum specs (processor, vga, memory, etc.) are for the new machine/laptop? thanks in advance.

  11. #11
    Nokia Developer Champion
    Join Date
    Sep 2012
    Location
    Morocco
    Posts
    295

    Re: Windows Phone 8 development on Mac and VMWare, also using the Phone Emulator

    Hello,

    I do remember that we discussed that in a thread on the forum but I can't find it only this one talking about the sdk..
    If you're not able to buy a new machine, here is what you need :
    - Windows 8 pro 64 Bits
    - Visual Studio 2012 + WP8 SDK
    - A WP8 device to test your apps (optionnal) since your processor isn't slat capable so you won't be able to run the emulator.

    as of the recommanded configuration :
    - i5 processor,
    - 4 Gb Ram
    - SSD drive, not mandatory but good to have !

    My config ( i5 2430, 4Gb Ram, and a simple hard drive not SSD ) working great for me.

  12. #12
    Registered User
    Join Date
    Mar 2013
    Posts
    3

    Re: Windows Phone 8 development on Mac and VMWare, also using the Phone Emulator

    Hi Loukt,

    Is it just fine if I make apps under windows phone OS 7.1 environment, but at the end later I deploy it to windows phone OS 8.0 device? thanks.

  13. #13
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,684

    Re: Windows Phone 8 development on Mac and VMWare, also using the Phone Emulator

    Loukt probably remembers this thread: http://www.developer.nokia.com/Commu...95-Dev-Machine

  14. #14
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,684

    Re: Windows Phone 8 development on Mac and VMWare, also using the Phone Emulator

    Quote Originally Posted by tirtox View Post
    Is it just fine if I make apps under windows phone OS 7.1 environment, but at the end later I deploy it to windows phone OS 8.0 device? thanks.
    It is possible, just you certainly can not use most WP8 features with this setup. Even the display resolution may bring some extra work: http://www.developer.nokia.com/Commu...WP8-resolution

  15. #15
    Nokia Developer Champion
    Join Date
    Sep 2012
    Location
    Morocco
    Posts
    295

    Re: Windows Phone 8 development on Mac and VMWare, also using the Phone Emulator

    Quote Originally Posted by wizard_hu_ View Post
    Loukt probably remembers this thread: http://www.developer.nokia.com/Commu...95-Dev-Machine
    This is what I call magic ! thank you wizard_hu_
    Quote Originally Posted by tirtox View Post
    Is it just fine if I make apps under windows phone OS 7.1 environment, but at the end later I deploy it to windows phone OS 8.0 device? thanks.
    Deploying an app for WP7 will automatically make it available for WP8 devices, but as wizard_hu_ said, it will not benefit from all WP8 features.
    You can make the app for wp7 and then upgrade a copy of the projet to WP8. and then you just publish the two xaps as an app.

Similar Threads

  1. Windows Phone 7 Development for Absolute Beginners
    By joaocardoso in forum Windows Phone General
    Replies: 5
    Last Post: 2012-06-27, 09:24
  2. About Windows Phone Development Resource
    By stone_cheng in forum Windows Phone General
    Replies: 3
    Last Post: 2012-05-01, 15:22
  3. Windows Phone development
    By Tim Acheson in forum General Development Questions
    Replies: 5
    Last Post: 2011-02-20, 16:52

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×