Jump to content

iphone application problem


12 posts in this topic

Recommended Posts

Hi all,

i'm new in iPhone development :)

 

i download a simple code "HelloWord" from apple iphone developer center.

 

I found HelloWord.app in build folder and add this app to iphone via SSH in application directory.

Then restart iphone and click on icon to launch this simple application.

 

Application start and then when show Default.png application crash and exit.

 

What is the problem :P

Why application exit with no error.

 

The code is from the main developer apple site :)

 

Pleace helppp..

my english is so bad, sorry ;)

Link to comment
Share on other sites

Hi!

 

Try to rebulid project again, I think that this example is made with first BETA SDK. Open project press "Build" and then try to start it from yours Iphone or press "Build and go" to start it in simulator. You need Xcode for this :) .

Link to comment
Share on other sites

Hi,

this is what i did.

 

1. Download simple project ( like "Hello Word" ) from apple dev center.

2. Open in xCode and "Build" project.

3. Open cyberduck and connect to iPhone.

4. on iPhone go to "/Applications" folder

5. Copy "Hello Word.app" from build folder on Mac to Application folder in iPhone.

6. All is OK. Reboot iPhone and in home screen helloWord app is now avaiable.

7. But when start this app, program load and after 1-2 secundes exit. WHY ?

Link to comment
Share on other sites

I'm sorry but I can not produce the same thing because I don't have an Iphone. I only use Iphone simulator and this HelloWorld example works fine in it. Did yo try to start this example in Iphone Simulator? What version of Xcode do you have?

 

 

Nenad

Link to comment
Share on other sites

Hi,

this is what i did.

 

1. Download simple project ( like "Hello Word" ) from apple dev center.

2. Open in xCode and "Build" project.

3. Open cyberduck and connect to iPhone.

4. on iPhone go to "/Applications" folder

5. Copy "Hello Word.app" from build folder on Mac to Application folder in iPhone.

6. All is OK. Reboot iPhone and in home screen helloWord app is now avaiable.

7. But when start this app, program load and after 1-2 secundes exit. WHY ?

 

Make sure you select Device-iPhone OS 2.0 and Distribution in your build settings located in the upper left corner of xCode.

Link to comment
Share on other sites

Yeah and another thing, after you upload the app to the Applications directory make sure you chmod it to 775 otherwise for me usually it does not work. Another thing, if you...er..."patch" your MobileInstallation binary then you can load your self made apps directly without using SSH.

Link to comment
Share on other sites

Yeah and another thing, after you upload the app to the Applications directory make sure you chmod it to 775 otherwise for me usually it does not work. Another thing, if you...er..."patch" your MobileInstallation binary then you can load your self made apps directly without using SSH.

 

I'm asking this because I don't have Iphone, I'm using simulator.

Is it possible to deploy apps from XCode directly to Iphone, over cable?

That would be best solution for his problem, or not ?

Link to comment
Share on other sites

This doesn't work because applications need to be codesigned no matter what, even on a jailbroken phone. If you are jailbroken (which you must be, using SSH), then you can use a fake certificate.

You could do any of these: http://www.saurik.com/id/8

So no stroke you don't need code signing but it would avoid problems.

iPoco

Link to comment
Share on other sites

  • 2 months later...
This doesn't work because applications need to be codesigned no matter what, even on a jailbroken phone. If you are jailbroken (which you must be, using SSH), buy cialis then you can use a fake certificate.
You could do any of these: http://www.saurik.com/id/8

So no stroke you don't need code signing but it would avoid problems.

iPoco

Thanks ipoco, I will also try it

Link to comment
Share on other sites

  • 1 month later...
This doesn't work because applications need to be codesigned no matter what, even on a jailbroken phone. If you are jailbroken (which using SSH), then you can use a fake certificate.

I had the same issue and it worked out find for me. http://www.saurik.com/id/8 explains it step by step. The only problem I had was installing the whole firmware again because it had a carrier lock :(

Link to comment
Share on other sites

 Share

×
×
  • Create New...