No commit activity in last 3 years
No release in over 3 years
Provides a Rake task for generating an Xcode project for C extension development.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7

Runtime

~> 1.4
 Project Readme

Gem Version Dependency Status Build Status Coverage Status Code Climate

Rubygems::XcodeprojGenerator

Provides a Rake task for generating an Xcode project for C extension development.

Within the generated Xcode project:

  • Code completion is enabled, including Ruby internal functions and macros.
  • You can build the extension by running ⌘B, though this is just for checking while development and not for production release.

Basic Usage

Add the following development dependencies to your extension's Gemfile or gemspec:

gem 'rake-compiler'
gem 'rubygems-xcodeproj_generator'

And execute:

$ bundle install

Then add the following code to your Rakefile:

require 'rake/extensiontask'
require 'rubygems/xcodeproj_generator/rake_task'

Rake::ExtensionTask.new('your-gem-name')

Rubygems::XcodeprojGenerator::RakeTask.new do |project|
  project.name = 'your-xcode-project-name'
  project.build_command = 'bundle exec rake compile'
end

And run:

$ bundle exec rake generate_xcode_project

License

Copyright (c) 2015 Yuji Nakayama

See the LICENSE.txt for details.