Copy Bundle Resources 构建阶段在 xcode 6 中包含此目标的 Info.plist 文件“Info.plist”?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/31476104/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
The Copy Bundle Resources build phase contains this target's Info.plist file 'Info.plist' in xcode 6?
提问by TechChain
I am getting this warning The Copy Bundle Resources build phase contains this target's Info.plist file 'Info.plist'
.I have read the solution hereIt says that Info.plist file has been copied into copy bundle resources& i have to remove it from there.But i don't find any Info.plist.Please suggest what to do?
我收到了这个警告 The Copy Bundle Resources build phase contains this target's Info.plist file 'Info.plist'
。我在这里阅读了解决方案它说 Info.plist 文件已被复制到复制包资源中,我必须从那里删除它。但我没有找到任何Info.plist。请提出建议做?
回答by Victor John
https://developer.apple.com/library/ios/qa/qa1649/_index.html
https://developer.apple.com/library/ios/qa/qa1649/_index.html
The Apple documentation says you just remove the info.plist file from the following phase.
Apple 文档说您只需从以下阶段删除 info.plist 文件。
- Click the target of project
- Select the item of Build Phase
- Then select the item of Copy Bundle Resources
- Final remove this file from you selected file
- 点击项目目标
- 选择 Build Phase 项目
- 然后选择 Copy Bundle Resources 项
- 最后从您选择的文件中删除此文件
Clear the project and rebuild it.
清除项目并重建它。
回答by Pradumna Patil
You can find your info.plist file in folder called as Supporting Files folder which is automatically created.
您可以在名为 Supporting Files 文件夹的文件夹中找到您的 info.plist 文件,该文件夹是自动创建的。
or
或者
you can also find info.plist file in your target -> info
您还可以在目标中找到 info.plist 文件 -> info
check this link
检查此链接
Warning: The Copy Bundle Resources build phase contains this target's Info.plist file
警告:复制捆绑资源构建阶段包含此目标的 Info.plist 文件
Hope it helps.
希望能帮助到你。
回答by Developine
May be helpful for someone.
可能对某人有帮助。
In my Flutter Application. I opened iOS Module in xCode and clicked on Info.plist file and unchecked Target Membership (Runner) in the File Inspector on left side. I am using 10.3
在我的 Flutter 应用程序中。我在 xCode 中打开 iOS 模块,然后单击左侧的文件检查器中的 Info.plist 文件和未选中的 Target Membership (Runner)。我正在使用 10.3