2013-07-29 7 views
6

GoogleマップのSDKをインポートしようとしています.Googleマップのサイトで説明したようなライブラリをすべて追加します。私を助けてください! :)アーキテクチャi386の未定義シンボル: "_GLKMatrix3Identity"、参照先:

Undefined symbols for architecture i386: 
"_GLKMatrix3Identity", referenced from: 
    gmscore::vector::GLLineGroup::SetTransform(gmscore::math::Matrix4f const&, gmscore::base::reffed_ptr<gmscore::vector::Camera> const&) in GoogleMaps(GLLineGroup.o) 
    gmscore::vector::GLAlphaOnlyTextureShaderProgram::GLAlphaOnlyTextureShaderProgram(bool) in GoogleMaps(GLBasicShaderState.o) 
    gmscore::renderer::TextureState::TextureState(unsigned int) in GoogleMaps(TextureState.o) 
    gmscore::renderer::TextureState::TextureState(unsigned int) in GoogleMaps(TextureState.o) 
    gmscore::renderer::TextureState::TextureState(gmscore::base::reffed_ptr<gmscore::renderer::ImageData> const&) in GoogleMaps(TextureState.o) 
    gmscore::renderer::TextureState::TextureState(gmscore::base::reffed_ptr<gmscore::renderer::ImageData> const&, gmscore::renderer::TextureState::TextureUnit) in GoogleMaps(TextureState.o) 
    gmscore::renderer::TextureState::TextureState(gmscore::base::reffed_ptr<gmscore::renderer::ImageData> const&, gmscore::renderer::TextureState::TextureUnit, bool, gmscore::renderer::TextureState::Filter, gmscore::renderer::TextureState::Filter) in GoogleMaps(TextureState.o) 
    ... 
    gmscore::vector::GLLineGroup::SetTransform(gmscore::math::Matrix4f const&, gmscore::base::reffed_ptr<gmscore::vector::Camera> const&) in GoogleMaps(GLLineGroup.o) 
    gmscore::vector::GLAlphaOnlyTextureShaderProgram::GLAlphaOnlyTextureShaderProgram(bool) in GoogleMaps(GLBasicShaderState.o) 
    gmscore::renderer::TextureState::TextureState(unsigned int) in GoogleMaps(TextureState.o) 
    gmscore::renderer::TextureState::TextureState(unsigned int) in GoogleMaps(TextureState.o) 
    gmscore::renderer::TextureState::TextureState(gmscore::base::reffed_ptr<gmscore::renderer::ImageData> const&) in GoogleMaps(TextureState.o) 
    gmscore::renderer::TextureState::TextureState(gmscore::base::reffed_ptr<gmscore::renderer::ImageData> const&, gmscore::renderer::TextureState::TextureUnit) in GoogleMaps(TextureState.o) 
    gmscore::renderer::TextureState::TextureState(gmscore::base::reffed_ptr<gmscore::renderer::ImageData> const&, gmscore::renderer::TextureState::TextureUnit, bool, gmscore::renderer::TextureState::Filter, gmscore::renderer::TextureState::Filter) in GoogleMaps(TextureState.o) 
    ... 
    gmscore::vector::GLLineGroup::SetTransform(gmscore::math::Matrix4f const&, gmscore::base::reffed_ptr<gmscore::vector::Camera> const&) in GoogleMaps(GLLineGroup.o) 
    gmscore::vector::GLAlphaOnlyTextureShaderProgram::GLAlphaOnlyTextureShaderProgram(bool) in GoogleMaps(GLBasicShaderState.o) 
    gmscore::renderer::TextureState::TextureState(unsigned int) in GoogleMaps(TextureState.o) 
    gmscore::renderer::TextureState::TextureState(unsigned int) in GoogleMaps(TextureState.o) 
    gmscore::renderer::TextureState::TextureState(gmscore::base::reffed_ptr<gmscore::renderer::ImageData> const&) in GoogleMaps(TextureState.o) 
    gmscore::renderer::TextureState::TextureState(gmscore::base::reffed_ptr<gmscore::renderer::ImageData> const&, gmscore::renderer::TextureState::TextureUnit) in GoogleMaps(TextureState.o) 
    gmscore::renderer::TextureState::TextureState(gmscore::base::reffed_ptr<gmscore::renderer::ImageData> const&, gmscore::renderer::TextureState::TextureUnit, bool, gmscore::renderer::TextureState::Filter, gmscore::renderer::TextureState::Filter) in GoogleMaps(TextureState.o) 
    ... 
    gmscore::vector::GLLineGroup::SetTransform(gmscore::math::Matrix4f const&, gmscore::base::reffed_ptr<gmscore::vector::Camera> const&) in GoogleMaps(GLLineGroup.o) 
    gmscore::vector::GLAlphaOnlyTextureShaderProgram::GLAlphaOnlyTextureShaderProgram(bool) in GoogleMaps(GLBasicShaderState.o) 
    gmscore::renderer::TextureState::TextureState(unsigned int) in GoogleMaps(TextureState.o) 
    gmscore::renderer::TextureState::TextureState(unsigned int) in GoogleMaps(TextureState.o) 
    gmscore::renderer::TextureState::TextureState(gmscore::base::reffed_ptr<gmscore::renderer::ImageData> const&) in GoogleMaps(TextureState.o) 
    gmscore::renderer::TextureState::TextureState(gmscore::base::reffed_ptr<gmscore::renderer::ImageData> const&, gmscore::renderer::TextureState::TextureUnit) in GoogleMaps(TextureState.o) 
    gmscore::renderer::TextureState::TextureState(gmscore::base::reffed_ptr<gmscore::renderer::ImageData> const&, gmscore::renderer::TextureState::TextureUnit, bool, gmscore::renderer::TextureState::Filter, gmscore::renderer::TextureState::Filter) in GoogleMaps(TextureState.o) 
    ... 
