- 错误 | [iOS] xcodebuild:返回不成功的退出代码

问题描述

我正在为测试框架创建自定义 pod,但遇到以下问题:

-> iOSTestFramework (1.0.0)
    - ERROR | [iOS] xcodebuild: Returned an unsuccessful exit code. You can use `--verbose` for more information.
    - NOTE  | xcodebuild:  note: Using new build system
    - NOTE  | xcodebuild:  note: Building targets in parallel
    - NOTE  | [iOS] xcodebuild:  note: Planning build
    - NOTE  | [iOS] xcodebuild:  note: Constructing build description
    - NOTE  | [iOS] xcodebuild:  error: Multiple commands produce '/Users/b0221904/Library/Developer/Xcode/DerivedData/App-dklpfotyegzketercuvcmoqpksqb/Build/Products/Release-iphonesimulator/iOSTestFramework/iOSTestFramework.framework/Info.plist':
    - NOTE  | [iOS] xcodebuild:  warning: Skipping code signing because the target does not have an Info.plist file and one is not being generated automatically. (in target 'App' from project 'App')
    - NOTE  | [iOS] xcodebuild:  warning: no rule to process file 'iOSTestFramework/iOSTestFramework/iOSTestFramework.xcodeproj/project.xcworkspace/contents.xcworkspacedata' of type 'text.xml' for architecture 'x86_64' (in target 'iOSTestFramework' from project 'Pods')
    - NOTE  | [iOS] xcodebuild:  warning: no rule to process file 'iOSTestFramework/iOSTestFramework/iOSTestFramework/Properties/environment.json' of type 'text.json' for architecture 'x86_64' (in target 'iOSTestFramework' from project 'Pods')
    - NOTE  | [iOS] xcodebuild:  warning: no rule to process file 'iOSTestFramework/iOSTestFramework/iOSTestFramework.xcodeproj/project.pbxproj' of type 'text.pbxproject' for architecture 'x86_64' (in target 'iOSTestFramework' from project 'Pods')
    - NOTE  | [iOS] xcodebuild:  warning: no rule to process file 'iOSTestFramework/iOSTestFramework/iOSTestFramework/Data/test_data.json' of type 'text.json' for architecture 'x86_64' (in target 'iOSTestFramework' from project 'Pods')
    - NOTE  | [iOS] xcodebuild:  warning: no rule to process file 'iOSTestFramework/iOSTestFramework/iOSTestFramework/Data/users.json' of type 'text.json' for architecture 'x86_64' (in target 'iOSTestFramework' from project 'Pods')
    - NOTE  | [iOS] xcodebuild:  warning: duplicate output file '/Users/b0221904/Library/Developer/Xcode/DerivedData/App-dklpfotyegzketercuvcmoqpksqb/Build/Products/Release-iphonesimulator/iOSTestFramework/iOSTestFramework.framework/Info.plist' on task: ProcessInfoPlistFile /Users/b0221904/Library/Developer/Xcode/DerivedData/App-dklpfotyegzketercuvcmoqpksqb/Build/Products/Release-iphonesimulator/iOSTestFramework/iOSTestFramework.framework/Info.plist Target Support Files/iOSTestFramework/iOSTestFramework-Info.plist (in target 'iOSTestFramework' from project 'Pods')

Analyzed 1 podspec.

[!] The spec did not pass validation,due to 1 error.

我尝试了各种方法解决它,但问题仍未解决。有人可以帮我吗?

Please refer to this screenshot

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...