-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请问命令行是怎么用的呢? #16
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我是把pbxproj文件夹拷到了usr/bin/目录下 并且修改了权限
然后运行/usr/local/bin/pbxproj/main.swift caocaoSwift.xcodeproj/project.pbxproj -apply /Users/heew/Desktop/xprojhelp/JsonConfiguration.json
报错如下
/usr/local/bin/pbxproj/main.swift:38:13: error: cannot find 'PropertyListHandler' in scope
PropertyListHandler.generateJSON(filePath: output, withModifiedProject: URL(fileURLWithPath: modifiedFile), originalProject: URL(fileURLWithPath: originalFile))
^~~~~~~~~~~~~~~~~~~
/usr/local/bin/pbxproj/main.swift:47:33: error: cannot find 'PropertyListHandler' in scope
if let jsonObject = PropertyListHandler.parseJSON(fileURL: URL(fileURLWithPath: jsonFile)) as? [String: Any],
^~~~~~~~~~~~~~~~~~~
/usr/local/bin/pbxproj/main.swift:48:37: error: cannot find 'PropertyListHandler' in scope
let projectObject = PropertyListHandler.parseProject(fileURL: URL(fileURLWithPath: projectFile)) {
^~~~~~~~~~~~~~~~~~~
/usr/local/bin/pbxproj/main.swift:49:44: error: cannot find 'PropertyListHandler' in scope
let appliedProjectObject = PropertyListHandler.apply(json: jsonObject, onProjectData: projectObject)
^~~~~~~~~~~~~~~~~~~
/usr/local/bin/pbxproj/main.swift:50:17: error: cannot find 'PropertyListHandler' in scope
PropertyListHandler.generateProject(fileURL: URL(fileURLWithPath: projectFile), withPropertyList: appliedProjectObject)
^~~~~~~~~~~~~~~~~~~
/usr/local/bin/pbxproj/main.swift:60:33: error: cannot find 'PropertyListHandler' in scope
if let jsonObject = PropertyListHandler.parseJSON(fileURL: URL(fileURLWithPath: jsonFile)) as? [String: Any],
^~~~~~~~~~~~~~~~~~~
/usr/local/bin/pbxproj/main.swift:61:37: error: cannot find 'PropertyListHandler' in scope
let projectObject = PropertyListHandler.parseProject(fileURL: URL(fileURLWithPath: projectFile)) {
^~~~~~~~~~~~~~~~~~~
/usr/local/bin/pbxproj/main.swift:62:44: error: cannot find 'PropertyListHandler' in scope
let appliedProjectObject = PropertyListHandler.apply(json: jsonObject, onProjectData: projectObject, forward: false)
^~~~~~~~~~~~~~~~~~~
/usr/local/bin/pbxproj/main.swift:63:17: error: cannot find 'PropertyListHandler' in scope
PropertyListHandler.generateProject(fileURL: URL(fileURLWithPath: projectFile), withPropertyList: appliedProjectObject)
^~~~~~~~~~~~~~~~~~~
/usr/local/bin/pbxproj/main.swift:72:16: error: cannot find 'PropertyListHandler' in scope
if PropertyListHandler.recoverProject(fileURL: URL(fileURLWithPath: projectFile)) {
^~~~~~~~~~~~~~~~~~~
/usr/local/bin/pbxproj/main.swift:82:36: error: cannot find 'PropertyListHandler' in scope
if let projectObject = PropertyListHandler.parseProject(fileURL: URL(fileURLWithPath: projectFile)) {
^~~~~~~~~~~~~~~~~~~
/usr/local/bin/pbxproj/main.swift:83:17: error: cannot find 'PropertyListHandler' in scope
PropertyListHandler.generateProject(fileURL: URL(fileURLWithPath: projectFile), withPropertyList: projectObject)
^~~~~~~~~~~~~~~~~~~
/usr/local/bin/pbxproj/main.swift:89:36: error: cannot find 'PropertyListHandler' in scope
if let projectObject = PropertyListHandler.parseProject(fileURL: URL(fileURLWithPath: projectFile)) {
^~~~~~~~~~~~~~~~~~~
/usr/local/bin/pbxproj/main.swift:90:17: error: cannot find 'PropertyListHandler' in scope
PropertyListHandler.generateProject(fileURL: URL(fileURLWithPath: projectFile), withPropertyList: projectObject)
^~~~~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered: