I put another project inside my main project, this one called OAuthSwift and it contained a framework. When I tried to build it, I got this error:
<unknown>:0: error: invalid virtual filesystem overlay file '/Users/gabrieljones/Library/Developer/Xcode/DerivedData/Paul's_Console-bbbxnfmomaaurfeabxmnchoqmwpa/Build/Intermediates/OAuthSwift.build/Debug/OAuthSwiftOSX.build/unextended-module-overlay.yaml'
<unknown>:0: error: clang importer creation failed
After some research, I tried everything all the people said - I opened the file called all-product-headers.yaml
and I expected it to contain this (what the website said):
{
'version': 0,
'case-sensitive': 'false',
'roots': [
but instead it contained this:
{
'version': 0,
'case-sensitive': 'false',
'roots': [
{
'type': 'directory',
'name': "/Users/gabrieljones/Library/Developer/Xcode/DerivedData/Paul's_Console-bbbxnfmomaaurfeabxmnchoqmwpa/Build/Products/Debug/OAuthSwiftOSX.framework/Headers",
'contents': [
{
'type': 'file',
'name': "OAuthSwiftOSX-Swift.h",
'external-contents': "/Users/gabrieljones/Library/Developer/Xcode/DerivedData/Paul's_Console-bbbxnfmomaaurfeabxmnchoqmwpa/Build/Products/Debug/OAuthSwiftOSX.framework/Versions/A/Headers/OAuthSwiftOSX-Swift.h"
},
{
'type': 'file',
'name': "OAuthSwiftOSX.h",
'external-contents': "/Users/gabrieljones/Desktop/Coding/Xcode/Paul's Console/OAuthSwift-master-11/OAuthSwiftOSX/OAuthSwiftOSX.h"
}
]
},
{
'type': 'directory',
'name': "/Users/gabrieljones/Library/Developer/Xcode/DerivedData/Paul's_Console-bbbxnfmomaaurfeabxmnchoqmwpa/Build/Products/Debug/OAuthSwiftOSX.framework/Modules",
'contents': [
{
'type': 'file',
'name': "module.modulemap",
'external-contents': "/Users/gabrieljones/Library/Developer/Xcode/DerivedData/Paul's_Console-bbbxnfmomaaurfeabxmnchoqmwpa/Build/Intermediates/OAuthSwift.build/Debug/OAuthSwiftOSX.build/module.modulemap"
}
]
}
]
}
Yes, I changed it to the version I was supposed to like this:
{
'version': 0,
'case-sensitive': 'false',
'roots': []
}
And then I locked it, but I got the unable to write to file error as WELL as the invalid virtual filesystem overlay file error. Can anyone help?