我在Bridge.h中遇到问题,在安装和运行可可可可头后,会发现其目标是预期的.
@H_404_2@我有:
@H_404_2@但是它没有工作,因为我的头文件夹是空的,所以我将这两个文件夹复制到Headers文件夹并硬编码的路径:
- #import <TPKeyboardAvoiding/TPKeyboardAvoidingScrollView.h>
- #import <DateTools/DateTools.h>
@H_404_2@这个工作和应用程序构建,但是当我运行它给出了这个错误:操作无法完成. (LaunchServicesError错误0.) @H_404_2@这是控制台输出:
- #import </Users/username/Documents/new_ios/ios-app/Pods/Headers/TPKeyboardAvoiding/TPKeyboardAvoidingScrollView.h>
- #import </Users/username/Documents/new_ios/ios-app/Pods/Headers/DateTools/DateTools.h>
@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`
- 6/2/16 4:41:24.961 PM uploadDSYM[3519]: Fabric.framework/run 1.4.0
- 6/2/16 4:41:24.981 PM uploadDSYM[3521]: Fabric.framework/run 1.4.0
- 6/2/16 4:41:25.011 PM appleeventsd[51]: SecTaskLoadEntitlements Failed error=22
- 6/2/16 4:41:25.019 PM sharedfilelistd[251]: SecTaskLoadEntitlements Failed error=22
- 6/2/16 4:41:25.093 PM Fabric[257]: Bundle indentifier is of type (null),returning empty string.
- 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}