Closed yuhe1989 closed 4 years ago
Thanks for reaching out. However the information provided is not enough to do any debugging. I recommend the following steps to be able to look further: 1. Please change the title to reflect what is the issue itself.
this is my code: from pbxproj import XcodeProject
project path
projectPath = '/Users/ameng/Desktop/packagetest/file/PackageTest/PackageTest.xcodeproj/project.pbxproj'
open prohect
project = XcodeProject.load(projectPath)
add file
project.add_folder("/Users/ameng/Desktop/packagetest/file/test")
project.add_file("")
save
project.save(projectPath)
The 'test' file was added into the project, but when I build the project occurred an error:【 library not found for -lCTMediator】.And I am sure this error occurred after used XcodeProject, I have tried many times, got the same error . The 'CTMediator' is managed with Pod.