I need add header and library into project file from command line. (need change project file)

I've looked project.pbxproj it looks not friendly :)

Is there a way to add files to xcodeproj correctly? Of course it will be running only in MACOS.

Edit
Report