Skip to content

sidbhatt11/Rust_Xcode_Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Running Rust/Cargo Project on Xcode on Mac OS X

This is an Xcode 'external build system' configured to build and run a Rust/cargo project for demo purpose.

How to do this

  • Initialize and setup git ( or your favourite VCS ) in your project directory
  • Create a new cargo project ( e.g. cargo new project_name --bin )
  • Xcode > New > Project > Other > External Build System
  • Configure 'External Build Tool Configuration' for 'cargo build' ( Check this project's configuration for reference )
  • Edit Current Scheme > Build > Post Build Action and configure it for 'cargo run' ( Check this project's configuration for reference )
  • Any Other settings that you would like to configure ..
  • Done !

This project was created using Xcode 7.3.1 on Mac OS 10.11.5

But Why ?

Because you can. ( and because some people love Xcode )

Contact

I doubt whether anyone will need support for this but here is my mail anyway : sidbhatt11 [at] yahoo [dot] in

Any feedback is welcome !

About

Rust/Cargo Xcode project template

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages