GoogleMobileAds iOS 9 link error(GoogleMobileAds iOS 9 链接错误)
                            本文介绍了GoogleMobileAds iOS 9 链接错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
                        
                        问题描述
我按照 this 中的步骤操作,因为我在安装时遇到问题cocoapods,我手动下载了 SDK zip,将其添加到项目中,编译正常,但我得到了很多链接错误,如下所示.感谢您的帮助.
I followed the steps from this, since I had problems installing cocoapods, I manually downloaded the SDK zip, added it to the project, it compiled fine but I got a lot of link errors as the following. thanks for any help.
Undefined symbols for architecture x86_64:  
 "_CBCentralManagerOptionShowPowerAlertKey", referenced from:
       l942 in GoogleMobileAds(flat-x86_64)   "_CVBufferGetAttachment", referenced from:
       l2397 in GoogleMobileAds(flat-x86_64)   "_CVOpenGLESTextureCacheCreate", referenced from:
       l2399 in GoogleMobileAds(flat-x86_64)   "_CVOpenGLESTextureCacheCreateTextureFromImage", referenced from:
       l2400 in GoogleMobileAds(flat-x86_64)   "_CVOpenGLESTextureCacheFlush", referenced from:
       l2398 in GoogleMobileAds(flat-x86_64)   "_CVOpenGLESTextureGetName", referenced from:
       l2400 in GoogleMobileAds(flat-x86_64)   "_CVOpenGLESTextureGetTarget", referenced from:
       l2400 in GoogleMobileAds(flat-x86_64)   "_CVPixelBufferGetHeight", referenced from:
       l2397 in GoogleMobileAds(flat-x86_64)   "_CVPixelBufferGetWidth", referenced from:
       l2397 in GoogleMobileAds(flat-x86_64)   "_GLKMatrix4Identity", referenced from:
       l2392 in GoogleMobileAds(flat-x86_64)
       l2402 in GoogleMobileAds(flat-x86_64)   "_OBJC_CLASS_$_CBCentralManager", referenced from:
       objc-class-ref in GoogleMobileAds(flat-x86_64)   "_OBJC_CLASS_$_CBUUID", referenced from:
       objc-class-ref in GoogleMobileAds(flat-x86_64)   "_OBJC_CLASS_$_CMMotionManager", referenced from:
       objc-class-ref in GoogleMobileAds(flat-x86_64)   "_OBJC_CLASS_$_EAGLContext", referenced from:
       objc-class-ref in GoogleMobileAds(flat-x86_64)   "_OBJC_CLASS_$_GLKView", referenced from:
       objc-class-ref in GoogleMobileAds(flat-x86_64)   "_OBJC_CLASS_$_SFSafariViewController", referenced from:
       objc-class-ref in GoogleMobileAds(flat-x86_64)   "_glActiveTexture", referenced from:
       l2397 in GoogleMobileAds(flat-x86_64)   "_glAttachShader", referenced from:
       _GADGLCreateProgram in GoogleMobileAds(flat-x86_64)   "_glBindAttribLocation", referenced from:
       l2399 in GoogleMobileAds(flat-x86_64)   "_glBindTexture", referenced from:
       l2400 in GoogleMobileAds(flat-x86_64)   "_glClear", referenced from:
       l092 in GoogleMobileAds(flat-x86_64)   "_glClearColor", referenced from:
       l092 in GoogleMobileAds(flat-x86_64)   "_glCompileShader", referenced from:
       l1011 in GoogleMobileAds(flat-x86_64)   "_glCreateProgram", referenced from:
       _GADGLCreateProgram in GoogleMobileAds(flat-x86_64)   "_glCreateShader", referenced from:
       _GADGLCreateProgram in GoogleMobileAds(flat-x86_64)   "_glDeleteProgram", referenced from:
       _GADGLCreateProgram in GoogleMobileAds(flat-x86_64)
       l2401 in GoogleMobileAds(flat-x86_64)   "_glDeleteShader", referenced from:
       _GADGLCreateProgram in GoogleMobileAds(flat-x86_64)   "_glDetachShader", referenced from:
       _GADGLCreateProgram in GoogleMobileAds(flat-x86_64)   "_glDisable", referenced from:
       l2399 in GoogleMobileAds(flat-x86_64)   "_glDrawArrays", referenced from:
       l2397 in GoogleMobileAds(flat-x86_64)   "_glEnableVertexAttribArray", referenced from:
       l2397 in GoogleMobileAds(flat-x86_64)   "_glGetProgramiv", referenced from:
       _GADGLCreateProgram in GoogleMobileAds(flat-x86_64)   "_glGetShaderiv", referenced from:
       l1011 in GoogleMobileAds(flat-x86_64)   "_glGetUniformLocation", referenced from:
       l2399 in GoogleMobileAds(flat-x86_64)   "_glLinkProgram", referenced from:
       _GADGLCreateProgram in GoogleMobileAds(flat-x86_64)   "_glShaderSource", referenced from:
       l1011 in GoogleMobileAds(flat-x86_64)   "_glTexParameterf", referenced from:
       l2400 in GoogleMobileAds(flat-x86_64)   "_glTexParameteri", referenced from:
       l2400 in GoogleMobileAds(flat-x86_64)   "_glUniform1f", referenced from:
       l2397 in GoogleMobileAds(flat-x86_64)   "_glUniform1i", referenced from:
       l2399 in GoogleMobileAds(flat-x86_64)   "_glUniformMatrix3fv", referenced from:
       l2397 in GoogleMobileAds(flat-x86_64)   "_glUniformMatrix4fv", referenced from:
       l2397 in GoogleMobileAds(flat-x86_64)   "_glUseProgram", referenced from:
       l2399 in GoogleMobileAds(flat-x86_64)   "_glVertexAttribPointer", referenced from:
       l2397 in GoogleMobileAds(flat-x86_64)   "_glViewport", referenced from:
       l092 in GoogleMobileAds(flat-x86_64)   "_kCVImageBufferYCbCrMatrixKey", referenced from:
       l2397 in GoogleMobileAds(flat-x86_64)   "_kCVImageBufferYCbCrMatrix_ITU_R_601_4", referenced from:
       l2397 in GoogleMobileAds(flat-x86_64)   "_kCVPixelBufferPixelFormatTypeKey", referenced from:
       l086 in GoogleMobileAds(flat-x86_64)   "_kEAGLColorFormatRGBA8", referenced from:
       l070 in GoogleMobileAds(flat-x86_64)   "_kEAGLDrawablePropertyColorFormat", referenced from:
       l070 in GoogleMobileAds(flat-x86_64)   "_kEAGLDrawablePropertyRetainedBacking", referenced from:
       l070 in GoogleMobileAds(flat-x86_64) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code
 1 (use -v to see invocation)
