{"action":"created","issue":{"url":"https://api.github.com/repos/jonreid/OCMockito/issues/126","repository_url":"https://api.github.com/repos/jonreid/OCMockito","labels_url":"https://api.github.com/repos/jonreid/OCMockito/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/jonreid/OCMockito/issues/126/comments","events_url":"https://api.github.com/repos/jonreid/OCMockito/issues/126/events","html_url":"https://github.com/jonreid/OCMockito/issues/126","id":148395025,"number":126,"title":"Undefined symbols for architecture x86_64:","user":{"login":"liuzhiyi1992","id":13046550,"avatar_url":"https://avatars.githubusercontent.com/u/13046550?v=3","gravatar_id":"","url":"https://api.github.com/users/liuzhiyi1992","html_url":"https://github.com/liuzhiyi1992","followers_url":"https://api.github.com/users/liuzhiyi1992/followers","following_url":"https://api.github.com/users/liuzhiyi1992/following{/other_user}","gists_url":"https://api.github.com/users/liuzhiyi1992/gists{/gist_id}","starred_url":"https://api.github.com/users/liuzhiyi1992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liuzhiyi1992/subscriptions","organizations_url":"https://api.github.com/users/liuzhiyi1992/orgs","repos_url":"https://api.github.com/users/liuzhiyi1992/repos","events_url":"https://api.github.com/users/liuzhiyi1992/events{/privacy}","received_events_url":"https://api.github.com/users/liuzhiyi1992/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-14T15:17:35Z","updated_at":"2016-04-15T13:48:12Z","closed_at":null,"body":"#if setup with adding the framework download from https://github.com/jonreid/OCMockito/releases/\r\n\r\nOccur:\r\nld: warning: directory not found for option '-F\"/Applications/Xcode.app/Contents/Developer/Library/Frameworks\"'\r\n\r\nUndefined symbols for architecture x86_64:\r\n  \"_HCDescribeMismatch\", referenced from:\r\n      -[MKTInvocationMatcher enumerateMismatchesOf:usingBlock:] in OCMockitoIOS(MKTInvocationMatcher.o)\r\n  \"_HCWrapInMatcher\", referenced from:\r\n      -[MKTInvocationMatcher matcherForArgument:] in OCMockitoIOS(MKTInvocationMatcher.o)\r\n  \"_HC_nilValue\", referenced from:\r\n      -[MKTInvocationMatcher matcherForArgument:] in OCMockitoIOS(MKTInvocationMatcher.o)\r\n  \"_OBJC_CLASS_$_HCStringDescription\", referenced from:\r\n      objc-class-ref in OCMockitoIOS(MKTPrinter.o)\r\n  \"_OBJC_CLASS_$_HCTestFailure\", referenced from:\r\n      objc-class-ref in OCMockitoIOS(MKTTestLocation.o)\r\n  \"_OBJC_CLASS_$_HCTestFailureReporterChain\", referenced from:\r\n      objc-class-ref in OCMockitoIOS(MKTTestLocation.o)\r\n  \"_OBJC_CLASS_$_OCMMacroState\", referenced from:\r\n      objc-class-ref in BusinessListPickerTest.o\r\n  \"_OBJC_CLASS_$_OCMockObject\", referenced from:\r\n      objc-class-ref in BusinessListPickerTest.o\r\nld: symbol(s) not found for architecture x86_64\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\n\r\n\r\n\r\n****\r\n#And if setup with pod used:\r\n```\r\ntarget :MyTests, :exclusive => true do\r\n  pod 'OCMockito', '~> 3.0.1'\r\nend\r\n```\r\n\r\n\r\nOccur:\r\n\r\nUndefined symbols for architecture x86_64:\r\n  \"_MKTMock\", referenced from:\r\n      _mock in SportTests.o\r\nld: symbol(s) not found for architecture x86_64\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jonreid/OCMockito/issues/comments/210470457","html_url":"https://github.com/jonreid/OCMockito/issues/126#issuecomment-210470457","issue_url":"https://api.github.com/repos/jonreid/OCMockito/issues/126","id":210470457,"user":{"login":"liuzhiyi1992","id":13046550,"avatar_url":"https://avatars.githubusercontent.com/u/13046550?v=3","gravatar_id":"","url":"https://api.github.com/users/liuzhiyi1992","html_url":"https://github.com/liuzhiyi1992","followers_url":"https://api.github.com/users/liuzhiyi1992/followers","following_url":"https://api.github.com/users/liuzhiyi1992/following{/other_user}","gists_url":"https://api.github.com/users/liuzhiyi1992/gists{/gist_id}","starred_url":"https://api.github.com/users/liuzhiyi1992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liuzhiyi1992/subscriptions","organizations_url":"https://api.github.com/users/liuzhiyi1992/orgs","repos_url":"https://api.github.com/users/liuzhiyi1992/repos","events_url":"https://api.github.com/users/liuzhiyi1992/events{/privacy}","received_events_url":"https://api.github.com/users/liuzhiyi1992/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T13:48:12Z","updated_at":"2016-04-15T13:48:12Z","body":"add $(inherited) to Other Linker Flag to fixed this problem"}}