[MonoTouch] Two problem publish app in AppStore with sqlite database

fsantanac fsantanac at gmail.com
Wed Dec 21 10:24:39 EST 2011


Thanks Nic. For all who need it, i belive that is the solution for QA1719
Apple document.

1. Store the bd in Caches
	string baseDir = Directory.GetParent(Environment.GetFolderPath(
				Environment.SpecialFolder.Personal)).ToString();
	         
	string cacheDir = Path.Combine(baseDir, "Library/Caches/");
	string dbFile = cacheDir + "dbname.db3";

2. Mark the db or file as "do not backup"
NSFileManager.SetSkipBackupAttribute(dbFile,true);

Now publish, and tell them

Thanks

--
View this message in context: http://monotouch.2284126.n4.nabble.com/Two-problem-publish-app-in-AppStore-with-sqlite-database-tp4215141p4222063.html
Sent from the MonoTouch mailing list archive at Nabble.com.


More information about the MonoTouch mailing list