Mac OSX and AppStore

Mac OSX and AppStore

Postby arnof » Tue 12 Aug 2014 09:09

Hi,

if i create a Sandbox App for AppStore (Mac OSX), i can't create a Database from a script.

If i switsh to Normal Konfiguration i can create the database.

Databasepath ist the app path, here i have read/write rights.

if i publish a emty database with the App it all works.

Write your drive a log or any other things in other dirs ? In a sandbox app a app can't write in other dirs!
arnof
 
Posts: 8
Joined: Mon 11 Aug 2014 09:43

Re: Mac OSX and AppStore

Postby ZEuS » Thu 14 Aug 2014 11:53

No, our components do not write logs or any other things in other directories. The problem is due to the pecularities of the "sandboxing" process. As it is written in the official Apple documentation ( https://developer.apple.com/library/mac/documentation/security/conceptual/AppSandboxDesignGuide/AppSandboxInDepth/AppSandboxInDepth.html ) you need to register the file types that your application can create or open (meaning the database or log file, etc.) in the special "XX.info.plist" file.
The "XX.info.plist" file is automatically created by the IDE. When you deploy an empty database with the application, the database file is automatically becomes registered in the "XX.info.plist" file. So, it is the best solution in this case, because the "XX.info.plist" file is recreated every time you build the project.
ZEuS
Devart Team
 
Posts: 235
Joined: Thu 05 Apr 2012 07:32

Re: Mac OSX and AppStore

Postby arnof » Mon 18 Aug 2014 21:50

now is my app ready for appstore ....

i wont upload the app in the appstore and apple write:

Invalid Signature - the executable at path Blabla.app/Contents/MacOS/libdbexpsqlite40.dylib is not signed. Refer to the Code Signing and Application Sandboxing Guide for more information.

And now ? Xe6 SP1 with Mac OS 10.8.5 ...
arnof
 
Posts: 8
Joined: Mon 11 Aug 2014 09:43


Return to dbExpress driver for SQLite