{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/infer/issues/69","labels_url":"https://api.github.com/repos/facebook/infer/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/facebook/infer/issues/69/comments","events_url":"https://api.github.com/repos/facebook/infer/issues/69/events","html_url":"https://github.com/facebook/infer/issues/69","id":88676949,"number":69,"title":"Build failed with a Cocoapod containing Objective-C++ code","user":{"login":"allanrvj","id":8397117,"avatar_url":"https://avatars.githubusercontent.com/u/8397117?v=3","gravatar_id":"","url":"https://api.github.com/users/allanrvj","html_url":"https://github.com/allanrvj","followers_url":"https://api.github.com/users/allanrvj/followers","following_url":"https://api.github.com/users/allanrvj/following{/other_user}","gists_url":"https://api.github.com/users/allanrvj/gists{/gist_id}","starred_url":"https://api.github.com/users/allanrvj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allanrvj/subscriptions","organizations_url":"https://api.github.com/users/allanrvj/orgs","repos_url":"https://api.github.com/users/allanrvj/repos","events_url":"https://api.github.com/users/allanrvj/events{/privacy}","received_events_url":"https://api.github.com/users/allanrvj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-06-16T09:45:19Z","updated_at":"2015-06-17T09:13:14Z","closed_at":null,"body":"Hi guys.\r\n\r\nI was trying to make Infer work but I'm running into problems. You see, this command gives me BUILD SUCCEEDED:\r\n\r\nxcodebuild -workspace Zymo.xcworkspace -scheme Zymo -configuration Debug -sdk iphonesimulator -arch \"i386\" ONLY_ACTIVE_ARCH=NO VALID_ARCHS=\"i386 x86_64\"\r\n\r\n\r\nbut this one:\r\n\r\ninfer -- xcodebuild -workspace Zymo.xcworkspace -scheme Zymo -configuration Debug -sdk iphonesimulator -arch \"i386\" ONLY_ACTIVE_ARCH=NO VALID_ARCHS=\"i386 x86_64\"\r\n\r\ngives me BUILD FAILED with the message:\r\n\r\n\r\nThe following build commands failed:\r\n\r\nCompileC /Users/arj/Documents/Developer/3.1.3/ZymoIOS/src/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-Realm.build/Objects-normal/i386/RLMAccessor.o Realm/Realm/RLMAccessor.mm normal i386 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler\r\n\r\nCompileC /Users/arj/Documents/Developer/3.1.3/ZymoIOS/src/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-Realm.build/Objects-normal/i386/RLMArray.o Realm/Realm/RLMArray.mm normal i386 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler\r\n\r\nCompileC /Users/arj/Documents/Developer/3.1.3/ZymoIOS/src/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-Realm.build/Objects-normal/i386/RLMArrayLinkView.o Realm/Realm/RLMArrayLinkView.mm normal i386 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler\r\n\r\n\r\n(3 failures)\r\n\r\n\r\nDo you guys have an idea on what I should change?"},"comment":{"url":"https://api.github.com/repos/facebook/infer/issues/comments/112731390","html_url":"https://github.com/facebook/infer/issues/69#issuecomment-112731390","issue_url":"https://api.github.com/repos/facebook/infer/issues/69","id":112731390,"user":{"login":"allanrvj","id":8397117,"avatar_url":"https://avatars.githubusercontent.com/u/8397117?v=3","gravatar_id":"","url":"https://api.github.com/users/allanrvj","html_url":"https://github.com/allanrvj","followers_url":"https://api.github.com/users/allanrvj/followers","following_url":"https://api.github.com/users/allanrvj/following{/other_user}","gists_url":"https://api.github.com/users/allanrvj/gists{/gist_id}","starred_url":"https://api.github.com/users/allanrvj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allanrvj/subscriptions","organizations_url":"https://api.github.com/users/allanrvj/orgs","repos_url":"https://api.github.com/users/allanrvj/repos","events_url":"https://api.github.com/users/allanrvj/events{/privacy}","received_events_url":"https://api.github.com/users/allanrvj/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T09:13:14Z","updated_at":"2015-06-17T09:13:14Z","body":"@martinoluca here's a test workspace where you could reproduce the issue:\r\n\r\nhttps://www.dropbox.com/s/dxmbi1k3ykc4ejr/Testing%202.zip?dl=0\r\n\r\nThis is the command I executed to recreate the failing build:\r\n\r\ninfer -- xcodebuild -workspace Testing.xcworkspace -scheme Testing -configuration Debug -sdk iphonesimulator -arch \"i386\" ONLY_ACTIVE_ARCH=NO VALID_ARCHS=\"i386 x86_64\" SYMROOT=$(PWD)/build\r\n\r\n"}}