它是一个仅限框架项目(SWIFT),它构建一个库(.framework模块),与项目链接以及单元测试,最终会出现以下错误.
** BUILD SUCCEEDED ** xcodebuild: error: Failed to build project HelloWorld with scheme HelloWorld. Reason: A build only device cannot be used to run this target. The command "xcodebuild clean build test -project HelloWorld.xcodeproj -scheme HelloWorld CODE_SIGN_IDENTITY="" CODE_SIGNING_required=NO" exited with 70.
language: objective-c branches: only: - master xcode_project: HelloWorld.xcodeproj xcode_scheme: HelloWorld osx_image: xcode7.2 script: - xcodebuild clean build test -project HelloWorld.xcodeproj -scheme HelloWorld CODE_SIGN_IDENTITY="" CODE_SIGNING_required=NO
解决方法
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。