在iOS中找不到GoogleMaps sdk的框架 [英] Framework not found GoogleMaps sdk in iOS

查看:115
本文介绍了在iOS中找不到GoogleMaps sdk的框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将谷歌地图用于现有(不是新的)iPhone项目。现在我正在使用谷歌地图ios sdk 和我成功地将谷歌地图框架添加到我的项目。但是我得到这样的错误

I want to use google map to existing(not a new one) iPhone project.Now i am using Google map ios sdk and i successfully added google map framework to my project.But i got error like this

ld: framework not found GoogleMaps
clang: error: linker command failed with exit code 1 (use -v to see invocation)

如何解决这个问题。我使用xcode4.5和谷歌地图iOS sdk版本是1.5。当我使用谷歌地图iOS sdk创建新项目时,没有错误获取我。仅适用于现有iOS项目的错误。请帮助我。

How to solve this issue.I am using xcode4.5 and google map iOS sdk version is 1.5. When i am creating new project with google map iOS sdk then no error getting for me.Error only for existing iOS Project.Please help me.

推荐答案

我解决了我的问题

你需要这样做


  1. 点击您的项目(目标

  2. 点击构建设置

  3. 框架搜索路径下(设置框架路径)

  1. Click on your project (targets)
  2. Click on Build Settings
  3. Under Framework search paths (set your framework path)

以下的信息获取框架搜索路径


  1. 右键单击您的框架文件夹(例如:GoogleMaps.framework)

  2. 选择获取信息

  3. 常规 - >其中复制路径,并将此路径粘贴到框架搜索路径中(路径应包含在单行中)

  1. Right click on your framework folder (for ex: GoogleMaps.framework)
  2. select Get info
  3. copy the path from General->where and paste this path in your framework search path (path should contain in single line)

祝你好运

这篇关于在iOS中找不到GoogleMaps sdk的框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