iPhone Books, Amazon Kindle DX, and XCode, Oh My!

Still waiting on a few more books to ship from Amazon to study more iPhone application development. Considering getting a Kindle DX to put all my eBook versions of the printed books onto, so that I can read outside from the MacBook and the second monitor.  Allowing those screens to be put to better use of iPhone app programming.

Plan to upgrade to the new iPhone when it’s released, so that I can use my first generation iPhone as the debugging/testing phone and the other for real day to day things.

VN:F [1.9.7_1111]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.7_1111]
Rating: 0 (from 0 votes)

Looking for a Great 2D/3D Artist.

I’m looking for a good 2D/3D artist to help with artwork for a few game ideas on the iPhone.

I do like the cell shading look, and that might be my ultimate style I go with.  If you have skills with designs in these aspects, I would love to hear from you.

VN:F [1.9.7_1111]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.7_1111]
Rating: 0 (from 0 votes)

Mac OS X Leopard, Entropy PHP and XDebug Extension (64bit)

As all my entension in PHP must be compiled in 64bit to load into PHP, I’ve decided to give the details on how I added xdebug to Entropy PHP 5.2.5 beta 6 on Mac OS X Leopard running on an Intel Core 2 Duo.

First, download the source code for xdebug at the following site

XDebug (source code [2.0.4 as of this writing])

Then unpack the file into a directory someone on your system.

From the terminal, go to the folder where you unpacked everything. It should be xdebug-2.0.4. Then type the following commands:

  • cd xdebug-2.0.4
  • phpize
  • MACOSX_DEPLOYMENT_TARGET=10.5 CFLAGS=”-arch ppc -arch ppc64 -arch i386 -arch x86_64 -g -Os -pipe -no-cpp-precomp” CCFLAGS=”-arch ppc -arch ppc64 -arch i386 -arch x86_64 -g -Os -pipe” CXXFLAGS=”-arch ppc -arch ppc64 -arch i386 -arch x86_64 -g -Os -pipe” LDFLAGS=”-arch ppc -arch ppc64 -arch i386 -arch x86_64 -bind_at_load” ./configure –enable-xdebug
  • make

Now wait for it to complete the compiling process.  When it is done, begin these commands:

  • cd modules
  • chown root:wheel xdebug.so
  • sudo mv xdebug.so /usr/local/php5/lib/php/extensions/no-debug-non-zts-20060613/
  • cd /usr/local/php/php.d
  • sudo pico 50-extension-xdebug.ini

In the text editor, type the following line, then save the file with Control-O (WriteOut), then exit, Control-X.

zend_extension=/usr/local/php5/lib/php/extensions/no-debug-non-zts-20060613/xdebug.so

Once you’ve save the file and returned back to the terminal you can type in the following to restart Apache2:

  • sudo apachectl graceful

To make sure all went well, type in this to see if Xdebug is showing in the PHP information.

  • php -v

Should display something like this.

PHP 5.2.5 (cli) (built: Jan 24 2008 00:33:14)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Xdebug v2.0.4, Copyright (c) 2002-2008, by Derick Rethans

If the Xdebug v2.0.4 line shows up, then you’ve succesfully installed the 64bit version of Xdebug for Entropy PHP in Mac OS X Leopard.

VN:F [1.9.7_1111]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.7_1111]
Rating: 0 (from 0 votes)

Subversion + Mac OS X Leopard + XCode 3 = Faster Coding

I have set up Subversion to store the repos of my iPhone apps I’m developing on my Mac system.  Now all I need to do is begin working on a core for my apps that I can use as the basis for all future apps.

If anyone has any trouble setting up Subversion on the Mac to use with XCode, here is a place to start:

ADC – Using Subversion with XCode 3 on Mac OS X Leopard

Subversion with Mac OS X Tutorial

How to setup a Subversion server on OS X 10.5 (Leopard)

SVN, Apache2, OS X Leopard 10.5

Also note, that if you download and install the Subversion 1.5+ binary if you choose to use the newer version, be sure to direct to the proper mod_dav_svn.so file in the /opt/subversion/lib/svn-apache/ directory and not the /usr/libexec/apache2 directory. If you don’t, then you will get the following “Could not open the requested SVN filesystem” error on any repos created with svn higher than 1.4+ that comes preloaded with the Mac OS X 10.5 Leopard.

VN:F [1.9.7_1111]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.7_1111]
Rating: 0 (from 0 votes)