[英]Xcode 10 beta 6 error: accessing build database
Hello I have a script to create a universal framework on Xcode 10. When I run it from Xcode everything works fine but if I tried from command line tool I receive the following error: 您好我有一个脚本在Xcode 10上创建一个通用框架。当我从Xcode运行它一切正常但如果我尝试从命令行工具我收到以下错误:
Build system information
error: error: accessing build database "/path/build.db": disk I/O error
Does anybody face a similar issue? 有人面临类似的问题吗?
I finally found the solution for this one :) 我终于找到了这个解决方案:)
When you build the "Aggregated Target" , ie the target that contains the script with the: 当您构建“聚合目标”时 ,即包含脚本的目标:
lipo -create -output ...
you need to run the xcodebuild
command with -UseModernBuildSystem=NO
你需要使用
-UseModernBuildSystem=NO
运行xcodebuild
命令
For example: 例如:
xcodebuild -target OBFramework -UseModernBuildSystem=NO
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.