Jump to content
Fivecord

Can't use deployed files on iOS

Recommended Posts

I'v made an iOS app where I want the user to select the style. In the deployment I have added some fsf-files which have a Remote Path set to StartUp\Documents

The style is set via the following code:

    astylefile := TPath.Combine(TPath.GetDocumentsPath, 'BlackRock_iOS.fsf');
    TStyleManager.SetStyleFromFile(astylefile);

Then I get the error: Cannot open file "/var/mobile/containers/Data/Application/.../Documents/BlackRock_iOS.fsf". No such file or directory.

If I inspect the file appname.app, the folder StartUp/Documents is present with the fsf-files in it, so the files are deployed.  

Thus something prevents my app to access the files?

 

I tried the same in a blank iOS app, where the styles are applied successful. 

 

Anybody an idea of what could be wrong?

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×