Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Sep 18, 2008, 04:47 AM   #1
say2paul
macrumors newbie
 
Join Date: Sep 2008
Do I need to pay $99 to install app to real iPhone device?

How can I install simple hello world application to my iPhone (real device)?

Do I need to pay $99 to Apple?
say2paul is offline   0 Reply With Quote
Old Sep 18, 2008, 05:07 AM   #2
kornyboy
macrumors 68000
 
Join Date: Sep 2004
Location: Knoxville, TN (USA)
Wirelessly posted (iPhone: Mozilla/5.0 (iPhone; U; CPU iPhone OS 2_1 like Mac OS X; en-us) AppleWebKit/525.18.1 (KHTML, like Gecko) Version/3.1.1 Mobile/5F136 Safari/525.20)

You may need to look into AD HOC. You should be able to get some information on Apple's website.
__________________
Stuff
kornyboy is offline   0 Reply With Quote
Old Sep 18, 2008, 06:02 AM   #3
TripleJ
macrumors regular
 
Join Date: Jul 2008
Yes, you do need to pay the $99 to install anything on an actual device.
AFAIK know that includes the ad hoc method which isn't actually available until after you've paid :P
__________________
HiKaChan is out! Hiragana Katakana - My iPhone Apps
TripleJ is offline   0 Reply With Quote
Old Sep 18, 2008, 06:16 AM   #4
say2paul
Thread Starter
macrumors newbie
 
Join Date: Sep 2008
Thanks, but can I install the app I develop on the Jailbrake/unlocked iPhone?
say2paul is offline   0 Reply With Quote
Old Sep 18, 2008, 06:23 AM   #5
mccannmarc
macrumors 6502
 
Join Date: Aug 2008
Location: Manchester, UK
Send a message via MSN to mccannmarc
yeah if you use the unofficial toolchain
__________________
DudeWare site:- http://www.dude-ware.co.uk DudeWare forum:- http://www.forum.dude-ware.co.uk
mccannmarc is offline   0 Reply With Quote
Old Sep 18, 2008, 08:31 AM   #6
mlady
macrumors member
 
Join Date: Sep 2008
No, of course you don't. Here I have written really SIMPLE 3 steps tutorial how to do it

http://mlady-iphone.blogspot.com/200...phone-and.html

Any problems contact me at martin(at)cefo(dot)cz

Last edited by mlady; Sep 18, 2008 at 09:48 AM.
mlady is offline   0 Reply With Quote
Old Sep 19, 2008, 01:34 AM   #7
say2paul
Thread Starter
macrumors newbie
 
Join Date: Sep 2008
Quote:
Originally Posted by mlady View Post
No, of course you don't. Here I have written really SIMPLE 3 steps tutorial how to do it

http://mlady-iphone.blogspot.com/200...phone-and.html

Any problems contact me at martin(at)cefo(dot)cz
You mean I do not need to pay $99 to Apple and still I can install my application to iPhone real / actual device?

Wow!! its great..
say2paul is offline   0 Reply With Quote
Old Sep 19, 2008, 01:45 AM   #8
Nermal
Demi-God (Moderator)
 
Nermal's Avatar
 
Join Date: Dec 2002
Location: Whakatane, New Zealand
That'll only work for a jailbroken phone. If using SDK 2.1, you'll also need to edit /Developer/Platforms/iPhoneOS.platform/Info.plist and set PROVISIONING_PROFILE_ALLOWED and PROVISIONING_PROFILE_REQUIRED to NO.
Nermal is offline   0 Reply With Quote
Old Sep 19, 2008, 01:47 AM   #9
say2paul
Thread Starter
macrumors newbie
 
