{"action":"created","issue":{"url":"https://api.github.com/repos/linkedin/LayoutTest-iOS/issues/8","repository_url":"https://api.github.com/repos/linkedin/LayoutTest-iOS","labels_url":"https://api.github.com/repos/linkedin/LayoutTest-iOS/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/linkedin/LayoutTest-iOS/issues/8/comments","events_url":"https://api.github.com/repos/linkedin/LayoutTest-iOS/issues/8/events","html_url":"https://github.com/linkedin/LayoutTest-iOS/issues/8","id":133071304,"number":8,"title":"Module 'LayoutTestBase' not found","user":{"login":"cconeil","id":1817861,"avatar_url":"https://avatars.githubusercontent.com/u/1817861?v=3","gravatar_id":"","url":"https://api.github.com/users/cconeil","html_url":"https://github.com/cconeil","followers_url":"https://api.github.com/users/cconeil/followers","following_url":"https://api.github.com/users/cconeil/following{/other_user}","gists_url":"https://api.github.com/users/cconeil/gists{/gist_id}","starred_url":"https://api.github.com/users/cconeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cconeil/subscriptions","organizations_url":"https://api.github.com/users/cconeil/orgs","repos_url":"https://api.github.com/users/cconeil/repos","events_url":"https://api.github.com/users/cconeil/events{/privacy}","received_events_url":"https://api.github.com/users/cconeil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-11T19:48:29Z","updated_at":"2016-02-16T16:17:27Z","closed_at":null,"body":"I'm getting an error when trying to build for tests, even without `#import \"LayoutTest.h\"` anywhere.\r\n\r\n<img width=\"807\" alt=\"screen shot 2016-02-11 at 11 42 12 am\" src=\"https://cloud.githubusercontent.com/assets/1817861/12988265/bb7db2b6-d0b4-11e5-9664-11129e9331a7.png\">\r\n\r\nIt seems like the linker is having a hard time with the `@import`. I'm only linking these pods with my test target, which has a minimum build of iOS 7.0. I'm using cocoapods `0.38.2`. I'm facing this issue in `pod 'LayoutTest', '1.1.0'` and `pod 'LayoutTest', '~> 1.1.1'`\r\n\r\nIs there anything I can do fix this issue? I would love to be able to integrate these view tests! It seems like a very well done testing framework. Thanks!"},"comment":{"url":"https://api.github.com/repos/linkedin/LayoutTest-iOS/issues/comments/184751131","html_url":"https://github.com/linkedin/LayoutTest-iOS/issues/8#issuecomment-184751131","issue_url":"https://api.github.com/repos/linkedin/LayoutTest-iOS/issues/8","id":184751131,"user":{"login":"plivesey","id":1248589,"avatar_url":"https://avatars.githubusercontent.com/u/1248589?v=3","gravatar_id":"","url":"https://api.github.com/users/plivesey","html_url":"https://github.com/plivesey","followers_url":"https://api.github.com/users/plivesey/followers","following_url":"https://api.github.com/users/plivesey/following{/other_user}","gists_url":"https://api.github.com/users/plivesey/gists{/gist_id}","starred_url":"https://api.github.com/users/plivesey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plivesey/subscriptions","organizations_url":"https://api.github.com/users/plivesey/orgs","repos_url":"https://api.github.com/users/plivesey/repos","events_url":"https://api.github.com/users/plivesey/events{/privacy}","received_events_url":"https://api.github.com/users/plivesey/received_events","type":"User","site_admin":false},"created_at":"2016-02-16T16:17:27Z","updated_at":"2016-02-16T16:17:27Z","body":"Hmmmm. I'd like to support iOS 7, because there's nothing in the code which is iOS 8 specific.\r\n\r\nI think this was needed for swift support because using ```#import \"LayoutTestBase.h\"``` didn't work with Allow non-modular Includes.\r\n\r\nDoes changing to ```#import \"LayoutTestBase.h\"``` fix the problem for you guys?\r\n\r\nBefore abandoning iOS 7, I'd go for:\r\n\r\n- Adding iOS 8 as the minimum build target for LayoutTest/Swift. This is because Swift isn't supported for cocoapods < iOS 8 (maybe we don't need this because cocoapods will already warn people?)\r\n- Finding a work around to make this work on iOS 7. My first idea is to do something like ``` #if BUILD_SESSINGS.target == 'iOS 7'```\r\n\r\nI think I'll have some time to look at this today."}}