'Development'에 해당되는 글 1건

  1. 2010.06.24 iPhone Development Guide
아이폰어플개발정보2010. 6. 24. 14:12
iPhone Development Guide

A framework is a directorythat contains a dynamic shared library and the resources (such as header files,images,helper applications,and so on) needed to support that library.

YoualwaysusetheOpenGLframeworkinconjunctionwiththeEAGLinterfaces (theinterfacebetweenyourOpenGLESdrawingcodeandthenativewindowobjectsofyourapplication).

Mobile users typically want only the mostimportant information,in the least amount of time.



iPhone OS–based devices support two instruction sets,ARM and Thumb.

- ARM: better performance for floating-point code

- Thumb: about 35% smaller code

** Configure computer and device **

1.Specify your application ID.

2.Register your device with the Program Portal.

3.InstalliPhone OS on your device.

4.Obtain your development certificate.

5.Add your development certificate to your key chain.

6.Obtain your provisioning profile.

7.Add your provisioning profile to Xcode.

8.Installyour provisioning profile on your device.


** NSZombieEnabled facility **

1. Choose Project > Edit Active Executable to open the executable Info window.

2.Click Arguments.

3.Click the add (+) button in the “Variables to be set in the environment” section.

4.Enter NSZombieEnabled in the Name column and YES in the Value column.

5.Make sure that the check mark for the NSZombieEnabled entry is selected.

The Instruments application lets you gather a variety of application performance metrics,such as memoryand network use.You can gather data from iPhone applications running in iPhone Simulator or on devices.

** limitations of iPhone Simulator

Maximum of two fingers

Accelerometer (supported in SDK 3.0+, but not successful yet)


** conditional compilation **

: for differently implemented frameworks between simulator and device (OpenGL ES, CFNetwork)



** conditional linking **

target > info > Build pane > All Configurations > All Settings > Linking group > Other Linker Flags > [SDK condition, Architecture, setting value]

** syncing test application **

1. Run iTunes

2. Drag the Provision profile to the Library group

3. Drag the application to the Library group

4. sync the device

** crash report **

iTunes downloads the records the next time you connect your device.

- Mac~/Library/Logs/CrashReporter/MobileDevice

- Vista: C:\Users\<user_name>\AppData\Roaming\Apple computer\Logs\CrashReporter/MobileDevice

- XP: C:\Documents and Settings\<user_name>\Application Data\Apple computer\Logs\CrashReporter

출처 : http://blog.naver.com/PostView.nhn?blogId=gonagi&logNo=150047388071
Posted by 오늘마감

댓글을 달아 주세요