0

After following every step from how to create a certificate till adding provisional certificate to Xcode, I am unable to load the application on the iphone.

I am using Xcode 4.2 iOs 5 and trying to load application on iOS 4.1 [iPhone 3G ].

When I run other sample apps on my device, it successfully installs and runs.

My app gets buld successfully and I have configured the buld settings of my app according to my iOS.

What could be the probable reason?

Please help.

For testing purposes only, my app consists of a lone UIButton, thats it.

madLokesh
  • 1,860
  • 23
  • 49
  • What is the error message you are receiving when you run the app on your device? – bobnoble Jun 08 '12 at 10:51
  • Are you sure the correct `Bundle Identifier` for the app is being used, thats correspondant to that of the Provisioning profile? – skram Jun 08 '12 at 10:52
  • yes...i know you are referring to that com.companyName.somethng... and i have changed that to my provisioning profile – madLokesh Jun 08 '12 at 10:57
  • @bobnoble i am not rcving any message on the console... it is compiling successfully [build successfully] – madLokesh Jun 08 '12 at 10:58

2 Answers2

1

In application build settings set deployment target lower then your device ios. Xcode templates starts with 5.0, hope this helps.

I am using Xcode 4.2 iOs 5 and trying to load application on iOS 4.1

ymutlu
  • 6,585
  • 4
  • 35
  • 47
  • did that already.... still not working.. I have done everything possible i know and mentioned on the web... but still unable to load the app... – madLokesh Jun 08 '12 at 11:10
  • Did you try to add new project and compile it? Still same problem for empty project? – ymutlu Jun 08 '12 at 12:12
  • I have already figured out the solution and i have mentioned it in the answers... i will accept in few hours once stackoverflow allows me to – madLokesh Jun 08 '12 at 12:14
0

Check out the post Is it possible to target older iOS versions when using Xcode 4.2 and iOS 5 SDK? answered by mmorris.

It helped me out.

Community
  • 1
  • 1
madLokesh
  • 1,860
  • 23
  • 49