Cannot load module 'xcodeproj' as 'XcodeProj'
fenglh opened this issue · comments
ITX commented
hi !
Context 🕵️♀️
import Foundation
import PathKit
import XcodeProj
class XcodeprojManager:NSObject {
//
func test(){
let path = Path("/path/to/my/Project.xcodeproj") // Your project path
let xcodeproj = XcodeProj(path: path)
NSLog("111");
}
}
then, i get the error "Cannot load module 'xcodeproj' as 'XcodeProj'"
in the podfile :
pod 'xcodeproj', '~> 7.9.0' ##Read/Modify/Write your Xcode projects