ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The problem of integrating XCode and ROS is solved, however another problem appeared which is related to running the built code.

Do not use roscreate-pkg is deprecated instead create a project with

catkin_create_pkg <package_name> [depend1] [depend2] [depend3]

This method works if you already have package that you want to develop in XCode. To integrate XCode and ROS firstly generate Makefile for your package

catkin_make --force-cmake -G"Unix Makefiles"

then follow this procedure

https://developer.apple.com/library/mac/#documentation/Porting/Conceptual/PortingUnix/preparing/preparing.html

The problem of integrating XCode and ROS is solved, however another problem appeared which is related to running the built code.

Do not use roscreate-pkg is deprecated instead create a project with

catkin_create_pkg <package_name> [depend1] [depend2] [depend3]

This method works if you already have package that you want to develop in XCode. To integrate XCode and ROS firstly generate Makefile for your package

catkin_make --force-cmake -G"Unix Makefiles"

then follow this procedure

https://developer.apple.com/library/mac/#documentation/Porting/Conceptual/PortingUnix/preparing/preparing.html

finally,

In menu Product -> Scheme -> Edit Scheme select Run tab and specify path to your binary file

The problem of integrating XCode and ROS is solved, however another problem appeared which is related to running the built code.

Do not use roscreate-pkg is deprecated instead create a project with

catkin_create_pkg <package_name> [depend1] [depend2] [depend3]

This method works if you already have package that you want to develop in XCode. To integrate XCode and ROS firstly generate Makefile for your package

catkin_make --force-cmake -G"Unix Makefiles"

then follow this procedure

https://developer.apple.com/library/mac/#documentation/Porting/Conceptual/PortingUnix/preparing/preparing.html

finally,

In menu Product -> Scheme -> Edit Scheme 
select Run tab and specify path to your binary file 

file

The problem of integrating XCode and ROS is solved, however another problem appeared which is related to running when I run the built code.code I get asserts.

Do not use roscreate-pkg is deprecated instead create a project with

catkin_create_pkg <package_name> [depend1] [depend2] [depend3]

This method works if you already have package that you want to develop in XCode. To integrate XCode and ROS firstly generate Makefile for your package

catkin_make --force-cmake -G"Unix Makefiles"

then follow this procedure

https://developer.apple.com/library/mac/#documentation/Porting/Conceptual/PortingUnix/preparing/preparing.html

finally,

In menu Product -> Scheme -> Edit Scheme 
select Run tab and specify path to your binary file

The problem of integrating XCode and ROS is solved, however when I run the code I get asserts.

roscreate-pkg is deprecated instead create a project with

catkin_create_pkg <package_name> [depend1] [depend2] [depend3]

This method works if you already have package that you want to develop in XCode. To integrate XCode and ROS firstly generate Makefile for your package

catkin_make --force-cmake -G"Unix Makefiles"

then follow this procedure

https://developer.apple.com/library/mac/#documentation/Porting/Conceptual/PortingUnix/preparing/preparing.html

finally,

In menu Product -> Scheme -> Edit Scheme 
select Run tab and specify path to your binary file

  • Update An easier solution would be to generate Xcode project directly by catkin_make -G"Xcode"

then open Xcode from console by open /Applications/Xcode.app your_project.xcodeproj

finally, In menu Product -> Scheme -> Edit Scheme select Run on the left, then select Info Tab at the top, and choose a binary fine in Executable.

The problem of integrating XCode and ROS is solved, however when I run the code I get asserts.

roscreate-pkg is deprecated instead create a project with

catkin_create_pkg <package_name> [depend1] [depend2] [depend3]

This method works if you already have package that you want to develop in XCode. To integrate XCode and ROS firstly generate Makefile for your package

catkin_make --force-cmake -G"Unix Makefiles"

then follow this procedure

https://developer.apple.com/library/mac/#documentation/Porting/Conceptual/PortingUnix/preparing/preparing.html

finally,

In menu Product -> Scheme -> Edit Scheme 
select Run tab and specify path to your binary file

  • Update

    UPDATE

    An easier solution would be to

    generate Xcode project directly by  catkin_make -G"Xcode"

`catkin_make -G"Xcode"` then open Xcode from console by open by `open /Applications/Xcode.app your_project.xcodeproj

your_project.xcodeproj` finally, In menu Product -> Scheme -> Edit Scheme select Run on the left, then select Info Tab at the top, and choose a binary fine in Executable.

Executable.

The problem of integrating XCode and ROS is solved, however when I run the code I get asserts.

roscreate-pkg is deprecated instead create a project with

catkin_create_pkg <package_name> [depend1] [depend2] [depend3]

This method works if you already have package that you want to develop in XCode. To integrate XCode and ROS firstly generate Makefile for your package

catkin_make --force-cmake -G"Unix Makefiles"

then follow this procedure

https://developer.apple.com/library/mac/#documentation/Porting/Conceptual/PortingUnix/preparing/preparing.htmlPorting Unix to Mac

finally,

In menu Product -> Scheme -> Edit Scheme 
select Run tab and specify path to your binary file

UPDATE

An easier solution would be

generate Xcode project directly by `catkin_make -G"Xcode"`

then open Xcode from console by `open /Applications/Xcode.app your_project.xcodeproj`  

finally,   In menu Product -> Scheme -> Edit Scheme 
    select Run on the left, then select Info Tab at the top, and choose a binary fine in Executable.