{"action":"created","issue":{"url":"https://api.github.com/repos/mousebird/WhirlyGlobe/issues/543","repository_url":"https://api.github.com/repos/mousebird/WhirlyGlobe","labels_url":"https://api.github.com/repos/mousebird/WhirlyGlobe/issues/543/labels{/name}","comments_url":"https://api.github.com/repos/mousebird/WhirlyGlobe/issues/543/comments","events_url":"https://api.github.com/repos/mousebird/WhirlyGlobe/issues/543/events","html_url":"https://github.com/mousebird/WhirlyGlobe/issues/543","id":141912579,"number":543,"title":"how to use WhirlyGlobe with swift","user":{"login":"zhengwu123","id":8568371,"avatar_url":"https://avatars.githubusercontent.com/u/8568371?v=3","gravatar_id":"","url":"https://api.github.com/users/zhengwu123","html_url":"https://github.com/zhengwu123","followers_url":"https://api.github.com/users/zhengwu123/followers","following_url":"https://api.github.com/users/zhengwu123/following{/other_user}","gists_url":"https://api.github.com/users/zhengwu123/gists{/gist_id}","starred_url":"https://api.github.com/users/zhengwu123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhengwu123/subscriptions","organizations_url":"https://api.github.com/users/zhengwu123/orgs","repos_url":"https://api.github.com/users/zhengwu123/repos","events_url":"https://api.github.com/users/zhengwu123/events{/privacy}","received_events_url":"https://api.github.com/users/zhengwu123/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-18T16:18:11Z","updated_at":"2016-03-18T17:00:16Z","closed_at":null,"body":"Hi\r\n\r\nI am installed WhirlyGlobe with cocoapods. \r\nI encountered a problem when I try to  compile(IOS9 - Swift).\r\n\r\nLd /Users/new/Library/Developer/Xcode/DerivedData/SocialEarth-fvgdvcqmdxctywcyhjryfsxyvnnc/Build/Products/Debug-iphoneos/GoogleProtobuf.framework/GoogleProtobuf normal arm64\r\n    cd \"/Users/new/Desktop/swift learning/SocialEarth/Pods\"\r\n    export IPHONEOS_DEPLOYMENT_TARGET=9.2\r\n    export PATH=\"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin\"\r\n    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch arm64 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk -L/Users/new/Library/Developer/Xcode/DerivedData/SocialEarth-fvgdvcqmdxctywcyhjryfsxyvnnc/Build/Products/Debug-iphoneos -F/Users/new/Library/Developer/Xcode/DerivedData/SocialEarth-fvgdvcqmdxctywcyhjryfsxyvnnc/Build/Products/Debug-iphoneos -filelist /Users/new/Library/Developer/Xcode/DerivedData/SocialEarth-fvgdvcqmdxctywcyhjryfsxyvnnc/Build/Intermediates/Pods.build/Debug-iphoneos/GoogleProtobuf.build/Objects-normal/arm64/GoogleProtobuf.LinkFileList -install_name @rpath/GoogleProtobuf.framework/GoogleProtobuf -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -miphoneos-version-min=9.2 -dead_strip -fembed-bitcode-marker -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -framework Foundation -single_module -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/new/Library/Developer/Xcode/DerivedData/SocialEarth-fvgdvcqmdxctywcyhjryfsxyvnnc/Build/Intermediates/Pods.build/Debug-iphoneos/GoogleProtobuf.build/Objects-normal/arm64/GoogleProtobuf_dependency_info.dat -o /Users/new/Library/Developer/Xcode/DerivedData/SocialEarth-fvgdvcqmdxctywcyhjryfsxyvnnc/Build/Products/Debug-iphoneos/GoogleProtobuf.framework/GoogleProtobuf\r\n\r\nUndefined symbols for architecture arm64:\r\n  \"_deflate\", referenced from:\r\n      google_public::protobuf::io::GzipOutputStream::Deflate(int) in gzip_stream.o\r\n  \"_inflate\", referenced from:\r\n      google_public::protobuf::io::GzipInputStream::Inflate(int) in gzip_stream.o\r\n  \"_inflateInit2_\", referenced from:\r\n      google_public::protobuf::io::internalInflateInit2(z_stream_s*, google_public::protobuf::io::GzipInputStream::Format) in gzip_stream.o\r\n  \"_deflateEnd\", referenced from:\r\n      google_public::protobuf::io::GzipOutputStream::Close() in gzip_stream.o\r\n  \"_deflateInit2_\", referenced from:\r\n      google_public::protobuf::io::GzipOutputStream::Init(google_public::protobuf::io::ZeroCopyOutputStream*, google_public::protobuf::io::GzipOutputStream::Options const&) in gzip_stream.o\r\n  \"_inflateEnd\", referenced from:\r\n      google_public::protobuf::io::GzipInputStream::~GzipInputStream() in gzip_stream.o\r\n      google_public::protobuf::io::GzipInputStream::Next(void const**, int*) in gzip_stream.o\r\nld: symbol(s) not found for architecture arm64\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\n\r\nPlease help me out"},"comment":{"url":"https://api.github.com/repos/mousebird/WhirlyGlobe/issues/comments/198454287","html_url":"https://github.com/mousebird/WhirlyGlobe/issues/543#issuecomment-198454287","issue_url":"https://api.github.com/repos/mousebird/WhirlyGlobe/issues/543","id":198454287,"user":{"login":"mousebird","id":1040005,"avatar_url":"https://avatars.githubusercontent.com/u/1040005?v=3","gravatar_id":"","url":"https://api.github.com/users/mousebird","html_url":"https://github.com/mousebird","followers_url":"https://api.github.com/users/mousebird/followers","following_url":"https://api.github.com/users/mousebird/following{/other_user}","gists_url":"https://api.github.com/users/mousebird/gists{/gist_id}","starred_url":"https://api.github.com/users/mousebird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mousebird/subscriptions","organizations_url":"https://api.github.com/users/mousebird/orgs","repos_url":"https://api.github.com/users/mousebird/repos","events_url":"https://api.github.com/users/mousebird/events{/privacy}","received_events_url":"https://api.github.com/users/mousebird/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T17:00:15Z","updated_at":"2016-03-18T17:00:15Z","body":"It's not the Swift part, I think, it looks like missing Protobuf methods.\r\n\r\nWhich podspec are you using?  The one in the central pod repo is out of date.  Try using the one in the develop_2_4_1 branch."}}