Jump To:
Leopard Technical Q&As
A full suite of free developer tools is available to Mac OS X developers, who can speed up their development process by using these tools to prototype, compile, debug, and optimize their software products. Xcode, Apple's integrated development environment, can be used with Cocoa, Carbon, or Java. Apple also provides a wide selection of open source tools, such as GCC.

A guided introduction for developers new to Mac OS X developer tools.   Essential information for developers using the Xcode software development tool set.  
Document Descriptions
On Off
Display

Sort by
Title
Sorted by
Topic
Sort by
Date
Building Objective-C static libraries with categories (HTML)
QA1490: Describes how to properly build Objective-C static libraries that contain categories on existing classes.
Compiling & Debugging 2006-10-03
Can't attach during two-machine debugging with GDB (HTML) (日本語 HTML)
Deprecated - QA1019: Describes a workaround for a problem attaching during two-machine debugging on Mac OS X 10.0.x.
Compiling & Debugging 2003-06-02
Debugging a WebKit Plug-in in Xcode (HTML)
QA1500: Directions for debugging a WebKit plug-in in Xcode.
Compiling & Debugging 2007-06-05
Debugging Process Startup (HTML)
QA1573: Describes techniques for debugging a process's startup code.
Compiling & Debugging 2007-12-21
Deprecated CALL_ON_[UN]LOAD pragmas (HTML)
QA1429: Replace deprecated CALL_ON_[UN]LOAD pragmas with constructor [destructor] function attributes.
Compiling & Debugging 2006-01-10
Detecting the Debugger (HTML)
QA1361: Shows how to determine whether you're being run under the debugger.
Compiling & Debugging 2004-10-27
Disabling Processor Cores on a Multi-Core System (HTML) (日本語 HTML)
QA1141: Describes how to disable processor cores on a multi-core system for testing purposes.
Compiling & Debugging 2008-09-16
'dynamic shared library not made a weak library in output with MACOSX_DEPLOYMENT_TARGET...' bug (HTML) (日本語 HTML)
QA1233: Why 'ld' may give a warning about the Mac OS X_DEPLOYMENT_TARGET environment variable and its failure to weak link.
Compiling & Debugging 2003-04-01
Generating a Non-Maskable Interrupt (NMI) (HTML) (日本語 HTML)
QA1264: Explains how to generate a non-maskable interrupt (NMI) on modern Macintosh systems.
Compiling & Debugging 2008-10-13
How do I use asserts while debugging? (HTML)
QA1431: How do I enable asserts so they log their messages and/or break when I'm debugging?
Compiling & Debugging 2006-06-30
Remote or Two-Machine Debugging Applications with GDB (HTML)
QA1279: Explains how to setup a remote or two-machine debugging configuration using gdb and ssh.
Compiling & Debugging 2003-09-09
Setting environment variables for user processes (HTML)
QA1067: Tells how to set environment variables for user processes.
Compiling & Debugging 2001-10-25
Static linking of user binaries on Mac OS X (HTML) (日本語 HTML)
QA1118: Explains why static linking of user binaries is not supported on Mac OS X, and possible workarounds.
Compiling & Debugging 2002-02-07
Stub Library FAQ (HTML)
PLAT28: Explains stub libraries and their use, and differences between shared libraries and stub libraries.
Compiling & Debugging 1997-03-14
Symbol to Library in GDB (HTML)
QA1388: Shows how to find the library containing a symbol in GDB.
Compiling & Debugging 2004-11-15
Using GCOV from Xcode (HTML)
QA1514: Illustrates configuring your Xcode project to work with the GCOV code coverage tool.
Compiling & Debugging 2007-02-23
Using Pascal strings in Project Builder (HTML)
QA1053: Shows how to force gcc (compiler used by Project Builder) to understand Pascal strings.
Compiling & Debugging 2001-06-28
Using qd and QDGlobals (HTML) (日本語 HTML)
Deprecated - QD40: Why a sample program compiled with SC may give the link error: undefined entry qd. Provides a solution.
Compiling & Debugging 1996-02-09
Using static versions of existing dynamic libraries (HTML)
QA1393: Illustrates how to select a static version of a library when a dynamic version of the library exists.
Compiling & Debugging 2006-10-24
Using the latest Mac OS X headers in my CFM project with CodeWarrior (HTML)
QA1379: Describes how to use the latest Mac OS X headers in CodeWarrior by modifying the CFM project access paths.
Compiling & Debugging 2004-10-08
What are the predefined macros for GCC? (HTML)
QA1424: Shows how to display a list of GCC predefined macros.
Compiling & Debugging 2005-07-06
Setting environment variables for user processes (HTML)
QA1067: Tells how to set environment variables for user processes.
Darwin 2001-10-25
Static linking of user binaries on Mac OS X (HTML) (日本語 HTML)
QA1118: Explains why static linking of user binaries is not supported on Mac OS X, and possible workarounds.
Darwin 2002-02-07
Correcting a PackageMaker version.plist and BundleVersions.plist problem (HTML) (日本語 HTML)
QA1281: Describes how to correct a PackageMaker version.plist and BundleVersions.plist problem.
Files & Software Installation 2003-08-25
Creating install packages from the command line (HTML)
QA1284: Describes how to create install packages from the command line.
Files & Software Installation 2007-01-22
Getting owner and group name references for PackageMaker package contents (HTML) (日本語 HTML)
QA1285: Describes how to get owner and group name references for PackageMaker package contents.
Files & Software Installation 2003-08-25
Help Book Caching During Software Development (HTML)
QA1409: Development situations that can potentially confuse Help Viewer
Files & Software Installation 2005-03-30
PackageMaker's NeedsAuthorization value causes install to fail (HTML) (日本語 HTML)
QA1283: Provides a workaround when PackageMaker's NeedsAuthorization value causes a Mac OS X 10.1 installation failure.
Files & Software Installation 2003-08-25
Setting default open Finder window (HTML)
QA1449: How to set the default Finder window to open when a disk is mounted
Files & Software Installation 2006-01-03
What is the Timebase submenu available in the contextual menu of some patches in Quartz Composer? (HTML)
QA1427: Describes the timebase system used by patches in Quartz Composer.
Graphics & Imaging 2005-06-15
Connecting the Font Menu in Interface Builder 3 (HTML)
QA1571: How to connect and configure the Font/Format menus in Interface Builder 3.
Interface Builder 2008-01-21
Debugging NSTableView's "Action Invocation" binding (HTML)
QA1472: Discusses the issues and factors that affect NSTableView's "Action Invocation" binding.
Interface Builder 2006-11-13
How to work around HIMovieViewCreate failing (HTML)
QA1417: Describes how to work around HIMovieViewCreate failing to initialize the view in QuickTime 7
Interface Builder 2008-03-11
Including a custom NSWindow in a nib file (HTML)
QA1511: Shows how to create a custom NSWindow and instantiate it in a nib file.
Interface Builder 2007-03-21
Interface element identification in Interface Builder (HTML)
QA1323: Describes a way to easily visually identify interface elements in a nib file.
Interface Builder 2006-10-06
Help Book Caching During Software Development (HTML)
QA1409: Development situations that can potentially confuse Help Viewer
Java 2005-03-30
Java on Intel-based Macs (HTML)
QA1295: Required changes (if any) for Java applications to run on Intel-based Macs.
Java 2006-10-17
UnsupportedClassVersionError With J2SE 5.0 Release 4 (HTML)
QA1474: Explains problems running existing Xcode projects after upgrading to J2SE 5.0 Release 4
Java 2006-04-14
Changing the TCP Window Size (HTML)
NW47: Describes how to change the TCP window size in Open Transport.
Performance 1997-03-14
Common QA and Roadmap for USB Software Development on Mac OS X (HTML)
QA1370: Roadmap for development of USB Software on Mac OS X and some Common Questions and Answers
Performance 2006-02-28
Disabling Processor Cores on a Multi-Core System (HTML) (日本語 HTML)
QA1141: Describes how to disable processor cores on a multi-core system for testing purposes.
Performance 2008-09-16
How do I access files contained in my AppleScript Studio application's main bundle? (HTML)
QA1493: Explains how to access files stored within an AppleScript Studio application.
Scripting & Automation 2007-02-05
Programmatically causing restart, shutdown and/or logout (HTML) (日本語 HTML)
QA1134: Describes how to programmatically cause restart, shutdown, sleep or logout.
Scripting & Automation 2008-09-24
Setting environment variables for user processes (HTML)
QA1067: Tells how to set environment variables for user processes.
Scripting & Automation 2001-10-25
How can I get both Subversion (SVN) and CVS on Mac OS X 10.5 (Leopard)? (HTML)
QA1492: Explains where to find Subversion and CVS for installation.
Source Control 2007-11-15
Project Builder 2.1 needs projects to be checked into CVS to enable CVS support (HTML) (日本語 HTML)
QA1245: Explains how to workaround a bug in Project Builder that blocks CVS functionality.
Source Control 2003-03-20
Setting environment variables for user processes (HTML)
QA1067: Tells how to set environment variables for user processes.
Source Control 2001-10-25
Automatically starting and stopping application instances without using Monitor (HTML)
QA1064: Describes how to use WebObjects' monitor utility to stop and start application instances.
WebObjects 2001-07-25
FrontBase and JDBC (HTML)
QA1041: Describes an alternative to using the JDBC adaptor with FrontBase for WebObjects 5.0.
WebObjects 2001-07-09
Importing Projects from WO 4.5.x into WO 5.0 (HTML)
QA1035: Describes how to import WebObjects 4.5.x projects into WebObjects 5.0.
WebObjects 2001-07-09
WebObjects applications crashing on NT using IIS (HTML)
WOV01: Explanation and workaround for random crashing with WebObjects patch 2 on Windows NT with IIS.
WebObjects 2000-10-30
CFBundleIdentifier and user application access (HTML)
QA1373: Describes the role of CFBundleIdentifier in limiting a user's application access.
Xcode 2005-02-08
Debugging arbitrary applications with Xcode (HTML)
QA1305: Debugging an application with Xcode without requiring the project that built the application.
Xcode 2003-09-15
Deprecated CALL_ON_[UN]LOAD pragmas (HTML)
QA1429: Replace deprecated CALL_ON_[UN]LOAD pragmas with constructor [destructor] function attributes.
Xcode 2006-01-10
Developing with ZeroLink: small applications and launching on other computers (HTML)
QA1322: Resolving issues caused by the ZeroLink feature in Xcode.
Xcode 2003-10-31
Documentation updater for Project Builder shipping with Mac OS X 10.2 (HTML) (日本語 HTML)
QA1207: Updating Project Builder to find new symbols, including the Bluetooth framework under Mac OS X.
Xcode 2002-10-25
'dynamic shared library not made a weak library in output with MACOSX_DEPLOYMENT_TARGET...' bug (HTML) (日本語 HTML)
QA1233: Why 'ld' may give a warning about the Mac OS X_DEPLOYMENT_TARGET environment variable and its failure to weak link.
Xcode 2003-04-01
How can I get both Subversion (SVN) and CVS on Mac OS X 10.5 (Leopard)? (HTML)
QA1492: Explains where to find Subversion and CVS for installation.
Xcode 2007-11-15
How do I access files contained in my AppleScript Studio application's main bundle? (HTML)
QA1493: Explains how to access files stored within an AppleScript Studio application.
Xcode 2007-02-05
How do I use asserts while debugging? (HTML)
QA1431: How do I enable asserts so they log their messages and/or break when I'm debugging?
Xcode 2006-06-30
How to add a folder to the contents of a package (HTML)
QA1484: Describes how to add a folder of files to the package contents of executable code
Xcode 2006-10-31
How to solve '_objc_exception_set_functions' ZeroLink errors in Xcode (HTML)
QA1321: Explains how to eliminate '_objc_exception_set_functions' ZeroLink errors in Xcode
Xcode 2003-10-29
Missing Results in Xcode Project Find Window (HTML)
QA1580: A workaround for when a search that previously returned results generates no files found in Xcode
Xcode 2008-03-06
Project Builder 2.1 needs projects to be checked into CVS to enable CVS support (HTML) (日本語 HTML)
QA1245: Explains how to workaround a bug in Project Builder that blocks CVS functionality.
Xcode 2003-03-20
QuickTime 6.4 & AvailabilityMacros.h on Mac OS X 10.2.x (HTML)
QA1316: Fixing compilation issues when upgrading to QuickTime 6.4 on Mac OS X 10.2.x systems.
Xcode 2003-10-21
Spaces in project names: solving "Missing file or directory" errors in Project Builder (HTML)
QA1301: Explains "Missing file or directory" errors when building with Project Builder.
Xcode 2003-09-15
Tips for searching Headers, APIs and ADC reference material. (HTML)
QA1475: Presents a number of different ways to search for APIs and reference material on the system.
Xcode 2009-02-13
Using GCOV from Xcode (HTML)
QA1514: Illustrates configuring your Xcode project to work with the GCOV code coverage tool.
Xcode 2007-02-23
Using Pascal strings in Project Builder (HTML)
QA1053: Shows how to force gcc (compiler used by Project Builder) to understand Pascal strings.
Xcode 2001-06-28
Using static versions of existing dynamic libraries (HTML)
QA1393: Illustrates how to select a static version of a library when a dynamic version of the library exists.
Xcode 2006-10-24
Why is libstdc++.a missing in my Xcode project on Mac OS X v10.4 (Tiger)? (HTML)
QA1428: Explains the role of libstdc++ and why you do not need it in a Xcode project.
Xcode 2005-04-29
Working with groups and folder references in Project Builder (HTML)
QA1077: Explains how to work with groups and folder references in Project Builder
Xcode 2001-09-25
Xcode 3 Project Compatiblity (HTML)
QA1572: Describes the minimum requirements for opening Project Builder or older Xcode projects in Xcode 3.
Xcode 2008-11-12