"_GLKMatrix4Identity", referenced from: 
    -[GMSTilesEntityProvider updateAndTransformTile:camera:renderer:behavior:] in GoogleMaps(GMSTilesEntityProvider.o) 
    -[GMSGLVectorTile applyTransform:camera:] in GoogleMaps(GMSGLVectorTile.o) 
    (anonymous namespace)::PointsBehavior::Commit(gmscore::renderer::EntityRenderer*) in GoogleMaps(GMSPointsEntityProvider.o) 
    (anonymous namespace)::StickerBehavior::Commit(gmscore::renderer::EntityRenderer*) in GoogleMaps(GMSStickersEntityProvider.o) 
    (anonymous namespace)::BubbleBehavior::Commit(gmscore::renderer::EntityRenderer*) in GoogleMaps(GMSBubbleEntityProvider.o) 
    gmscore::streetview::Panorama::Panorama(int, int, int, int, int, int) in GoogleMaps(Panorama.o) 
    gmscore::vector::UpdateMyLocationBehavior::Commit(gmscore::renderer::EntityRenderer*) in GoogleMaps(GLMyLocation.o) 
    ... 
    -[GMSTilesEntityProvider updateAndTransformTile:camera:renderer:behavior:] in GoogleMaps(GMSTilesEntityProvider.o) 
    -[GMSGLVectorTile applyTransform:camera:] in GoogleMaps(GMSGLVectorTile.o) 
    (anonymous namespace)::PointsBehavior::Commit(gmscore::renderer::EntityRenderer*) in GoogleMaps(GMSPointsEntityProvider.o) 
    (anonymous namespace)::StickerBehavior::Commit(gmscore::renderer::EntityRenderer*) in GoogleMaps(GMSStickersEntityProvider.o) 
    (anonymous namespace)::BubbleBehavior::Commit(gmscore::renderer::EntityRenderer*) in GoogleMaps(GMSBubbleEntityProvider.o) 
    gmscore::streetview::Panorama::Panorama(int, int, int, int, int, int) in GoogleMaps(Panorama.o) 
    gmscore::vector::UpdateMyLocationBehavior::Commit(gmscore::renderer::EntityRenderer*) in GoogleMaps(GLMyLocation.o) 
    ... 
    -[GMSTilesEntityProvider updateAndTransformTile:camera:renderer:behavior:] in GoogleMaps(GMSTilesEntityProvider.o) 
    -[GMSGLVectorTile applyTransform:camera:] in GoogleMaps(GMSGLVectorTile.o) 
    (anonymous namespace)::PointsBehavior::Commit(gmscore::renderer::EntityRenderer*) in GoogleMaps(GMSPointsEntityProvider.o) 
    (anonymous namespace)::StickerBehavior::Commit(gmscore::renderer::EntityRenderer*) in GoogleMaps(GMSStickersEntityProvider.o) 
    (anonymous namespace)::BubbleBehavior::Commit(gmscore::renderer::EntityRenderer*) in GoogleMaps(GMSBubbleEntityProvider.o) 
    gmscore::streetview::Panorama::Panorama(int, int, int, int, int, int) in GoogleMaps(Panorama.o) 
    gmscore::vector::UpdateMyLocationBehavior::Commit(gmscore::renderer::EntityRenderer*) in GoogleMaps(GLMyLocation.o) 
    ... 
    -[GMSTilesEntityProvider updateAndTransformTile:camera:renderer:behavior:] in GoogleMaps(GMSTilesEntityProvider.o) 
    -[GMSGLVectorTile applyTransform:camera:] in GoogleMaps(GMSGLVectorTile.o) 
    (anonymous namespace)::PointsBehavior::Commit(gmscore::renderer::EntityRenderer*) in GoogleMaps(GMSPointsEntityProvider.o) 
    (anonymous namespace)::StickerBehavior::Commit(gmscore::renderer::EntityRenderer*) in GoogleMaps(GMSStickersEntityProvider.o) 
    (anonymous namespace)::BubbleBehavior::Commit(gmscore::renderer::EntityRenderer*) in GoogleMaps(GMSBubbleEntityProvider.o) 
    gmscore::streetview::Panorama::Panorama(int, int, int, int, int, int) in GoogleMaps(Panorama.o) 
    gmscore::vector::UpdateMyLocationBehavior::Commit(gmscore::renderer::EntityRenderer*) in GoogleMaps(GLMyLocation.o) 
    ... 
    -[GMSTilesEntityProvider updateAndTransformTile:camera:renderer:behavior:] in GoogleMaps(GMSTilesEntityProvider.o) 
    -[GMSGLVectorTile applyTransform:camera:] in GoogleMaps(GMSGLVectorTile.o) 
    (anonymous namespace)::PointsBehavior::Commit(gmscore::renderer::EntityRenderer*) in GoogleMaps(GMSPointsEntityProvider.o) 
    (anonymous namespace)::StickerBehavior::Commit(gmscore::renderer::EntityRenderer*) in GoogleMaps(GMSStickersEntityProvider.o) 
    (anonymous namespace)::BubbleBehavior::Commit(gmscore::renderer::EntityRenderer*) in GoogleMaps(GMSBubbleEntityProvider.o) 
    gmscore::streetview::Panorama::Panorama(int, int, int, int, int, int) in GoogleMaps(Panorama.o) 
    gmscore::vector::UpdateMyLocationBehavior::Commit(gmscore::renderer::EntityRenderer*) in GoogleMaps(GLMyLocation.o) 
    ... 
    -[GMSTilesEntityProvider updateAndTransformTile:camera:renderer:behavior:] in GoogleMaps(GMSTilesEntityProvider.o) 
    -[GMSGLVectorTile applyTransform:camera:] in GoogleMaps(GMSGLVectorTile.o) 
    (anonymous namespace)::PointsBehavior::Commit(gmscore::renderer::EntityRenderer*) in GoogleMaps(GMSPointsEntityProvider.o) 
    (anonymous namespace)::StickerBehavior::Commit(gmscore::renderer::EntityRenderer*) in GoogleMaps(GMSStickersEntityProvider.o) 
    (anonymous namespace)::BubbleBehavior::Commit(gmscore::renderer::EntityRenderer*) in GoogleMaps(GMSBubbleEntityProvider.o) 
    gmscore::streetview::Panorama::Panorama(int, int, int, int, int, int) in GoogleMaps(Panorama.o) 
    gmscore::vector::UpdateMyLocationBehavior::Commit(gmscore::renderer::EntityRenderer*) in GoogleMaps(GLMyLocation.o) 
    ... 
    -[GMSTilesEntityProvider updateAndTransformTile:camera:renderer:behavior:] in GoogleMaps(GMSTilesEntityProvider.o) 
    -[GMSGLVectorTile applyTransform:camera:] in GoogleMaps(GMSGLVectorTile.o) 
    (anonymous namespace)::PointsBehavior::Commit(gmscore::renderer::EntityRenderer*) in GoogleMaps(GMSPointsEntityProvider.o) 
    (anonymous namespace)::StickerBehavior::Commit(gmscore::renderer::EntityRenderer*) in GoogleMaps(GMSStickersEntityProvider.o) 
    (anonymous namespace)::BubbleBehavior::Commit(gmscore::renderer::EntityRenderer*) in GoogleMaps(GMSBubbleEntityProvider.o) 
    gmscore::streetview::Panorama::Panorama(int, int, int, int, int, int) in GoogleMaps(Panorama.o) 
    gmscore::vector::UpdateMyLocationBehavior::Commit(gmscore::renderer::EntityRenderer*) in GoogleMaps(GLMyLocation.o) 
    ... 
    ... 
