open xcode
file > new >project > Cocoa app
file > new > target > safari extension
compile and run extension
select safari.
xcode compiles with no errors.
Safari opens for a few seconds then crashes.
this is the output of the debug window.
2018-10-10 15:27:18.039905-0700 Safari[1020:16719] [SQLiteStore] Failed to acquire database store coordination lock at /Users//Library/Safari/Favicon Cache/favicons.db-lock: [35: Resource temporarily unavailable] 2018-10-10 15:27:18.040155-0700 Safari[1020:16719] [SQLiteStore] Failed to acquire exclusive access to database at file:///Users//Library/Safari/Favicon%20Cache/favicons.db. 2018-10-10 15:27:18.041141-0700 Safari[1020:16719] [SQLiteStore] Failed to acquire database store coordination lock at /Users//Library/Safari/Favicon Cache/favicons.db-lock: [35: Resource temporarily unavailable] 2018-10-10 15:27:18.041226-0700 Safari[1020:16719] [SQLiteStore] Failed to acquire exclusive access to database at file:///Users//Library/Safari/Favicon%20Cache/favicons.db. 2018-10-10 15:27:18.041331-0700 Safari[1020:16719] [SQLiteStore] Falling back to an in-memory store 2018-10-10 15:27:18.042877-0700 Safari[1020:16719] [FaviconPersistence] Using in-memory representation for database /Users//Library/Safari/Favicon Cache/favicons.db 2018-10-10 15:27:18.125466-0700 Safari[1020:16771] [SQLiteStore] Failed to acquire database store coordination lock at /Users//Library/Caches/com.apple.Safari/TabSnapshots/Metadata.db-lock: [35: Resource temporarily unavailable] 2018-10-10 15:27:18.125660-0700 Safari[1020:16771] [SQLiteStore] Failed to acquire exclusive access to database at file:///Users//Library/Caches/com.apple.Safari/TabSnapshots/Metadata.db. 2018-10-10 15:27:18.235987-0700 Safari[1020:16718] flock failed to lock maps file: errno = 35 2018-10-10 15:27:18.236343-0700 Safari[1020:16718] flock failed to lock maps file: errno = 35 2018-10-10 15:27:18.293614-0700 Safari[1020:16718] Failed to acquire exclusive access to AutoFill corrections SQLite store at AutoFillCorrections.db. Failed to acquire exclusive access to AutoFill corrections SQLite store at AutoFillCorrections.db. 2018-10-10 15:27:18.299481-0700 Safari[1020:16718] Failed to acquire exclusive access to AutoFill corrections SQLite store at CloudAutoFillCorrections.db. Failed to acquire exclusive access to AutoFill corrections SQLite store at CloudAutoFillCorrections.db. 2018-10-10 15:27:18.300530-0700 Safari[1020:16718] Failed to acquire exclusive access to AutoFill corrections SQLite store at AutoFillCorrections.db. Failed to acquire exclusive access to AutoFill corrections SQLite store at AutoFillCorrections.db. 2018-10-10 15:27:18.304153-0700 Safari[1020:16718] Failed to acquire exclusive access to AutoFill corrections SQLite store at CloudAutoFillCorrections.db. Failed to acquire exclusive access to AutoFill corrections SQLite store at CloudAutoFillCorrections.db. 2018-10-10 15:27:18.620185-0700 Safari[1020:16763] Failed to acquire exclusive access to AutoFill corrections SQLite store at AutoFillCorrections.db. Failed to acquire exclusive access to AutoFill corrections SQLite store at AutoFillCorrections.db. 2018-10-10 15:27:18.623032-0700 Safari[1020:16773] [CrowdsourcedAutoFill] Unable to read cloud AutoFill correction sets, error: Error Domain=NSCocoaErrorDomain Code=260 "The file couldn’t be opened because it doesn’t exist." 2018-10-10 15:27:18.629453-0700 Safari[1020:16763] Failed to acquire exclusive access to AutoFill corrections SQLite store at CloudAutoFillCorrections.db. Failed to acquire exclusive access to AutoFill corrections SQLite store at CloudAutoFillCorrections.db. 2018-10-10 15:27:18.675086-0700 Safari[1020:16765] [CloudBookmarks] Error fetching remote migration state: Error Domain=com.apple.SafariBookmarksSync.CloudBookmarksErrorDomain Code=0 "(null)" 2018-10-10 15:27:18.771588-0700 Safari[1020:16718] [RemotePlistController] The downloaded plist could not be loaded: Error Domain=NSCocoaErrorDomain Code=260 "The file couldn’t be opened because it doesn’t exist." 2018-10-10 15:27:19.161007-0700 Safari[1020:16773] Failed to acquire exclusive access to AutoFill corrections SQLite store at AutoFillCorrections.db. Failed to acquire exclusive access to AutoFill corrections SQLite store at AutoFillCorrections.db. 2018-10-10 15:27:19.167933-0700 Safari[1020:16773] Failed to acquire exclusive access to AutoFill corrections SQLite store at CloudAutoFillCorrections.db. Failed to acquire exclusive access to AutoFill corrections SQLite store at CloudAutoFillCorrections.db. 2018-10-10 15:27:19.279743-0700 Safari[1020:16763] [RemotePlistController] The downloaded plist could not be loaded: Error Domain=NSCocoaErrorDomain Code=260 "The file couldn’t be opened because it doesn’t exist." 2018-10-10 15:27:20.064438-0700 Safari[1020:16763] Failed to acquire exclusive access to AutoFill corrections SQLite store at AutoFillCorrections.db. Failed to acquire exclusive access to AutoFill corrections SQLite store at AutoFillCorrections.db. 2018-10-10 15:27:20.081337-0700 Safari[1020:16763] Failed to acquire exclusive access to AutoFill corrections SQLite store at CloudAutoFillCorrections.db. Failed to acquire exclusive access to AutoFill corrections SQLite store at CloudAutoFillCorrections.db. 2018-10-10 15:27:20.084003-0700 Safari[1020:16763] [CrowdsourcedAutoFill] Neither local nor cloud classification correction databases could be opened Program ended with exit code: 0
I've tried restarting my computer.
I've tried cleaning the project.
I've tried deleting meta data with
xatter -cr .
I've tried all three at once.