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

johnHolmes francesco.colombo at gmail.com
Wed Dec 21 12:03:04 EST 2011


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

I'm trying to use the same approach but i get this error (on the simulator)

System.DllNotFoundException

/usr/lib/system/libsystem_kernel.dylib

  at (wrapper managed-to-native) MonoTouch.Foundation.NSFileManager:setxattr
(string,string,intptr,int,int,int)
  at MonoTouch.Foundation.NSFileManager.SetSkipBackupAttribute
(System.String filename, Boolean skipBackup) [0x0001c] in
/Developer/MonoTouch/Source/monotouch/src/Foundation/NSFileManager.cs:28 
  at AdMaiora.Iusuite.FileHelper.MarkFileForNoBackup (System.String path)
[0x00000] in
/Users/francesco/Develop/MonoDevelop/AdMaiora/Applications/src/AdMaiora.Iusuite/Iusuite.Core/Common/FileHelper.cs:24 
  at AdMaiora.Iusuite.AppController.Initialize () [0x00020] in
/Users/francesco/Develop/MonoDevelop/AdMaiora/Applications/src/AdMaiora.Iusuite/Iusuite.Core/AppController.cs:211 
  at AdMaiora.Iusuite.AppDelegate.InitializeApplication (System.Object
state) [0x00000] in
/Users/francesco/Develop/MonoDevelop/AdMaiora/Applications/src/AdMaiora.Iusuite/Iusuite.App.Apple/Iusuite.Application/AppDelegate.cs:196

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


More information about the MonoTouch mailing list