I have a problem with IOS app which is developed using Xamarin Forms PCL . I'm running the app in IOS 9 simulator through MAC Agent which is connected to my Visual Studio (2015) in Windows 10 machine and Xcode 8.2.1 (BC1002) is installed in my MAC. When I run the app in simulator, it works just fine. I have tried installing the same on my Iphone5s and 4s, getting an error as 'Table column not found'. It's happening while creating SQLite table on IPhone device. But, my app is working very well in Android devices.
My code for DB creation as follows:
public static void InitializeDatabase(ISQLitePlatform sqlitePlatform)
var dbPath = FileSystem.Current.LocalStorage.CreateFileAsync("xyz.db", CreationCollisionOption.OpenIfExists).Result;
xyzDB = new SQLiteConnection(sqlitePlatform, dbPath.Path);
Table creation as follows:
private static bool CreateTableWithVersion(int VersionNo)
var retval = false;
if (GetTableVersionNumber(typeof(T).Name) != VersionNo)
retval = true;
I'm looking for some help as I'm very new to Xamarin with IOS.
Kindly help me with this issue.