推荐答案
我想通了.向项目中添加了一些框架并且它有效,但指南中没有提到它.参考截图.
I figured it out. added some frameworks to the project and it worked, but it is mentioned nowhere in the guide. Refer screenshot.
这篇关于GoogleMobileAds iOS 9 链接错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
				 沃梦达教程
				
			本文标题为:GoogleMobileAds iOS 9 链接错误
				
        
 
            
        
             猜你喜欢
        
	     - 用 Swift 实现 UITextFieldDelegate 2022-01-01
 - 如何检查发送到 Android 应用程序的 Firebase 消息的传递状态? 2022-01-01
 - 使用自定义动画时在 iOS9 上忽略 edgesForExtendedLayout 2022-01-01
 - Android viewpager检测滑动超出范围 2022-01-01
 - Android - 我如何找出用户有多少未读电子邮件? 2022-01-01
 - Android - 拆分 Drawable 2022-01-01
 - MalformedJsonException:在第1行第1列路径中使用JsonReader.setLenient(True)接受格式错误的JSON 2022-01-01
 - 在测试浓缩咖啡时,Android设备不会在屏幕上启动活动 2022-01-01
 - 想使用ViewPager,无法识别android.support.*? 2022-01-01
 - android 4中的android RadioButton问题 2022-01-01
 
				
				
				
				