Legit app for appstore without a mac

Discussion in 'iOS Programming' started by driechers, Jun 19, 2011.

  1. driechers macrumors newbie

    Joined:
    Jun 18, 2011
    #1
    So here is whats up. I am in the process of building an app that i would like to upload to the appstore. The thing is i am not using a mac to build my app. I am compiling native on my ipod with the iphone toolchain. Is there a way that i can obtain a legit code signature for my app without the use of a mac nor xcode because i have neither?
     
  2. jnoxx macrumors 65816

    jnoxx

    Joined:
    Dec 29, 2010
    Location:
    Aartselaar // Antwerp // Belgium
    #2
    I think there is no freaking way, just being honest.
    If you know the strict lines of Apple. There is probably not a chance.
    Because you have to request via Keychain etc. Which is not avaible on a Windows.
    u could try to install a Hackintosh on a laptop/windows pc I think.
     
  3. fishkorp macrumors 68020

    fishkorp

    Joined:
    Apr 10, 2006
    Location:
    Ellicott City, MD
    #3
    I'm pretty sure even if you did have a Mac and only built with the iPhone toolchain and not the official SDK your app would get rejected. So what you're doing won't be accepted at all. You're essentially building a jailbroken-only app right now.

    Not only do you have to sign it on the Mac, but the only way you can upload it is on a Mac via Xcode (4.x) or the App Uploader tool (for Xcode 3.x). So if, in theory, you could build and sign the way you're doing it, you still couldn't upload it.
     
  4. driechers thread starter macrumors newbie

    Joined:
    Jun 18, 2011
    #4
    Aw man i tried to get a hackintosh going a while ago. It was a pain. Say that i have a friend with a mac with xcode. i assume that when i get completed with my app i can just borrow his macbook and plug my code into xcode then follow apples instructions to submit an app. Is this correct? Do you think apple would reject an app if it had an interface built in the code rather than interface builder? Does the signature reference anything relating to the owner of the macbook?
     
  5. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #5
    Both my released apps have interfaces built entirely in code with no Interface Builder usage at all.
     
  6. jnoxx macrumors 65816

    jnoxx

    Joined:
    Dec 29, 2010
    Location:
    Aartselaar // Antwerp // Belgium
    #6
    It doesn't relate to the owner of the macbook, it relates to the provisioning profiles installed. If you follow the guides to the letter. Then you shouldn't have any problems at all.
     
  7. jiminaus macrumors 65816

    jiminaus

    Joined:
    Dec 16, 2010
    Location:
    Sydney
    #7
    Interesting. Are they highly dynamic UIs, or did you just find IB to be a PITA?
     
  8. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #8
    When I built the first one I just couldn't get IB to do what I wanted (which was weird as I have no trouble with it when building Mac OSX software). The second one has a lot of custom UI components (although they don't look like it) to get the colours of text and background I want in the navigation bar, search bar cancel button and so on. So it was just easier to build it in code. The actual navigation stack and so on are quite dynamic as they depend entirely on a scrape of a Wiki.
     
  9. amorya macrumors 6502

    Joined:
    Jun 17, 2007
    #9
    I completely agree!

    I've just started a new project, and it doesn't even have a main Xib file. (You can set the app delegate in the main() method and instantiate a window in that.) For some reason, especially for table-heavy apps, IB seems to get in the way: you can't do everything in it (such as lay out which table cells go where in a static table), so you need a mixture of xib and code that just gets confusing.

    iOS 5 may be better in this regard…
     
  10. JLB-UK macrumors regular

    Joined:
    Oct 21, 2009
    Location:
    UK
    #10
    I do exactly the same initialise a window in the main() no need for the xib file. As for tables, I never create them in IB, I agree you can customise a lot more through the code!
     
  11. firewood macrumors 604

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #11
    I split the difference, use a xib for the main window and an empty first view, then instantiate everything inside the view(s) programmatically. That way, in case Apple changes or adds stuff to their app templates (new iPad resolutions or whatever), my code might be more closely compatible.

    Also, and I hope it's not you, the 2 developers who showed me their no-xib apps had really really ugly apps. Hopefully that's not caused by the no-xib mindset.
     
  12. amorya macrumors 6502

    Joined:
    Jun 17, 2007
    #12
    See for yourself :)

    (Actually, I wasn't the original author of this one, so I didn't make the calls about how to design it — but if I had been, I'd probably have coded it the same way.)
     
  13. dacapo macrumors 6502

    Joined:
    Jan 25, 2010
    #13
    Just to make sure the OP understands, yes, you can use your friend's macbook to generate a CSR with his keychain. Keep in mind that the first time around will be quite confusing, so I'd bet it won't be a 30 minute ordeal. But yes, it can be done.
     

Share This Page