Advertise here




Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID
Please do not post the same thing multiple times. The board software automatically flags certain posts as needing moderator attention. This happens the most often for new users. I'm pretty sure this is made clear at the time you attempt to post. Posting the same thing over and over again just makes that many more posts the moderators have to weed through later. This makes us sad. Don't make us sad. If your post/thread doesn't appear, just wait a while. Don't post it again. If it hasn't shown up by the next day, then you can try again. I normally go through posts in the mornings, and try to check a few times throughout the day, but I'm not here 24/7. There will typically be a significant delay before posts are approved. Just be patient.

[How to] create iOS apps in Windows using Visual Studio

[note: this was originally posted in the "iPhone SDK Development Forum" but thinking twice it rather belongs here actually. Sorry for double-posting.]


For those who like to work on Windows with Visual Studio, I developed a tool suite to help you build iOS apps within your favourite environment.

You build NATIVE iPhone apps, not web apps, and the software automatically generates .ipa and .deb files ready to be distributed.

Check it out at iOS Build Environment for Windows by Pierre-Marie Baty

[CENTER]image[/CENTER]

There's a free demo version that you may want to test out. I hope you like :)

(note: I know there are cheaper methods to compile stuff on Windows. My solution is aimed at those who don't want to waste ages configuring complicated stuff and who want something that just works out of the box. Not all of us are Unix nerds.)
Post edited by Pierre-Marie Baty on
nightwalker83JanOriCab

Replies

  • ios devios dev Posts: 21Registered Users
    Pierre-Marie Baty;343418 said:
    [note: this was originally posted in the "iPhone SDK Development Forum" but thinking twice it rather belongs here actually. Sorry for double-posting.]


    For those who like to work on Windows with Visual Studio, I developed a tool suite to help you build iOS apps within your favourite environment.

    You build NATIVE iPhone apps, not web apps, and the software automatically generates .ipa and .deb files ready to be distributed.

    Check it out at iOS Build Environment for Windows by Pierre-Marie Baty

    [CENTER]image[/CENTER]

    There's a free demo version that you may want to test out. I hope you like :)

    (note: I know there are cheaper methods to compile stuff on Windows. My solution is aimed at those who don't want to waste ages configuring complicated stuff and who want something that just works out of the box. Not all of us are Unix nerds.)
    Can you debug or test it somehow during the development on some emulator?
    ------------------

    JellyBugs game iPhone

    ------------------

    Android outsourcing |<a href=
  • Newbie123Newbie123 Posts: 331Registered Users
    ios dev;343437 said:
    Can you debug or test it somehow during the development on some emulator?
    This is what I'm wondering.

    Are we able to debug are projects in a simulator? Are we able to debug our projects on our (non-jailbroken) iPhone, iPad, and iPod Touch?

    Also, can we distribute the apps to the App Store, without ever touching Mac OS X?
  • Pierre-Marie BatyPierre-Marie Baty Posts: 7New Users
    You can run your app inside a debugger on the device itself if you install gdb, the GNU Debugger from Cydia. Also you can use all the standard C/C++ file I/O to log your program's activity to a file wherever you want.

    Personally, I do my debug in-situ, on the device itself, using logging macros, and I use gdb for the rare bugs that the first method fails to put into evidence.

    The behaviour of apps on jailbroken and non-jailbroken devices is identical, provided you use methods from the public frameworks only, not the private ones (you'd need to class-dump them to get them, anyway).


    *edit* I forgot Newbie123's last question. Well, codesigning on a PC is technically possible (just stuff ldid with your entitlements as XML), however since nobody knows which are the real criteria according to which Apple accepts or rejects a submission, I strongly suggest people do their final compile & sumbit on a real mac. I don't provide means to submit anything to Apple from a PC, and I would not support anybody who'd try to. At least, until more info is disclosed on this matter.
  • KallexKallex Posts: 3New Users
    Hello,

    I just dropped you an email; we have been looking a way to automate iPhone/iOS development. We have the means to pull the stunt off on Visual Studio (still targeting native iOS), but have struggled to get the experience seamless on iOS native development side.

    Now given the context of being able to do the native iOS development directly on the Visual Studio, puts our possibility to automate iOS development in "immediately available" mode.

    I'd need to dig out more of how your tool works and see where we best plug in to give best experience.


    Kalle
  • shearebsheareb Posts: 10Registered Users
    Looks interesting.. I am traditionally a .net developer in my spare time (VB/c#) and in the middle of teaching myself Objective-C.

    Am i right in thinking that your tool allows apps to be writted in C++, C#(?) and compiled to IOS native? Can it compile VB# also?
  • slimjimtxslimjimtx Posts: 1New Users
    What if I don't want to jailbreak my devices? Seems like a pretty big limitation to me...
  • Pierre-Marie BatyPierre-Marie Baty Posts: 7New Users
    The 2.0 version of the environment, which I am working on, should hopefully be able to sign the code in such a way that it will no longer be required to jailbreak your devices in order to deploy apps on it.

    However, if you want to use a native debugger such as GDB over SSH, jailbreaking provides uncomparable advantages.
  • nightwalker83nightwalker83 Posts: 4New Users
    Interesting! Didn't know you could do this. I'll have to try it.

    Edit:

    Can this be used with VS2010? If so how? Everything I try to use it was VS2010 the upgrade wizard wants me to upgrade the project.
    Post edited by nightwalker83 on
  • Pierre-Marie BatyPierre-Marie Baty Posts: 7New Users
    Just follow the project conversion wizard and you get a working Visual Studio 2010 project.

    Everything is explained in the readme.html that comes with the build environment.
  • raniarania Posts: 1New Users
    Hi,,
    Can this code be used with C++ Builder XE3?
    And, i'm building a client/server SSL connection, and my server will need to connect to an IPhone (on my desktop or on the IPhone itself), so, will this code be helpfull for me?, And i should also mention that my mobile phone will be performing a number of functions such as : cryptography, hashing, and QR code capturing.
    Can i get your feedback please!!
    Regards.
  • bishenmantribishenmantri Posts: 7New Users
    You can develop on windows an HTML (or better: HTML5) app, using tools like Sencha or JQTouch, or mobi1. (They used to all be free for a while). Then you use openSSL to sign the app. And Adobe PhoneGAP Build service to build iPhone App. But you need the iPhone developer license to install it on an iPhone. But you don't need a mac or iPhone at any minute to compile, build or test it - all that is done in windows.
Sign In or Register to comment.