2

I have a Buildscript integrated in my build settings. With Xcode 9 it was running smoothly. But since XCode 10 its not running anymore and gives me the following error:

error: unable to attach DB: error: accessing build database ".../build/XCBuildData/build.db": database is locked Possibly there are two concurrent builds running in the same filesystem location.

I already tried the solution which I found here:

Xcode 10: unable to attach DB error

But this didnt help me. Still having the issue...

UPDATE: If I switch to "Legacy Build Settings" I get this error:

Prepare build

note: Using legacy build system

Build Preparation
Couldn't update module cache session file'/var/folders/xh/zc0g0hp13j982ws3qhlr09nm0000gn/C/com.apple.DeveloperTools/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/10.0-10A255/Xcode/ModuleCache.noindex/Session.modulevalidation': The item couldn’t be saved because the file name “Session.modulevalidation” is invalid.

** BUILD FAILED **

Command /bin/sh failed with exit code 65
davidOhara
  • 1,008
  • 5
  • 17
  • 39

0 Answers0