简体   繁体   English

Xcode体系结构问题

[英]Xcode Architecture issue

I am using xcode 6.4 in my project, it contains cocoapods where Pods are as follows: 我在项目中使用xcode 6.4 ,其中包含cocoapods,其中Pod如下:

pod 'ZXingObjC', '~> 3.0'    
pod 'Google-Mobile-Ads-SDK'    
pod 'iRate'    
pod 'NewRelicAgent'    
pod 'GoogleAnalytics'    
pod 'Appirater'    
pod 'Crashlytics'

But, after I update my pods I am getting the error which I attached to this image: Error is becuase of one pod 但是,更新我的Pod之后,出现了我附加到此图像的错误错误是因为一个Pod

Need One project prefix header file 需要一个项目前缀头文件 .pch文件代码

And add in bulid setting this .pch file. 并添加bulid设置此.pch文件。

So FOR OBJECTIVE_C 所以FOR OBJECTIVE_C

yes this podfile should work, 是的,这个Podfile应该可以工作,

FOR SWIFT add,this line too 对于SWIFT添加,此行也

use_frameworks! use_frameworks!

YOU DON'T HAVE TO MENTION THE VeRSION OF ANY LIBRARY IF NOT MENTIONED ON COCOAPODS. 如果未提及可可脂,则无需提及任何库的版本。

Lastly if you have taken care of all these then try cleaning project cmd + shift+ k and then run project. 最后,如果您已解决所有这些问题,请尝试清洁项目cmd + shift + k ,然后运行项目。

If still not working then delete manually the dependencies folders and reinstall them 如果仍然无法正常工作,请手动删除依赖文件夹并重新安装

# if there is problem with Google MobileAds-ios-Sdk, then you are stuck. #如果Google MobileAds-ios-Sdk出现问题,则您将陷入困境。 Because there is some problem with them, and hence it would be better to install Google MobileAds-ios-Sdk manually only 由于它们存在一些问题,因此最好仅手动安装Google MobileAds-ios-Sdk

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

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