How to install an application from source? From Google Code

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

  1. saikyo macrumors newbie

    Joined:
    May 21, 2009
    #1
    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.
    http://code.google.com/p/appsales-mobile/

    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:
    http://code.google.com/p/appsales-mobile/source/browse/#svn/trunk/AppSalesMobile

    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

    Joined:
    Apr 9, 2009
    #2
    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

    mccannmarc

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

    Code:
    svn checkout http://appsales-mobile.googlecode.com/svn/trunk/ 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

    Joined:
    May 21, 2009
    #4
    Thanks!

    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

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #5
    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

    Joined:
    May 21, 2009
    #6
    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

    Joined:
    Jul 12, 2008
    #7
    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