lstefanov Posted September 1, 2008 Share Posted September 1, 2008 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 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 More sharing options...
Law_zg Posted September 2, 2008 Share Posted September 2, 2008 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 More sharing options...
lstefanov Posted September 2, 2008 Author Share Posted September 2, 2008 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 More sharing options...
Law_zg Posted September 3, 2008 Share Posted September 3, 2008 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 More sharing options...
FishYaker Posted September 4, 2008 Share Posted September 4, 2008 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 More sharing options...
~pcwiz Posted September 5, 2008 Share Posted September 5, 2008 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 More sharing options...
Law_zg Posted September 5, 2008 Share Posted September 5, 2008 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 More sharing options...
stroke Posted September 5, 2008 Share Posted September 5, 2008 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. Link to comment Share on other sites More sharing options...
~pcwiz Posted September 5, 2008 Share Posted September 5, 2008 If you are jailbroken (which you must be, using SSH), then you can use a fake certificate. You're talking about the MobileInstallation patch right? Link to comment Share on other sites More sharing options...
Poco Posted September 6, 2008 Share Posted September 6, 2008 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 More sharing options...
Elena Posted November 25, 2008 Share Posted November 25, 2008 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/8So 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 More sharing options...
Yuma77 Posted January 14, 2009 Share Posted January 14, 2009 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 More sharing options...
Recommended Posts