Compiling custom SQLite for an iPhone app

前端 未结 3 739
梦毁少年i
梦毁少年i 2020-12-09 05:35

I\'m trying to compile the SQLite amalgamation source into my iPhone app (to give me access to the full-text searching functionality that isn\'t available in the iPhone-comp

3条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-09 06:14

    Try it with this steps:

    1. xcode menu -> project -> new target -> static library -> target name: SQLite
    2. drop SQLite amalgamation source into the project, now you can select the target, choose SQLite
    3. xcode menu -> project -> edit active target -> tab General -> Direct Dependencies -> add SQLite
    4. tab General -> Linked Libraries -> add your SQLite

提交回复
热议问题