Skip to content

Instantly share code, notes, and snippets.

View ndagrawal's full-sized avatar
🎯
Focusing

Nilesh Agrawal ndagrawal

🎯
Focusing
View GitHub Profile
require 'xcodeproj'
project_path = "your_project_path";
# Create project object
project = Xcodeproj::Project.new(project_path);
lib_path = "your_lib_path";
# Add the lib file as a reference
libRef = project.new_file(lib_path, "Frameworks");