简体   繁体   中英

Delphi XE2 File Sharing and iOS

I need to set UIFileSharingEnabled to yes in the .plist file in my FireMonkey application. This can be done manually in Xcode (and works), however each time I modify the code in Delphi and use the "Export to Xcode" menu item the .plist file is recreated and changes I have made are lost.

Is there a setting or mechanism in XE2 to have UIFileSharingEnabled or other settings added to the project .plist file whenever it is created?

您可以通过运行脚本在xcode中更改它,而不是在Delphi中更改它,这里的示例: 仅在调试变体上使用UIFileSharingEnabled

While this doesn't directly answer your question, be aware that it seems that you only need to export to xcode as a 'one off'. Ie each time you make a change you do not need to re-export.

An exception seems to be if you add additional units to your application.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM