Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

saikyo

macrumors newbie
Original poster
May 21, 2009
4
0
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
 
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.
 
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 :)
 
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 ;-)
 
I assume Compiling will create the App file that I just drag into iTunes in order to install right?
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? ;)
 
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?

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!
 
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!

Make sure you change the bundle identifier in the info.plist for the project you got from google to be consistent with your profiles.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.