Join Date: Sep 2008
Quote:
Originally Posted by Nermal View Post
That'll only work for a jailbroken phone. If using SDK 2.1, you'll also need to edit /Developer/Platforms/iPhoneOS.platform/Info.plist and set PROVISIONING_PROFILE_ALLOWED and PROVISIONING_PROFILE_REQUIRED to NO.
Thanks, you people are really very nice!
say2paul is offline   0 Reply With Quote
Old Sep 19, 2008, 01:49 AM   #10
Nermal
Demi-God (Moderator)
 
Nermal's Avatar
 
Join Date: Dec 2002
Location: Whakatane, New Zealand
You're just lucky because I decided to give it a go earlier today
Nermal is offline   0 Reply With Quote
Old Sep 19, 2008, 03:18 AM   #11
Pulkit
macrumors newbie
 
Join Date: Aug 2008
Hi mlady,

Supposed I have an application which is working fine. I want to test it on real device or on simulator which is on a different machine then mine.

How can I do that? Can you guide me?

Pulkit
Pulkit is offline   0 Reply With Quote
Old Sep 19, 2008, 06:07 AM   #12
mlady
macrumors member
 
Join Date: Sep 2008
Quote:
Originally Posted by Pulkit View Post
Hi mlady,

Supposed I have an application which is working fine. I want to test it on real device or on simulator which is on a different machine then mine.

How can I do that? Can you guide me?

Pulkit
Hi, on that other machine you have to install SDK and copy over that app. Then if you want to test it on jailbreaked iPhone follow my guide and that should do it.
mlady is offline   0 Reply With Quote
Old Sep 19, 2008, 06:38 AM   #13
say2paul
Thread Starter
macrumors newbie
 
Join Date: Sep 2008
Quote:
Originally Posted by mlady View Post
No, of course you don't. Here I have written really SIMPLE 3 steps tutorial how to do it

http://mlady-iphone.blogspot.com/200...phone-and.html
I tried the method suggested by you but still getting the following error:

CodeSign error: no certificate found in keychain for code signing identity 'iPhone Developer'

I wrote the following in the script editor (New Run Script Buildphase)
Code:
if [ "${PLATFORM_NAME}" == "iphoneos" ]; then
platform=/Developer/Platforms/iPhoneOS.platform
allocate=${platform}/Developer/usr/bin/codesign_allocate
export CODESIGN_ALLOCATE=${allocate}
codesign -fs "iPhone developer" ${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}
fi
- Show environment variable in build log - marked as checked
- Run Script only when installing - marked as unchecked

Also, when I closed the script editor - it never asked me to save or run the script..?

I think I am missing some step in between!

Any help will be appreciated.
say2paul is offline   0 Reply With Quote
Old Sep 19, 2008, 06:49 AM   #14
mlady
macrumors member
 
Join Date: Sep 2008
Quote:
Originally Posted by say2paul View Post
I tried the method suggested by you but still getting the following error:

CodeSign error: no certificate found in keychain for code signing identity 'iPhone Developer'

I wrote the following in the script editor (New Run Script Buildphase)
Code:
if [ "${PLATFORM_NAME}" == "iphoneos" ]; then
platform=/Developer/Platforms/iPhoneOS.platform
allocate=${platform}/Developer/usr/bin/codesign_allocate
export CODESIGN_ALLOCATE=${allocate}
codesign -fs "iPhone developer" ${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}
fi
- Show environment variable in build log - marked as checked
- Run Script only when installing - marked as unchecked

Also, when I closed the script editor - it never asked me to save or run the script..?

I think I am missing some step in between!

Any help will be appreciated.
That's because you don't have certificate called "iPhone developer". You must first make a certificate. In my blog is a link to apple website where you can learn how to make it. And don't forget to call it iPhone developer.

Yea, the script buildphase is ok, it never ask you for saving.


Good luck wiv it!
mlady is offline   0 Reply With Quote
Old Sep 19, 2008, 08:09 AM   #15
Pulkit
macrumors newbie
 
