Xcode 6 beta 3: invalid virtual filesystem overlay file

前端 未结 9 1134
北荒
北荒 2020-12-05 02:30

After updating to Xcode 6 beta 3 the compiler keeps crashing with the following error:

/[Long-path-goes-here]/all-product-headers.yaml:4:13: error: Could not         


        
9条回答
  •  温柔的废话
    2020-12-05 03:26

    I get this error too frequently, so I've made a simple bash script based on Daniel Schlaug's answer. I've never needed to lock the file. Just copy the file referenced in your error log and use it as the only parameter. Don't forget to chmod +ux before running.

    #!/bin/bash
    
    if [ "$#" -eq "0" ]
    then
       echo "No arguments supplied"
       exit
    fi
    
    rm -rf $1
    echo "
    {
      'version': 0,
       'case-sensitive': 'false',
       'roots': []
     }" > $1
    

提交回复
热议问题