2 Replies
      Latest reply: Sep 8, 2016 3:58 PM by Shagpile RSS
      Shagpile Level 1 Level 1 (0 points)

        Hi - I can't seem to find anywhere to see what features the iOS sqlite3 dylib has enabled.

         

        I'm after RTREE and FTS3 / FTS4

         

        Do I need to include my own sqlite3.c amalgamation file with these enabled, or can I link to the system dylib and expect these things to work?

        • Re: Sqlite3 dylib RTREE and FTS
          eskimo Apple Staff Apple Staff (6,075 points)

          I can't seem to find anywhere to see what features the iOS sqlite3 dylib has enabled.

          What does sqlite3_compileoption_used report?

          Share and Enjoy

          Quinn “The Eskimo!”
          Apple Developer Relations, Developer Technical Support, Core OS/Hardware
          let myEmail = "eskimo" + "1" + "@apple.com"

            • Re: Sqlite3 dylib RTREE and FTS
              Shagpile Level 1 Level 1 (0 points)

              Thanks

               

                  int x = sqlite3_compileoption_used("SQLITE_ENABLE_RTREE");
                  int y = sqlite3_compileoption_used("SQLITE_ENABLE_FTS3");
              

              x=1 and y=1, so it looks like they are included. That's XCode8, iOS10.