Can not access interface from my portable project to my iOS project. Simple SQLite example

KevinGuevaraKevinGuevara USUniversity ✭✭

I am following this tutorial and I am stuck on Step 4: Add the iOS Implementation.
the code

I cannot extend to ISQLite ": ISQLite"
Prior to step 4, I have placed all of sqlite based files in the portable project and am placing the SQLite_iOS file under the iOS project.

I am using the Xamarin Forms portable app and am using the right packages. I am not sure what I am missing.

Best Answer


  • officialkrystinofficialkrystin USXamarin Team, Insider Xamurai

    Have you added the SQLite.Net PCL as well as the SQLite.NET PCL - XamarinIOS Platform to your iOS project? Can you share the code in your iOS project where you are trying to implement this interface?

  • AlessandroCaliaroAlessandroCaliaro ITMember ✭✭✭✭✭

    Exist also a plugin for SQLite. Try to google 'Xamarin plugin sqlite'

  • KevinGuevaraKevinGuevara USUniversity ✭✭

    Under my portable solution, I have

  • KevinGuevaraKevinGuevara USUniversity ✭✭

    My interface is under the portable solution and my SQLite_iOS is under my iOS solution.

  • AlessandroCaliaroAlessandroCaliaro ITMember ✭✭✭✭✭

    @KevinGuevara if you use Sqlite PCL you have to use it in your PCL solution, not in iOS or Android.
    It's a PCL implementation of SQLite

  • KevinGuevaraKevinGuevara USUniversity ✭✭

    @AlessandroCaliaro The project places the SQLite_Platform.cs files in their platform specific project.

Sign In or Register to comment.