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:
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", i.e. the target that contains the script with the:
lipo -create -output ...
you need to run the xcodebuild
command with -UseModernBuildSystem=NO
For example:
xcodebuild -target OBFramework -UseModernBuildSystem=NO
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With