简体   繁体   English

Copy Bundle Resources 构建阶段包含此目标的 Info.plist 文件 'Info.plist' in xcode 6?

[英]The Copy Bundle Resources build phase contains this target's Info.plist file 'Info.plist' in xcode 6?

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 here It 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 。请建议该怎么做?

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文件。

  1. Click the target of project 单击项目的目标
  2. Select the item of Build Phase 选择构建阶段的项目
  3. Then select the item of Copy Bundle Resources 然后选择Copy Bundle Resources项
  4. Final remove this file from you selected file 最后从您选择的文件中删除此文件

Clear the project and rebuild it. 清除项目并重建它。

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文件

check this link 检查此链接

Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 警告:复制包资源构建阶段包含此目标的Info.plist文件

Hope it helps. 希望能帮助到你。

May be helpful for someone.可能对某人有帮助。

In my Flutter Application.在我的 Flutter 申请中。 I opened iOS Module in xCode and clicked on Info.plist file and unchecked Target Membership (Runner) in the File Inspector on left side.我在 xCode 中打开了 iOS 模块,然后在左侧的文件检查器中单击 Info.plist 文件并取消选中 Target Membership (Runner)。 I am using 10.3我正在使用 10.3

Select Your Project And Go To Build Phases Select 您的项目和 Go 建设阶段
Step One: Open (Link Binary With Libraries) And Make Sure No Duplicate.第一步:打开(将二进制文件与库链接)并确保没有重复。
Step Two: Open (Embed Pods Frameworks) and make Sure No Duplicate For input and output files.第二步:打开(Embed Pods Frameworks)并确保输入和 output 文件不重复。 Step Three: Open (Copy Pods Resources) and make Sure No Duplicate For input and output files.第三步:打开(Copy Pods Resources)并确保没有重复输入和 output 文件。
Step Four: Open (Embed Frameworks) And Make Sure No Duplicate.第四步:打开(嵌入框架)并确保没有重复。

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

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