This document contains a brief description of the Anki2 database structure as of version 11 (see ver field of the col table). There are planned upgrades to Anki’s db structure as explained in the planned changes document.
Anki uses a single SQLite database to store information on all of its decks, templates, fields and cards. This file can be found inside the Anki package file (the .apkg file) with the extension .anki2.
Extracting example.apkg we have the following structure.
. ├── example │ ├── example.anki2 │ └── media └── example.apkg
ld: <span class="token function">file</span> not found: ld: file not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a clang: error: linker command failed with exit code 1 (use -v to see invocation)
Cloning spec repo `cocoapods` from `https://github.com/CocoaPods/Specs.git` # 过了很久很久没反应 [!] Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named `cocoapods`. You can try adding it manually in `/Users/xxx/.cocoapods/repos` or via `pod repo add`.
解决方案1
cd ~/.cocoapods/repos/ 检查一下 master 文件夹是否存在,如果存在 master 文件夹,执行 pod repo remove master。不存在则跳过这一条命令。