Delphi XE2 文件共享和 iOS
我需要在 FireMonkey 应用程序的 .plist 文件中将 UIFileSharingEnabled 设置为 yes。这可以在 Xcode 中手动完成(并且有效),但是每次我在 Delphi 中修改代码并使用“导出到 Xcode”菜单项时,都会重新创建 .plist 文件,并且我所做的更改都会丢失。
XE2 中是否有设置或机制可以在创建项目 .plist 文件时将 UIFileSharingEnabled 或其他设置添加到该文件中?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以通过运行脚本在 xcode 中更改它,而不是在 Delphi 中更改它,下面是示例: UIFileSharingEnabled on仅调试变体
Instead of changing it in Delphi you can change it in xcode by running a script, here's example: UIFileSharingEnabled on debug variant only
虽然这并不能直接回答您的问题,但请注意,您似乎只需要作为“一次性”导出到 xcode。即每次进行更改时都不需要重新导出。
如果您向应用程序添加其他单元,则似乎是一个例外。
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'. I.e. 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.