Porting CodeWarrior Projects to Xcode
PDF
Introduction
Xcode From a CodeWarrior Perspective
The Basic Development Environment
Limitations
Companion Applications
Header Files
Framework-Style Headers
Cross-Development
Precompiled Headers and Prefix Files
Pragma Statements
C and C++ Libraries
Support for wchar_t and wstring
The GCC Compiler
C++ Code in C Files
Inline ASM
The Linker
The Information Property List and .plc Files
Working With Resources
Building Code
Exporting Symbols
Debugging
Prebinding
Source Trees
Source Control
PowerPlant
Maintaining Parallel Projects in Xcode and CodeWarrior
Preparing a CodeWarrior Project for Importing
Convert Classic Applications to Use Carbon
Use the Application Package Type
Build the Application in the Mach-O Format
Remove Unnecessary Targets From the Project
Importing a CodeWarrior Project Into Xcode
About the Importer
Importing a Project
After Importing a Project
Build Your Project
Check for Common Conversion Issues
Resolve Undefined Symbols
Make Code Changes for GCC Compatibility
Move Settings From the .plc File to an Info.plist File
Make Changes to PowerPlant
Using PowerPlant in Universal Binaries
Changing LStream Code
Flipping the 'DBC#’ Resource Type
Where to Go From Here
Revision History