{"action":"created","issue":{"url":"https://api.github.com/repos/google/googletest/issues/953","repository_url":"https://api.github.com/repos/google/googletest","labels_url":"https://api.github.com/repos/google/googletest/issues/953/labels{/name}","comments_url":"https://api.github.com/repos/google/googletest/issues/953/comments","events_url":"https://api.github.com/repos/google/googletest/issues/953/events","html_url":"https://github.com/google/googletest/issues/953","id":193662349,"number":953,"title":"'gtest/internal/gtest-port-arch.h' not found building Xcode project after including gtest.h","user":{"login":"FlashSheridan","id":758199,"avatar_url":"https://avatars2.githubusercontent.com/u/758199?v=3","gravatar_id":"","url":"https://api.github.com/users/FlashSheridan","html_url":"https://github.com/FlashSheridan","followers_url":"https://api.github.com/users/FlashSheridan/followers","following_url":"https://api.github.com/users/FlashSheridan/following{/other_user}","gists_url":"https://api.github.com/users/FlashSheridan/gists{/gist_id}","starred_url":"https://api.github.com/users/FlashSheridan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FlashSheridan/subscriptions","organizations_url":"https://api.github.com/users/FlashSheridan/orgs","repos_url":"https://api.github.com/users/FlashSheridan/repos","events_url":"https://api.github.com/users/FlashSheridan/events{/privacy}","received_events_url":"https://api.github.com/users/FlashSheridan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-12-06T01:54:34Z","updated_at":"2017-05-16T10:51:28Z","closed_at":null,"body":"After adding #include \"gtest/gtest.h\" to main.cpp as instructed in Primer.md, in an Xcode project set up as in XcodeGuide.md (with corrections, e.g., as in bug #951), compilation fails with \r\n\r\n> error: 'gtest/internal/gtest-port-arch.h' file not found.  \r\n\r\nThis seems to be because gtest-port-arch.h is missing from https://github.com/google/googletest/blob/master/googletest/xcode/gtest.xcodeproj/project.pbxproj, though, e.g., gtest-port.h is present. The entire directory Headers/internal/custom seems to be missing as well.\r\n    After correcting both the above omissions by manually copying the files into the framework, compilation succeeds, though linking fails for  testing::internal::StringStreamToString(std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> >*).\r\n\r\n\r\n\r\nHere’s more of the compilation error message:\r\n\r\n> In file included from /Volumes/Norlamin/Users/flash/Documents/git/New_Code/Programming_Exercises/Other learning projects/String Play/GooTests/main.cpp:11:\r\n\r\n> In file included from /Volumes/Norlamin/Users/flash/Documents/git/New_Code/Programming_Exercises/Other learning projects/String Play/GooTests/gtest.framework/Headers/gtest.h:58:\r\n\r\n> In file included from /Volumes/Norlamin/Users/flash/Documents/git/New_Code/Programming_Exercises/Other learning projects/String Play/GooTests/gtest.framework/Headers/internal/gtest-internal.h:40:\r\n\r\n> /Volumes/Norlamin/Users/flash/Documents/git/New_Code/Programming_Exercises/Other learning projects/String Play/GooTests/gtest.framework/Headers/internal/gtest-port.h:281:10: fatal error: 'gtest/internal/gtest-port-arch.h' file not found\r\n\r\n> #include \"gtest/internal/gtest-port-arch.h\"\r\n"},"comment":{"url":"https://api.github.com/repos/google/googletest/issues/comments/301746021","html_url":"https://github.com/google/googletest/issues/953#issuecomment-301746021","issue_url":"https://api.github.com/repos/google/googletest/issues/953","id":301746021,"user":{"login":"4brunu","id":784666,"avatar_url":"https://avatars0.githubusercontent.com/u/784666?v=3","gravatar_id":"","url":"https://api.github.com/users/4brunu","html_url":"https://github.com/4brunu","followers_url":"https://api.github.com/users/4brunu/followers","following_url":"https://api.github.com/users/4brunu/following{/other_user}","gists_url":"https://api.github.com/users/4brunu/gists{/gist_id}","starred_url":"https://api.github.com/users/4brunu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4brunu/subscriptions","organizations_url":"https://api.github.com/users/4brunu/orgs","repos_url":"https://api.github.com/users/4brunu/repos","events_url":"https://api.github.com/users/4brunu/events{/privacy}","received_events_url":"https://api.github.com/users/4brunu/received_events","type":"User","site_admin":false},"created_at":"2017-05-16T10:51:28Z","updated_at":"2017-05-16T10:51:28Z","body":"https://github.com/google/googletest/pull/725 got merged yesterday to master, maybe this fix the issue.\r\nCan anyone confirm this?"}}
{"actor":{"display_login":"4brunu"}}