Join Date: Aug 2008
Quote:
Originally Posted by mlady View Post
Hi, on that other machine you have to install SDK and copy over that app. Then if you want to test it on jailbreaked iPhone follow my guide and that should do it.
You mean first I do a build on my machine and then copy the .app file on that other machine, right?

Also for building the application I should set the project configuration to "release", right?

Actually the problem I facing is that I build the application setting the "Set Active Build Configuration" to "Release". But when I double on the application it just crashed. I want to open this application in the simulator so that I can test it.

What are the other steps involved in this building and transffering the application on other machine?

Please let me know if you know any guide that explain this building process to test on another machine or something similar.

Thanks,
Pulkit
Pulkit is offline   0 Reply With Quote
Old Sep 19, 2008, 08:17 AM   #16
mlady
macrumors member
 
Join Date: Sep 2008
Quote:
Originally Posted by Pulkit View Post
You mean first I do a build on my machine and then copy the .app file on that other machine, right?

Also for building the application I should set the project configuration to "release", right?

Actually the problem I facing is that I build the application setting the "Set Active Build Configuration" to "Release". But when I double on the application it just crashed. I want to open this application in the simulator so that I can test it.

What are the other steps involved in this building and transffering the application on other machine?

Please let me know if you know any guide that explain this building process to test on another machine or something similar.

Thanks,
Pulkit
NO actually you have to copy there whole project. Because then u cn simply test it thru Xcode. Otherwise if u copy there only .app you have to make an .ipa file from that and add it to ur jailbroken iPhone thru iTunes...

Why do you need to test it on different machine in first place??
mlady is offline   0 Reply With Quote
Old Sep 19, 2008, 08:32 AM   #17
Pulkit
macrumors newbie
 
Join Date: Aug 2008
Quote:
Originally Posted by mlady View Post
NO actually you have to copy there whole project. Because then u cn simply test it thru Xcode. Otherwise if u copy there only .app you have to make an .ipa file from that and add it to ur jailbroken iPhone thru iTunes...

Why do you need to test it on different machine in first place??
Actually mLady the thing is. I am new to iPhone development earlier I use to develop Mac Applications. So, I created one iphone application which is working fine.

Now as we do in Mac we create binary using build process setting the configuration to "release" and few other things and send that binary to anybody who is using Mac and wants to run my application.

I did the samething here with my iPhone application. Now as soon as I click on the application Icon it crashes. I want that when I click on this icon it should open in simulator automatically.

Testing on any other machine is not important for me. I just want that my application should open in simulator automatically as soon as I click on the icon.

Thanks,
Pulkit
Pulkit is offline   0 Reply With Quote
Old Sep 19, 2008, 08:38 AM   #18
mlady
macrumors member
 
Join Date: Sep 2008
Quote:
Originally Posted by Pulkit View Post
Actually mLady the thing is. I am new to iPhone development earlier I use to develop Mac Applications. So, I created one iphone application which is working fine.

Now as we do in Mac we create binary using build process setting the configuration to "release" and few other things and send that binary to anybody who is using Mac and wants to run my application.

I did the samething here with my iPhone application. Now as soon as I click on the application Icon it crashes. I want that when I click on this icon it should open in simulator automatically.

Testing on any other machine is not important for me. I just want that my application should open in simulator automatically as soon as I click on the icon.

Thanks,
Pulkit
Ok I get it. But unfortunately that doesn't work like that. U can only test it on Simulator thru Xcode I believe.

If you are interested in distributing in a way as u do wiv Mac, u can only do on jailbreaked iPhones. You need to create .ipa file. Here is a link http://tungchingkai.blogspot.com/200...-ipa-file.html But before u do, u need to sign that app.
mlady is offline   0 Reply With Quote
Old Sep 19, 2008, 10:23 AM   #19
liptonlover
macrumors 6502a
 
Join Date: Mar 2008
if I follow these steps, could I submit my app to the itunes store and it would work? I'm not about to do it but I'm curious
__________________
Failure is not an option. It comes bundled with Windows.
Writing portfolio
liptonlover is offline   0 Reply With Quote
Old Sep 19, 2008, 10:35 AM   #20
Thaurin
macrumors newbie
 
