跑完后...
go run main.go
Run Code Online (Sandbox Code Playgroud)
我收到这个错误
go : The term 'go' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify
that the path is correct and try again.
Run Code Online (Sandbox Code Playgroud) 打开xcode
文件>新建>项目>可可应用
文件>新建>目标>野生动物园扩展名
编译并运行扩展
选择野生动物园。
xcode编译没有错误。
Safari打开几秒钟,然后崩溃。
这是调试窗口的输出。
2018-10-10 15:27:18.039905-0700 Safari [1020:16719] [SQLiteStore]无法在/ Users // Library / Safari / Favicon Cache / favicons.db-lock中获取数据库存储协调锁:[35:资源暂时不可用] 2018-10-10 15:27:18.040155-0700 Safari [1020:16719] [SQLiteStore]无法在文件:/// Users // Library / Safari / Favicon%20Cache / favicons上获得对数据库的独占访问。 D b。2018-10-10 15:27:18.041141-0700 Safari [1020:16719] [SQLiteStore]无法在/ Users // Library / Safari / Favicon Cache / favicons.db-lock中获取数据库存储协调锁:[35:资源暂时不可用] 2018-10-10 15:27:18.041226-0700 Safari [1020:16719] [SQLiteStore]无法在文件:/// Users // Library / Safari / Favicon%20Cache / favicons上获得对数据库的独占访问。 D b。2018-10-10 15:27:18.041331-0700 Safari [1020:16719] [SQLiteStore]退回到内存存储中2018-10-10 15:27:18.042877-0700 Safari [1020:16719] [FaviconPersistence]对数据库/ Users // Library …