Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 09-08-2011, 08:46 AM   #1 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 557
Joseph Nardone is on a distinguished road
Default Why would an old project not recognize my phone?

Hi:

I am trying to open a project that is over a year old to get some code to help someone on the forum out. I want to test the code on my iPhone 4 to make sure that it still works but XCode will not show my phone to select to run the app on.

It will show my iPad if I plug it in and other projects are showing my phone fine. The code runs on the simulators (iphone and iPad) but I need a feature of the device.

The app was written when the current iOS was 3.0 and my old phone was a 3G. My phone now is an iPhone 4.

Where should I look for a problem.
Joseph Nardone is offline   Reply With Quote
Old 09-08-2011, 09:01 AM   #2 (permalink)
Reading the Documentation
 
baja_yu's Avatar
 
Join Date: Sep 2010
Location: 45.255019,19.844908
Posts: 5,414
baja_yu has a spectacular aura about
Default

Does your phone get mounted as a external drive (does it appear on the Desktop as an icon)? I'm not sure if that will prevent it from being used by Xcode or not, but that's the only thing coming to mind.
baja_yu is offline   Reply With Quote
Old 09-08-2011, 10:51 AM   #3 (permalink)
Registered Member
 
Join Date: Sep 2008
Posts: 118
Feldspar is on a distinguished road
Default

See if it shows up in Organizer (cmd-shift-2 in xcode). Click devices on top, then your phone on the left. If there is a button "Use for development", you need to do that before it will show up. It takes a minute or two (loads symbols or something like that).

If the button doesn't show up, you might need to do a restore on your device first. I've had odd problems with devices not showing up and was able to fix it that way.

EDIT: Just noticed this:
Quote:
Originally Posted by Joseph Nardone View Post
and other projects are showing my phone fine.
This is pretty strange. Maybe check the "iOS Deployment Target" under your project settings to make sure it didn't get set to an iOS version higher than what's on your phone?
__________________
Music Visualizer ~ Rabbit Hole http://bit.ly/mmlGOi

Last edited by Feldspar; 09-08-2011 at 10:55 AM.
Feldspar is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 383
8 members and 375 guests
apatsufas, JackReidy, jeroenkeij, Sami Gh, tim0504, UMAD, yomo710
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,671
Threads: 94,121
Posts: 402,904
Top Poster: BrianSlick (7,990)
Welcome to our newest member, JackReidy
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:55 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0