3G iPhone Device "finished running" but app won't load
Asked Answered
L

8

8

I'm trying to run an app on a 3G device. Xcode says that the app has "Finished running on the iPhone" but the app will not deploy. I think I have the architectures configured correctly (see image below)

enter image description here

enter image description here

any help would be great,

thanks

Laryssa answered 14/11, 2011 at 20:3 Comment(4)
Check your deployment target if it has at least 4.2.1 (Which is the latest version supported by the iPhone 3G)Start
yes. the deployment target is set to 4.2. I've added a screenshotLaryssa
"app will not deploy" does it install and not launch or not even install?Fancier
doesn't install on the device. It goes from Build Succeeded to "Finished running appName on iPhone" (the message in the Xcode toolbar)Laryssa
L
17

I figured this out finally. In the Info.plist there's a "Required device capabilities" setting that was set to armv7. I was aware of the armv6 and armv7 requirements in the target build settings for the 3G model but not in the plist. here's a screenshot. hope it helps anyone else stuck with something similar:

enter image description here

Laryssa answered 17/11, 2011 at 14:57 Comment(0)
I
1

Your configuration looks fine. I’ve seen this before; removing the device from the Organizer (selecting it in the list on the left of the “Devices” tab and clicking the “Remove” button at the bottom of the main panel), restarting Xcode, and connecting it again seemed to fix the problem.

Interleave answered 14/11, 2011 at 21:54 Comment(1)
thanks for the reply. I tried that (3 times) still the same thing, unfortunately.Laryssa
H
1

In my case, the architecture in the target properties was set to Standard (armv7). I had to add the armv6 architecture and it worked

Hwang answered 13/12, 2011 at 10:16 Comment(0)
U
1

Check "Required device capabilities" in settings. I had problem with accelerometr set to OFF. When I had remove this line, everything start working.

Same problem on 3G (iOS4) and 4GS (iOS5)

Useful answered 27/1, 2012 at 18:2 Comment(0)
S
1

Each .xib file and core data model also has a deployment property. It's in the identity inspector. Changing it worked for me.

Selfinduction answered 26/5, 2012 at 17:12 Comment(0)
R
0

Make sure you have it setup like this in the target build settings, not just the project build settings.

Retharethink answered 14/11, 2011 at 21:33 Comment(1)
yes, those are the settings from the target build. the deployment target is 4.2Laryssa
R
0

Restarting the device usually fixes this one for me.

Rosaceous answered 17/11, 2011 at 12:46 Comment(1)
I've restarted and even restored the device, but still the same thing. Just the message "Finished running myApp on myDevice". I'll try it again.Laryssa
T
0

Under Build Settings at the top, you'll not a selection named 'Levels'. If you select this you may find that the Architecture and/or your Code Signing Identity is out of step with the settings that were showing under the 'Combined' setting. I had a case where an App was building successfully and simply not deploying on the phone. When I select "Levels" the values under my App target for these Build settings was incorrect. Once I set them here it deployed to the device fine.

Hope that helps.

Trapezohedron answered 16/12, 2011 at 16:11 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.