I am trying to build a Swift framework containing cocoapods, using the below universal framework script got from here: Swift universal framework depending on pod
The build fails when using Xcode 12 and UseModernBuildSystem=NO:
The Legacy Build System will be removed in a future release. You can configure the selected build system and this deprecation message in File > Workspace Settings.
Command PhaseScriptExecution failed with a nonzero exit code
error when using Xcode 12 and modern build system:
error: accessing build database
"/Users/user/Library/Developer/Xcode/DerivedData/SnapKit-gldcozqrglacwhcqsctatmsoiouc/Build/Intermediates.noindex/XCBuildData/build.db": disk I/O error
Does anyone know the right solution for this problem or a workaround?
The build fails when using Xcode 12 and UseModernBuildSystem=NO:
The Legacy Build System will be removed in a future release. You can configure the selected build system and this deprecation message in File > Workspace Settings.
Command PhaseScriptExecution failed with a nonzero exit code
error when using Xcode 12 and modern build system:
error: accessing build database
"/Users/user/Library/Developer/Xcode/DerivedData/SnapKit-gldcozqrglacwhcqsctatmsoiouc/Build/Intermediates.noindex/XCBuildData/build.db": disk I/O error
Does anyone know the right solution for this problem or a workaround?