We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我是把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:
找到问题了,要选到pbxproj这个schem,archive一下,然后选build Products,导出可执行文件pbxproj,再把pbxproj拷贝到/usr/local/bin/
Sorry, something went wrong.
嗯,我的 release 构建产物也上传了 pbxproj 二进制文件 @heeween
好的,感谢
No branches or pull requests
我是把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: