简体   繁体   中英

Xcode Architecture issue

I am using xcode 6.4 in my project, it contains cocoapods where Pods are as follows:

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

Need One project prefix header file .pch文件代码

And add in bulid setting this .pch file.

So FOR OBJECTIVE_C

yes this podfile should work,

FOR SWIFT add,this line too

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.

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. Because there is some problem with them, and hence it would be better to install Google MobileAds-ios-Sdk manually only

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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