the blog
Back to -Blog

Amethyst 2 and iOS

going mobile
by Dermot Hogan
Wednesday 10 April 2013.

Unlike Android where you can get an Android emulator to run on a PC, you must have a Mac of some sort to run the iOS emulator on. Development can be done either on a PC or on the Mac itself – Parallels works very well in this respect.

Setting up an iOS project is very similar to an Android project. Both are contained within the same Visual Studio project and you can just select which one you want to use. However, because we are developing on a PC and deploying to a Mac, we need to do some extra work.

The main thing is that we need some way of copying and executing commands on the Mac from a PC. There are probably a couple of ways of doing this, but the simplest way we’ve found is to use the PuTTy SSH (secure shell) distribution (http://www.chiark.greenend.org.uk/ ...). To use this, a couple of parameters need to be set so that files can be copied to the Mac and run there:

Fisrt of all, the Mac’s IP address must be defined along with a user name and password. For example,

SHH IP Address: 192.168.1.11

SSH User Name: huw

SSH Password: huw

The location of PuTTy must also be set (this is where plink.exe and pscp.exe are to be found)

SSH Program Folder: C:\Program Files (x86)\PuTTY

A ’remote folder’ also needs to be specified. This is just a working folder on the Mac where files can be copied into from the PC

SSH Remote Folder: airtest

Lastly, the Adobe ADT tool on the Mac needs to be given (this is used to package the SWF and load it into the iOS emulator, phone or tablet)

SSH ADT Command: /AdobeAIRSDK/bin/adt

In the project properties, we also need to set the location of the iOS SDK on the Mac

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk

Here’s the iOS emulator displaying the ActionScript program

And here’s the corresponding Visual Studio breakpoint

Lastly, there’s one other very important thing to do - allow the Mac through your firewall! This took me some time to track down in Visual Studio 2012, the problem being that it all worked in Visual Studio 2010 (because I had done it a few months earlier), but Visual Studio 2012 being a different program, it has to be done again. Initially, I assumed that there was a bug in the Visual Studio 2012 code and spent some time trying to track this ’bug’ down. Eventually, the penny dropped and set the firewall. There’s nothing quite so difficult to fix as a bug that isn’t there!


This is a preview of the forthcoming version of Amethyst 2 – our ActionScript/Flash IDE for Visual Studio 2012 and 2010. If you buy Amethyst 1.0 for Visual Studio 2010 now you will be entitled to a free update to Amethyst 2 when it is released. See the Amethyst 2 announcement for more information.

Bookmark and Share   Keywords:  Amethyst 2  iOS
© SapphireSteel Software 2014
buy generic tenofovir + emtricitabine buy modafinil biduret amiloride tenofovir viread armod armodafinil buy arpizol online buy sildenafil citrate 100mg order pelosta buy xtane order mirtaz buy viagra buy imatinib buy cilostazol buy sildenafil citrate jelly irovel for sale rifaximin buy viagra buy generic cernos capsules buy arcalion sulbutiamine online generic imatinib 100mg order lithosun sr cotrim 160/800mg vilitra tadalafil 20mg order malegra baclof generic sirolimus order fertyl buy quetiapine online phenytoin sodium 100mg vega buy ranitidine order rogaine shampoo levitra tadalafil buy generic andriol buy malegra dxt buy generic soranib atorvastatin aurogra for sale buy vardenafil online buy caverta online order enalapril maleate avanafil stendra buy atomoxetine hydrochloride 10mg poxet order tizan avana for sale piracetam 800mg buy metronidazole lioresal for sale order apcalis jelly fluconazole for sale flagyl for sale cialis super active buy testosterone undecanoate buy generic filagra super active buy viagra buy kamagra oral jelly ciplactin 15mg buy sulpitac online omnacortil 40mg buy generic premarin veenat imatinib buy generic sustanon buy rizact 10mg buy generic tadarise accutane buy tretinoin online terbicip for sale buy generic gefitinib online buy waklert 150mg cenforce 100mg bimatoprost lumigan bupropion order hostacycline revlimid buy generic super kamagra buy mesterolone buy levetiracetam buy sildigra xl plus online order sildigra order buspin buy generic tadarise pro buy caberlin online tadalafil 20mg avagra for sale order bortenat buy generic x-vir order esomeprazole malegra fxt buy rasalect 1mg order femalegra super p force 100mg + 60mg suhagra buy melanocyl online order generic femara calaptin order tadalafil buy verdenafil 20mg amlodipine besylate norvasc buy fluka 150mg buy olanzapine online fincar finasteride cernos gel buy prilosec online proquin xr 500mg simvastatin buy viraday online amlodipine generic ampicillin 500mg buy natamet online buy auvitra 20mg order modvigil buy topirol 100mg anabrez anastrazole sildenafil citrate 100mg ketasma 1mg buy cutivate cream buy nitazoxanide online acamprosate 333 mg quinine sulphate for sale order qutipin buy lasix 40mg order diclofenac buy sildenafil citrate online flonida 5% tadalafil careprost prosteride for sale buy megalis online order generic nuvigil order calutide buy admenta online azithromycin azithrocin order doxicip urimax 0.4mg avidoxy 100mg buy flutivate cream malegra professional sildisoft sildenafil citrate soft buy piracetam online buy generic amitryn nuvigil tadalafil 20mg buy tadalafil 20mg buy zhewitra online aldactone 25 mg buy naltroxene online buy garlic himalaya buy tadaga buy generic finpecia memantine 10mg erlonat buy buproprion 150mg buy duprost online buy fertyl super online order modalert floricot for sale order rapacan buy naltrexone 50mg buy orlistat 120mg