简体   繁体   English

我可以写入嵌入式资源文本文件吗?

[英]Can i Write to Embedded Resource Text File?

im stucking with Writing to Text File in the Resource, i can read from the specified file, but cant write, its says Stream is not writeable. 我停留在写入资源中的文本文件,我可以从指定的文件读取,但不能写入,它说流不可写。 there is any way to fix it ? 有什么办法可以解决? i do it for my program builder, thanks in advice! 我是为我的程序构建者做的,谢谢建议!

You can not write the the application bundle, pick another location, perhaps the Documents directory on iOS or the Application Support directory in OSX. 您不能编写应用程序捆绑包,也不能选择其他位置,例如iOS上的Documents目录或OSX中的Application Support目录。

On iOS the resource bundle is also signed, another reason writing to it is not allowed. 在iOS上,资源束也已签名,这是不允许写入的另一个原因。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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