Notice

The forum is in read only mode.

  • Page:
  • 1

TOPIC: Deployment

Deployment 8 years 16 hours ago #2188

Hi,

David I says this in his blog:

7) Using the Project | Deployment menu item, I chose the Android and the iOS Device platforms and for each one I clicked on the "Add Files" button in the local toolbar to select the bitmap file I want to deploy with my app and set the Remote Path column value:

For Android, set the Remote Path to assets\internal
For iOS, set the Remote Path to StartUp\Documents


So what do I put when I am deploying to OSX?

Gary
Delphi XE8 Enterprise, Firemonkey Multi Platform, OSX

Deployment 7 years 11 months ago #2406

Hi Gary,

On Mac OS X, the path is Contents\MacOS\ for read only files.

You might also want to have a look at these links:

docwiki.embarcadero.com/RADStudio/XE8/en...lication_Development
docwiki.embarcadero.com/RADStudio/XE8/en...ted_Target_Platforms

Regards,
Sarina

Deployment 7 years 11 months ago #2407

So I would put "Contents\MacOS\" in the deployment page and then in my app copy the file to another directory so I can write to it?

This is for a Sqlite database file.

That brings up another question. Is Sqlite supported on OS X?

Deployment 7 years 11 months ago #2410

Correct the default contents end up in your application bundle and the on startup you copy the files where you need them if they need to be writeable.

Typically on a mac that would be:
~/Library/Application support

The SqlLite Database is supported on platforms that Rad Studio targets, so yes OS X is supported.

Deployment 7 years 11 months ago #2417

Hi Gary,

Yes, we support Sqlite on OS X.

You can have a look at developer.apple.com/library/ios/document...pes/BundleTypes.html for information about the structure of an app bundle. If you want to copy files around your Mac outside of the bundle, you can do that also by writing code.

Regards,
Sarina

Deployment 7 years 11 months ago #2430

better is to use
gethomepath+/Documents/
for app files
in my opinion ;)
as that library path is deprecated or at least hidden in recent OSX versions more and more

also you can use the resoruces folder in the contents folder in the application bundle
  • Page:
  • 1
Moderators: April Anne