I have solved my problem. Since i using the xcproj to create the package, need to comment this command "rosbuild_add_xcproj(Timer)" located in the cmake.txt. With thanks, Zhiping