{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/3960","repository_url":"https://api.github.com/repos/realm/realm-cocoa","labels_url":"https://api.github.com/repos/realm/realm-cocoa/issues/3960/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-cocoa/issues/3960/comments","events_url":"https://api.github.com/repos/realm/realm-cocoa/issues/3960/events","html_url":"https://github.com/realm/realm-cocoa/issues/3960","id":171117169,"number":3960,"title":"ld: library not found for -lrealm-ios","user":{"login":"superzcj","id":10606643,"avatar_url":"https://avatars.githubusercontent.com/u/10606643?v=3","gravatar_id":"","url":"https://api.github.com/users/superzcj","html_url":"https://github.com/superzcj","followers_url":"https://api.github.com/users/superzcj/followers","following_url":"https://api.github.com/users/superzcj/following{/other_user}","gists_url":"https://api.github.com/users/superzcj/gists{/gist_id}","starred_url":"https://api.github.com/users/superzcj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superzcj/subscriptions","organizations_url":"https://api.github.com/users/superzcj/orgs","repos_url":"https://api.github.com/users/superzcj/repos","events_url":"https://api.github.com/users/superzcj/events{/privacy}","received_events_url":"https://api.github.com/users/superzcj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-15T06:47:54Z","updated_at":"2016-08-15T08:07:35Z","closed_at":null,"body":"# Goals\r\n\r\nBuild the project without having to run a clean\r\n\r\n# Expected Results\r\n\r\nBuild to Succeed\r\n\r\n# Actual Results\r\n\r\nBuild failed with these errors:\r\n\r\nld: library not found for -lrealm-ios\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\n\r\nLd /Users/zhangchaojie/Library/Developer/Xcode/DerivedData/WMDoctor-fnyjhcfjkdvagqcncvwdxeixyovx/Build/Products/Debug-iphoneos/Realm.framework/Realm normal arm64\r\n    cd /Users/zhangchaojie/Documents/Project/WMDoctor/trunk/Pods\r\n    export IPHONEOS_DEPLOYMENT_TARGET=8.0\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.3.sdk -L/Users/zhangchaojie/Library/Developer/Xcode/DerivedData/WMDoctor-fnyjhcfjkdvagqcncvwdxeixyovx/Build/Products/Debug-iphoneos -L/Users/zhangchaojie/Documents/Project/WMDoctor/trunk/Pods/Realm/core -F/Users/zhangchaojie/Library/Developer/Xcode/DerivedData/WMDoctor-fnyjhcfjkdvagqcncvwdxeixyovx/Build/Products/Debug-iphoneos -filelist /Users/zhangchaojie/Library/Developer/Xcode/DerivedData/WMDoctor-fnyjhcfjkdvagqcncvwdxeixyovx/Build/Intermediates/Pods.build/Debug-iphoneos/Realm.build/Objects-normal/arm64/Realm.LinkFileList -install_name @rpath/Realm.framework/Realm -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -miphoneos-version-min=8.0 -dead_strip -Xlinker -no_deduplicate -fembed-bitcode-marker -lc++ -lrealm-ios -stdlib=libc++ -fapplication-extension -fobjc-arc -fobjc-link-runtime -framework Foundation -single_module -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/zhangchaojie/Library/Developer/Xcode/DerivedData/WMDoctor-fnyjhcfjkdvagqcncvwdxeixyovx/Build/Intermediates/Pods.build/Debug-iphoneos/Realm.build/Objects-normal/arm64/Realm_dependency_info.dat -o /Users/zhangchaojie/Library/Developer/Xcode/DerivedData/WMDoctor-fnyjhcfjkdvagqcncvwdxeixyovx/Build/Products/Debug-iphoneos/Realm.framework/Realm\r\n\r\n# Steps to Reproduce\r\n\r\nAdd Realm as a cocoa pod and build the project in another mac\r\n\r\n# Code Sample\r\n\r\nBuild errors\r\n\r\n# Version of Realm and Tooling\r\n\r\nRealm version: 1.0.2\r\nXcode version: 7.3\r\niOS/OSX version: 9.3.3/swif2.2\r\nDependency manager + version: cocoapod 0.39.0\r\n"},"comment":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/comments/239749440","html_url":"https://github.com/realm/realm-cocoa/issues/3960#issuecomment-239749440","issue_url":"https://api.github.com/repos/realm/realm-cocoa/issues/3960","id":239749440,"user":{"login":"stel","id":429275,"avatar_url":"https://avatars.githubusercontent.com/u/429275?v=3","gravatar_id":"","url":"https://api.github.com/users/stel","html_url":"https://github.com/stel","followers_url":"https://api.github.com/users/stel/followers","following_url":"https://api.github.com/users/stel/following{/other_user}","gists_url":"https://api.github.com/users/stel/gists{/gist_id}","starred_url":"https://api.github.com/users/stel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stel/subscriptions","organizations_url":"https://api.github.com/users/stel/orgs","repos_url":"https://api.github.com/users/stel/repos","events_url":"https://api.github.com/users/stel/events{/privacy}","received_events_url":"https://api.github.com/users/stel/received_events","type":"User","site_admin":false},"created_at":"2016-08-15T08:07:35Z","updated_at":"2016-08-15T08:07:35Z","body":"Thanks for that report, @superzcj!\r\n\r\nDo you experience this issue if you perform **Clean** or **Clean Build Directory** in Xcode?"}}
{"actor":{"display_login":"stel"}}