ios – 编译GooglsMaps.Framework时Apple Mach O Link Key失败

ios – 编译GooglsMaps.Framework时Apple Mach O Link Key失败,第1张

概述我试图在框架中添加所有GoogleMaps.Framework和GoogleMaps.bundle 执行时,会导致以下错误 我不知道究竟发生了什么.您能否告诉我添加Google MAP SDK框架的正确方法? 我甚至添加了框架libc .dylib. 错误消息 Undefined symbols for architecture i386: "_CGImageSourceCreateImage 我试图在框架中添加所有GoogleMaps.Framework和GoogleMaps.bundle
执行时,会导致以下错误

我不知道究竟发生了什么.您能否告诉我添加Google MAP SDK框架的正确方法?

我甚至添加了框架libc .dylib.

错误消息

Undefined symbols for architecture i386:  "_CGImageSourceCreateImageAtIndex",referenced from:      _GMSCreateCGImageWithData in GoogleMaps(GMMImageSupport.o)  "_CGImageSourceCreateWithDataProvIDer",referenced from:      _GMSCreateCGImageWithData in GoogleMaps(GMMImageSupport.o)  "_GLKMatrix3IDentity",referenced from:      gmscore::vector::GLlineGroup::Settransform(gmscore::math::Matrix4f const&,gmscore::base::reffed_ptr<gmscore::vector::Camera> const&) in GoogleMaps(GLlineGroup.o)  "_GLKMatrix4Invert",referenced from:      -[GMsstreetVIEwVIEw fadeOutLastScene] in GoogleMaps(GMsstreetVIEwVIEw.o)      gmscore::streetvIEw::Camera::Unproject(gmscore::math::Vector2f const&,bool*) const in GoogleMaps(Camera-B046EE312980DB98.o)      gmscore::vector::Camera::UpdateInternals() in GoogleMaps(Camera-3E3856CABC8A9C74.o)      gmscore::renderer::Camera3D::Settransform(gmscore::math::Matrix4f const&) in GoogleMaps(Camera3D.o)      gmscore::renderer::Camera3D::transform() in GoogleMaps(Camera3D.o)      non-virtual thunk to gmscore::renderer::Camera3D::transform() in GoogleMaps(Camera3D.o)ld: symbol(s) not found for architecture i386clang: error: linker command Failed with exit code 1 (use -v to see invocation)
解决方法 仔细检查您的Xcode项目中是否包含所有这些框架
AVFoundation.frameworkCoreData.frameworkCoreLocation.frameworkCoreText.frameworkGLKit.frameworkImageIO.frameworklibc++.dyliblibicucore.dyliblibz.dylibOpenGLES.frameworkQuartzCore.frameworkSystemConfiguration.framework

请拜访:-
https://developers.google.com/maps/documentation/ios/start#getting_the_google_maps_sdk_for_ios

了解有关将iOS Maps SDK for iOS添加到项目中的分步说明.

很可能你忘了添加ImageIO.framework

总结

以上是内存溢出为你收集整理的ios – 编译GooglsMaps.Framework时Apple Mach O Link Key失败全部内容,希望文章能够帮你解决ios – 编译GooglsMaps.Framework时Apple Mach O Link Key失败所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1102627.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-28
下一篇 2022-05-28

发表评论

登录后才能评论

评论列表(0条)

保存