Join Date: Sep 2008
Quote:
Originally Posted by liptonlover View Post
if I follow these steps, could I submit my app to the itunes store and it would work? I'm not about to do it but I'm curious
No, it absolutely does not work that way as every iPhone that the application needs to run on has to be jailbroken to be able to run your app. Besides, Apple has to accept the submission to the App Store.
Thaurin is offline   0 Reply With Quote
Old Sep 19, 2008, 11:18 AM   #21
say2paul
Thread Starter
macrumors newbie
 
Join Date: Sep 2008
Quote:
Originally Posted by mlady View Post
That's because you don't have certificate called "iPhone developer". You must first make a certificate. In my blog is a link to apple website where you can learn how to make it. And don't forget to call it iPhone developer.

Yea, the script buildphase is ok, it never ask you for saving.


Good luck wiv it!
I got the certificate, what is the next. step..?

Where to put this certificate?
say2paul is offline   0 Reply With Quote
Old Sep 19, 2008, 04:10 PM   #22
Nermal
Demi-God (Moderator)
 
Nermal's Avatar
 
Join Date: Dec 2002
Location: Whakatane, New Zealand
Xcode should automatically detect it once you've created it. Are you still getting the same error message?
Nermal is offline   0 Reply With Quote
Old Sep 20, 2008, 12:16 AM   #23
Pulkit
macrumors newbie
 
Join Date: Aug 2008
Quote:
Originally Posted by mlady View Post
Ok I get it. But unfortunately that doesn't work like that. U can only test it on Simulator thru Xcode I believe.

If you are interested in distributing in a way as u do wiv Mac, u can only do on jailbreaked iPhones. You need to create .ipa file. Here is a link http://tungchingkai.blogspot.com/200...-ipa-file.html But before u do, u need to sign that app.
Thanks mLady! I will see what I can do now!
Pulkit is offline   0 Reply With Quote
Old Sep 20, 2008, 06:41 AM   #24
mlady
macrumors member
 
Join Date: Sep 2008
Quote:
Originally Posted by say2paul View Post
I got the certificate, what is the next. step..?

Where to put this certificate?
Just follow the guide I have written. Or you getin any error?
mlady is offline   0 Reply With Quote
Old Sep 20, 2008, 05:03 PM   #25
cemil
macrumors newbie
 
Join Date: Jan 2005
Location: Sydney, AU
Send a message via AIM to cemil Send a message via MSN to cemil
Hi guys,

I just came across this thread and saw the suggestions....

I've created my cert, added the build phase run script item, and edited my /Developer/Platforms/iPhoneOS.platform/info.plist file to change to two entries to NO.

I also edited my info.plist file and added the req'd key "SignerIdentity", as a Value: "Apple iPhone OS Application Signing".

Now, when I go to deploy, I get a 0xE800003A (Your mobile device has experienced an unexpected error, blah blah).

I've looked this up and it looks like it means I don't have a provisioning profile - which makes sense, since I haven't been accepted as a Dev yet...

Any suggestions? Obviously you guys have gotten around this? I'm on 2.1 jailbroken and running the 2.1 SDK.

Thanks,
Cemil
__________________
-Cemil

-----------------

Sydney, baby!
cemil is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
App to play ASX files? FSMBP iPhone 0 May 12, 2011 08:16 PM
Link to the app store Macgeeza iPhone 4 May 8, 2011 01:53 PM
Do you need to know programming to make a informational app for the iPhone? cootersgarage6 Mac Basics and Help 1 Jan 28, 2011 08:44 PM
Do you need to be advanced to develop Apps i-Want-Apples iPhone/iPad Programming 4 Mar 27, 2009 10:44 AM


All times are GMT -5. The time now is 07:12 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC