I am using https://github.com/tuist/XcodeProj in an attempt to add a file to a specific target. Basically I’d like to do the following thing done via ruby mirror using Swift: require 'xcodeproj' source_root = '/path/to/xcodeproj' project = Xcodeproj::Project.open(source_root) group = project.main_group['TestProject']['TestGroup'] file = group.new_file('TestFile.swift') target = ...
Home/xcode