【问题标题】:framework did not have a CFBundleIdentifier in its Info.plist using Swift and Cocoapods框架使用 Swift 和 Cocoapods 在其 Info.plist 中没有 CFBundleIdentifier
【发布时间】:2017-01-17 11:12:32
【问题描述】:

无法启动该项目。我收到这个:

在路径捆绑 /Users/admin/Library/Developer/CoreSimulator/Devices/0B7EE295-6BF3-41B6-ACA8-D4771EC65AB3/data/Library/Caches/com.apple.mobile.installd.staging/temp.2zLdYH/extracted/Payload/example.app /Frameworks/LocationPickerViewController.framework 在其 Info.plist 中没有 CFBundleIdentifier

我正在使用椰子。有什么想法吗?

“清洁解决方案”对我没有帮助。 /Users/admin/Library/Developer/CoreSimulator/Devices/0B7EE295-6BF3-41B6-ACA8-D4771EC65AB3/data/Library/Caches/com.apple.mobile.installd.staging/ 中不存在文件

【问题讨论】:

  • 遇到同样的问题...你能解决吗?
  • 我已将此库添加为单独的项目。不是可可足类

标签: ios xcode


【解决方案1】:

对我来说清理构建文件夹是有效的。在 Xcode 中,按住 alt Product -> Clean Build Folder..

让我知道它是否适合你!

【讨论】:

  • 我不得不删除派生数据并从 iPad2 切换到 iPad Air
【解决方案2】:
  1. 首次退出模拟器
  2. 退出 Xcode
  3. 打开 Xcode
  4. Alt + Prodect-> 清理构建文件夹 它会起作用的 InshaAllah

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-05-25
    • 2021-05-30
    • 2019-12-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-09-17
    • 1970-01-01
    相关资源
    最近更新 更多