"_GLKMatrix4Invert", referenced from: 
    gmscore::streetview::Camera::Unproject(gmscore::math::Vector2f const&, bool*) 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) 
"_OBJC_CLASS_$_GLKView", referenced from: 
    _OBJC_CLASS_$_GMSEntityRendererView in GoogleMaps(GMSEntityRendererView.o) 
"_OBJC_METACLASS_$_GLKView", referenced from: 
    _OBJC_METACLASS_$_GMSEntityRendererView in GoogleMaps(GMSEntityRendererView.o) 
ld: symbol(s) not found for architecture i386 
clang: error: linker command failed with exit code 1 (use -v to see invocation) 

答えて

26

この問題を解決していただければ幸いです。実行していた問題は、ビルドフェーズでGLKit.frameworkがリンクされていないことです。

設定手順の詳細なリストについては、Getting Startedのページをご覧ください。ただし、関連する手順は以下のとおりです。

オープンビルドフェーズ]タブ、およびライブラリとのリンクのバイナリ内に、次のようなフレームワークを追加します。

  • AVFoundation.framework
  • CoreData.framework
  • CoreLocation.framework
  • CoreText。フレームワーク
  • GLKit.framework
  • ImageIO.framework
  • のlibC++。
  • libicucore.dylib
  • libz.dylib
  • をdylib OpenGLES.framework
  • QuartzCore.framework
  • SystemConfiguration.framework
+0

正常に作業しました..... – Babul

+0

素晴らしい、ありがとう! – davvilla

+0

それは働いた、ありがとう –

1

以上のフレームワークプラス

私は気づいた手動でインストールされた古いGoogleマップSDKを使用していたアプリケーションをアップグレードしたときの変更を以下に示します。

ビルドフェーズ - >ライブラリとのリンクバンドルでCoreBluetooth.frameworkおよびAccelerate.frameworkにリンクする必要があります。 "その他のリンカフラグ"の下の-all_loadフラグは、 "重複シンボル"エラーを引き起こします。 (代わりに-ObjCを使用してください。) CocoaPodsのインストール方法(現在の指示通り)を使用する場合は、必要なフレームワークを取るべきですが、-all_loadによってまだ乱雑になります。

関連する問題