Wiley 3D for iPhone Apps with Blender and SIO2 978-0-470-57492-8 User Manual
Product codes
978-0-470-57492-8
10
■ ■
Chapter 1: Getting Started with 3D Development for the iPhone
Troubleshooting
If Xcode does not open when you double-click a file with the filename extension
.xcodeproj
,
it means there is a problem with your Xcode installation. You will need to go back to the
instructions at the Apple Developer Connection website and make sure you correctly
downloaded and installed the iPhone SDK.
instructions at the Apple Developer Connection website and make sure you correctly
downloaded and installed the iPhone SDK.
The first time you build an app, it is important to have the build destination and the
SDK version set correctly. Make sure the drop-down menu in the upper-left corner of the
Xcode window is set to the version of the SDK you are using. Furthermore, make sure the
application itself is set to compile using the correct version of the SDK. You can check this
in the project settings under Project
Xcode window is set to the version of the SDK you are using. Furthermore, make sure the
application itself is set to compile using the correct version of the SDK. You can check this
in the project settings under Project
➔
Edit Project Settings. If you have trouble, refer to
the iPhone Reference Library at
http://developer.apple.com/iphone/library/navigation/
index.html
and search for “running applications” for more details about how to set the
Project Build settings correctly.
If you are enrolled in the iPhone Developer Program and are compiling to a device, be
sure you have read all the relevant documentation on certifying and making your device
available to Xcode. If you have done this and have trouble compiling some of the tutori-
als, it may be due to discrepancies in code signing. If the apps are code-signed to another
developer, you will need to change the code-signing value to build them yourself. Code-
signing information for a project is found in the Project Settings properties list, and code-
signing information for the target application is found in the Active Target properties list,
which can be accessed under Project
available to Xcode. If you have done this and have trouble compiling some of the tutori-
als, it may be due to discrepancies in code signing. If the apps are code-signed to another
developer, you will need to change the code-signing value to build them yourself. Code-
signing information for a project is found in the Project Settings properties list, and code-
signing information for the target application is found in the Active Target properties list,
which can be accessed under Project
➔
Edit Active Target
target_name
(where
target_name
is the name of your target). Code-signing information must be set correctly for both the
project and the target. You can find more information about this on the same “Running
Applications” iPhone Reference Library page mentioned previously.
project and the target. You can find more information about this on the same “Running
Applications” iPhone Reference Library page mentioned previously.
You will get a lot of use out of the iPhone Reference Library if you continue with iPhone
and iPod Touch programming, so it’s a good idea to bookmark it. If you’ve read this chap-
ter and the pertinent iPhone SDK documents and iPhone Reference Library resources and
you’re still having problems, go to the SIO2 forum at
ter and the pertinent iPhone SDK documents and iPhone Reference Library resources and
you’re still having problems, go to the SIO2 forum at
http://forum.sio2interactive.com
and
run a search on your problem.
In the next chapter, you’ll learn more about the fundamentals of OpenGL ES graphics
programming in the iPhone.
574928c01.indd 10
1/5/10 6:16:42 PM