`
dcj3sjt126com
  • 浏览: 1868466 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Warning: The Copy Bundle Resources build phase contains this target's Info.plist

    博客分类:
  • IOS
阅读更多

 

http://developer.apple.com/iphone/library/qa/qa2009/qa1649.html

Excerpt:

You are getting this warning because you probably added your Info.plist file to your Copy Bundle Resources build phase as shown in Figure

[figure shown]

The INFOPLIST_FILE build setting specifies the name of the Info.plist associated with your target. When building a target, Xcode reads this build setting and copies the referenced Info.plist into your application bundle. Because Xcode automatically processes the Info.plist, you should not add it to your Copy Bundle Resources build phase or make it a target member.

To resolve this warning, select your Info.plist from the Copy Bundle Resource build phase as shown in Figure 1, then click the Remove (–) button to delete it from the phase.

分享到:
评论

相关推荐

    查看info.plist的软件pledit编辑器

    在iOS应用开发中,`Info.plist`文件是一个至关重要的组成部分,它存储了应用程序的各种元数据和配置信息。本文将深入探讨`Info.plist`文件的作用、结构以及如何使用pledit编辑器进行查看和编辑。 首先,`Info.plist...

    Info.plist

    每个application都使用Info.plist文件来存储以上的元信息,从名称上也可以判断出Info.plist就是以上提到的“属性列表”。IOS用Info.plist来决定bundle所显示的icon,当前app支持打开的文档类型,等等其它的信息。...

    ERROR ITMS-90062: “This bundle is invalid. The value for key CFBundleShortVersionString [1.2] …

    The value for key CFBundleShortVersionString [1.2] in the Info.plist file must contain a higher version than that of the previously approved version [1.15] 明明1.2的版本号要大于1.15,怎么还会出现错误...

    Xcode中Info.plist字段详解

    Info.plist文件是Xcode中一个非常重要的文件,它提供了关于app、bundle或者framework的一些重要信息。通过Info.plist文件,我们可以指定应用程序的启动方式、本地化信息、应用名称、图标等。 Info.plist文件实际上...

    ios 使用UIPickerView时省市区全文件 .plist

    接着,通过`Bundle.main.path(forResource:ofType:)`获取.plist文件的路径,再用`Data(contentsOf:)`读取文件内容,最后用`PropertyListDecoder.decode()`方法将数据转换为Swift对象。这些对象可以是自定义的结构体...

    IOS plist文件详解

    if let path = Bundle.main.path(forResource: "FileName", ofType: "plist") { if let dictionary = NSDictionary(contentsOfFile: path) as? [String: Any] { // 处理读取到的数据 } } ``` 写入.plist文件则...

    ios11.0 xcode 真机调试支持包 bate版、正式版

    安装方法:找到xcode应用程序,右击显示包内容,找到路径:/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 将下载到的三个文件夹都放进该目录,重启xcode即可。

    ubuntu_ Linux 3.x.x and 4.x.x version_CP210x驱动带源码

    This bundle contains a modified CP210x driver for the 4.10.0 kernel (Ubuntu 17.04). It contains: - Support for the CP2102N NOTE: This driver is an example of how to perform GPIO operations within ...

    plist资源文件

    if let path = Bundle.main.path(forResource: "FileName", ofType: "plist") { let dict = NSDictionary(contentsOfFile: path) // 处理dict... } // 写入 let dict: [String: Any] = ["key": "value"] do ...

    bootstrap.bundle.min.js

    bootstrap.bundle.min.js,python django-bootstrap-4.6.2 版本的JS文件

    ios多文件编程

    ios多文件编程用法: 作用:保存应用的信息,软件名称...注意:图形化的Info.plist文件上面的KEY不是真实的KEY,要想看真实的KEY得看Info.plist文件的源码 操作:Info.plist(选中后右键单击) -> Open As -> Source Code

    ipaparser:解析 ios IPA 并获取 info.plist 作为地图

    `ipaparser` 是一个 Go 语言编写的库,专门用于解析 iOS 的 IPA 文件,从中提取 `Info.plist` 文件,并将其内容转化为一个 `Map[string]interface{}` 的数据结构,便于程序处理和分析。在 iOS 开发中,`Info.plist` ...

    城市plist(三级联动)

    if let path = Bundle.main.path(forResource: "Address", ofType: "plist") { do { let data = try Data(contentsOf: URL(fileURLWithPath: path)) let addressDict = try PropertyListDecoder().decode([String...

    plist文件操作

    if let path = Bundle.main.path(forResource: "example", ofType: "plist") { do { let data = try Data(contentsOf: URL(fileURLWithPath: path)) let dict = try PropertyListDecoder().decode([String: Any]....

    Xcode_Build_Setting_Reference

    This setting determines whether the build process should only target the active architecture. This can be useful for optimizing builds and reducing unnecessary work. ##### PATH_PREFIXES_EXCLUDED_FROM...

    Setting Bundle 设置

    1. **Info.plist**:这是Setting Bundle的基本信息文件,包含了Bundle ID等元数据。 2. **Root.plist**:这是Setting Bundle的核心,定义了在设置界面中显示的各个选项和控件。它是一个XML文件,使用键值对来描述每...

    plist文件读写操作

    let path = bundle.path(forResource: "myPlist", ofType: "plist") ``` 2. 加载数据:根据文件路径,可以使用`NSDictionary(contentsOfFile:)`或`NSArray(contentsOfFile:)`方法加载数据。如果文件是XML格式,会...

    ios图标字体转图片和直接显示

    // 第一步:获取iconfont文件 ... // 第二步:导入ttf文件 // 将文件夹中的iconfont.ttf文件直接拖入到项目中,记得勾选Add to ...// 第五步:查看Build Phases - Copy Bundle Resources下面有没有iconfont.ttf 没有要报错

    SettingsBundleDemo

    通过这个示例,我们可以学习如何配置`Settings.bundle`,以及如何在应用内部获取和使用这些设置的值。 首先,`SettingsBundle`由一个主配置文件(`Root.plist`)和可能包含的多个设置表单组成。`Root.plist`是设置...

Global site tag (gtag.js) - Google Analytics