ios – Framework在其Info.plist中没有CFBundleIdentifier

前端之家收集整理的这篇文章主要介绍了ios – Framework在其Info.plist中没有CFBundleIdentifier前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我在Bridge.h中遇到问题,在安装和运行可可可可头后,会发现其目标是预期的. @H_404_2@我有:

  1. #import <TPKeyboardAvoiding/TPKeyboardAvoidingScrollView.h>
  2. #import <DateTools/DateTools.h>
@H_404_2@但是它没有工作,因为我的头文件夹是空的,所以我将这两个文件夹复制到Headers文件夹并硬编码的路径:

  1. #import </Users/username/Documents/new_ios/ios-app/Pods/Headers/TPKeyboardAvoiding/TPKeyboardAvoidingScrollView.h>
  2. #import </Users/username/Documents/new_ios/ios-app/Pods/Headers/DateTools/DateTools.h>
@H_404_2@这个工作和应用程序构建,但是当我运行它给出了这个错误:操作无法完成. (LaunchServicesError错误0.)

@H_404_2@这是控制台输出

  1. 6/2/16 4:41:24.961 PM uploadDSYM[3519]: Fabric.framework/run 1.4.0
  2. 6/2/16 4:41:24.981 PM uploadDSYM[3521]: Fabric.framework/run 1.4.0
  3. 6/2/16 4:41:25.011 PM appleeventsd[51]: SecTaskLoadEntitlements Failed error=22
  4. 6/2/16 4:41:25.019 PM sharedfilelistd[251]: SecTaskLoadEntitlements Failed error=22
  5. 6/2/16 4:41:25.093 PM Fabric[257]: Bundle indentifier is of type (null),returning empty string.
  6. 6/2/16 4:41:25.752 PM com.apple.CoreSimulator.CoreSimulatorService[331]: Error Domain=LaunchServicesError Code=0 "(null)" UserInfo={Error=MissingBundleIdentifier,ErrorDescription=Bundle at path /Users/username/Library/Developer/CoreSimulator/Devices/#####-####-####-####-##########/data/Library/Caches/com.apple.mobile.installd.staging/temp.16rUWf/extracted/AppName.app/Frameworks/TPKeyboardAvoiding.framework did not have a CFBundleIdentifier in its Info.plist}
@H_404_2@我的初始化错误,我看起来很像这样的东西:Unable to run app in Simulator: An error was encountered while running (Domain = LaunchServicesError,Code = 0)我尝试所有的干净的建立和重新启动建议,但没有工作.此外,所有的sharekit解决方案也没有工作,因为我没有共享套件.

@H_404_2@编辑1

@H_404_2@我的猜测是这样的:框架/ TPKeyboardAvoiding.framework在其Info.plist中没有CFBundleIdentifier}是真正的问题,我需要更改我的info.plist文件以查找TPKeyboardAvoiding

@H_404_2@编辑2

@H_404_2@我的信息:

@H_404_2@

@H_404_2@编辑3

@H_404_2@这个问题是在我试图解决我遇到的问题之前出现的一个问题,在这个问题之前描述了这个问题:Empty Pod Headers Folder after `pod install`

解决方法

对我来说,清理构建文件夹工作.在Xcode中,按住alt产品 – >清洁构建文件夹.. @H_404_2@让我知道如果它适用于你!

猜你在找的iOS相关文章