Dear Wiki user, You have subscribed to a wiki page or wiki category on "Thrift Wiki" for change notification.
The "ThriftUsageObjectiveC" page has been changed by JeremyFergason. http://wiki.apache.org/thrift/ThriftUsageObjectiveC?action=diff&rev1=7&rev2=8 -------------------------------------------------- It is relatively straight forward to build the thrift cocoa library sources as a framework. As of Thrift 0.2.0 this is not done automatically. Hopefully it will in future releases. 1. Download Thrift 0.2.0 and install. Follow the instructions at ThriftInstallationMacOSX to install on Mac OS X. - 2. Download the Thrift.framework project for XCode at NEED URL for Thrift.framework XCode project, this project is based on the 0.2.0 sources but slightly modified to allow for building as a framework. + 2. Download the Thrift.framework project for XCode [[attachment:ThriftFramework.zip]] 3. Open the Xcode project file and compile. == Creating the Thrift file == @@ -245, +245 @@ * The last thing you need to do is add the Thrift framework to your project. Right click on the Frameworks->Linked Frameworks group and add existing frameworks. Select 'add other' and locate the compiled Thrift.framework on disk (this is under the build directory of the project you downloaded and compiled earlier). * Under target right click and Add New Build Phase->New copy file build phase. Change the destination to Frameworks and press CTRL+click and drag the Thrift.framework object to the copy files build phase. Make sure that the Thrift.framework object is copied out of the previous area ... not moved. - * At this point you should be able to compile the code and run it. If + * At this point you should be able to compile the code and run it. + You can download the Xcode project for this step: [[attachment:ThriftObjectiveCClient.zip]] +
