How to install an application from source? From Google Code

Discussion in 'iOS Programming' started by saikyo, May 21, 2009.

  1. saikyo macrumors newbie

    May 21, 2009
    Hello everyone,

    I'm new to iPhone development, but learning new things everyday. Please bear with my lack of knowledge for a bit.

    I would like to install this application on my iPod Touch.

    I don't see an obvious way to do this, but maybe I'm missing something easy.

    I thought the general idea was that I should download all the source code, compile it in xCode, and install it via iTunes. Is that right?

    Is there an easy way to download the source code?

    I see if I browse and look under Trunk everything is here:

    But would I just download each file individually and then put it into Xcode? Some how I think that can't be right.

    I better stop right there before I start asking questions that are totally off-base.

    Anyway, any help in getting this app on my iPod Touch would be appreciated!

    - Harvey
  2. BlackWolf macrumors regular

    Apr 9, 2009
    you can download the newest version of that app via svn, you don't have to download each file individually.

    I guess you are supposed to transfer this app to your iphone via xcode. you can only do this if you are a paying developer.
  3. mccannmarc macrumors 6502


    Aug 15, 2008
    Manchester, UK
    open up your terminal application and type in:-

    svn checkout appsales-mobile-read-only
    the project folder will be downloaded to your home directory. Then open up the .xcodeproj file, compile it and install it to device :)
  4. saikyo thread starter macrumors newbie

    May 21, 2009

    I didn't know about svn.

    It ran fine and everything downloaded. I opened the .xcodeproj file in XCode (AppSalesMobile.xcodeproj), but under "Build→Compile" is greyed out. I tried to build and run as well onto the iPhone Simulator and that worked fine.

    I assume Compiling will create the App file that I just drag into iTunes in order to install right?

    Any tips on how to proceed? Thanks, and you can be assured that I'll only ask these easy questions once!

    Also, I am a paying developer. I hope I can figure this stuff out within one year ;-)
  5. dejo Moderator


    Staff Member

    Sep 2, 2004
    The Centennial State
    No, you just need to make sure you choose iPhone Device X.X as your Active SDK and make sure you have provisioned your device and its connected, then Build and Go. Xcode will install directly to the device; no need for iTunes to install.

    P.S. You do have your device provisioned already, right? ;)
  6. saikyo thread starter macrumors newbie

    May 21, 2009
    Aha. This is why I fail.

    Okay Project → Set Active SDK → iPhone OS 2.2 (Project Setting)

    I get a message about cosign wanting to use a Key in my KeyChain, I say OK.

    But then Your Mobile Device has encountered an unexpected Error. Application Verification Failed.

    There are actually three Provisioning Profiles in my Organizer. I think they're all broken some how.

    I hear provisioning can take some digging to get right. I'll head back to the dev center to make sure everything is OK in that area. Thanks for your help thus far everyone!
  7. nottooshabby macrumors 6502

    Jul 12, 2008
    Make sure you change the bundle identifier in the info.plist for the project you got from google to be consistent with your profiles.

Share This Page