title: Xcode 11 GM - error: accessing build database - disk I/O error
body: <p>Encountering following error when only building a "Universal Binary Framework" for release distribution. Same project and settings works when building "Non-Universal" scheme in debug or release mode. </p>
  
  <p>Project uses Objective-C &amp; Xcode 11 GM (11A419c). Now, updating to Xcode 11 GM Seed 2 (11A420a).</p>
  
  <blockquote>
    <p>error: accessing build database "/Users/john.doe/Library/Developer/Xcode/DerivedData/FrameworkSDK-esxhqchxkdevuiapyebthsdscpje/Build/Intermediates.noindex/XCBuildData/build.db": disk I/O error</p>
  </blockquote>
  
  <p>Using following <code>build command</code> from a script: </p>
  
  <pre><code>xcodebuild -workspace ${PROJECT_NAME}.xcworkspace -scheme ${PROJECT_NAME} -sdk iphonesimulator -configuration ${CONFIGURATION} only_active_arch=no defines_module=yes clean build CONFIGURATION_BUILD_DIR=${BUILD_DIR}/${CONFIGURATION}-iphonesimulator 2&gt;&amp;1
  </code></pre>
  
  <p>Tried a few steps: Complete clean, pod update and steps mentioned on <a href="https://stackoverflow.com/questions/51153525/xcode-10-unable-to-attach-db-error/51167649">Related error for Xcode 10</a> &amp; <a href="https://github.com/mattgallagher/CwlSignal/issues/24#issuecomment-396931001" rel="noreferrer">linked post</a> - Doesn't solve this issue</p>
  
  <p>No Answer on this question:<br>
  <a href="https://stackoverflow.com/questions/57000053/why-error-accessing-build-database-disk-i-o-error">why error &quot;accessing build database disk I/O error&quot;?</a></p>