{"action":"created","issue":{"url":"https://api.github.com/repos/openbakery/gradle-xcodePlugin/issues/290","repository_url":"https://api.github.com/repos/openbakery/gradle-xcodePlugin","labels_url":"https://api.github.com/repos/openbakery/gradle-xcodePlugin/issues/290/labels{/name}","comments_url":"https://api.github.com/repos/openbakery/gradle-xcodePlugin/issues/290/comments","events_url":"https://api.github.com/repos/openbakery/gradle-xcodePlugin/issues/290/events","html_url":"https://github.com/openbakery/gradle-xcodePlugin/issues/290","id":168650395,"number":290,"title":"Failed to run test task but it works in XCode / AppCode","user":{"login":"duribreux","id":5458604,"avatar_url":"https://avatars.githubusercontent.com/u/5458604?v=3","gravatar_id":"","url":"https://api.github.com/users/duribreux","html_url":"https://github.com/duribreux","followers_url":"https://api.github.com/users/duribreux/followers","following_url":"https://api.github.com/users/duribreux/following{/other_user}","gists_url":"https://api.github.com/users/duribreux/gists{/gist_id}","starred_url":"https://api.github.com/users/duribreux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duribreux/subscriptions","organizations_url":"https://api.github.com/users/duribreux/orgs","repos_url":"https://api.github.com/users/duribreux/repos","events_url":"https://api.github.com/users/duribreux/events{/privacy}","received_events_url":"https://api.github.com/users/duribreux/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openbakery/gradle-xcodePlugin/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-01T13:50:15Z","updated_at":"2016-08-01T14:58:14Z","closed_at":null,"body":"I'm  trying to run `gradle test`, it used to work without any pod dependencies but now that I've some it fails.\r\n\r\n_build.gradle_:\r\n```\r\n// Some stuff...\r\n\r\ngradle.taskGraph.whenReady { taskGraph ->\r\n  if (taskGraph.hasTask(test)) {\r\n      xcodebuild {\r\n          scheme = \"*****Tests\"\r\n          target = \"*****Tests\"\r\n          configuration = \"Debug\"\r\n          destination {\r\n              platform = 'iOS Simulator'\r\n              name = 'iPhone 6s'\r\n              os = '8.3'\r\n          }\r\n      }\r\n  }\r\n\r\n // More stuff... \r\n}\r\n```\r\n\r\n_errors_:\r\n```\r\n15:29:04.259 [INFO] [org.openbakery.CommandRunner] ld: warning: ignoring file /Users/spirals/Documents/Work/Gitlab/Proto/*******-swift-sdk/build/sym/Debug-iphonesimulator/Alamofire.framework/Alamofire, file was built for i386 which is not the architecture being linked (x86_64): /Users/spirals/Documents/Work/Gitlab/Proto/*******-swift-sdk/build/sym/Debug-iphonesimulator/Alamofire.framework/Alamofire\r\nAnd so on for all my pods...\r\n```\r\n\r\n```\r\n15:29:04.390 [INFO] [org.openbakery.CommandRunner] The following build commands failed:\r\n15:29:04.390 [INFO] [org.openbakery.CommandRunner] \tLd build/sym/Debug-iphonesimulator/********.framework/******* normal x86_64\r\n```\r\n\r\nBut I'm able to build / run my tests in Xcode and AppCode without any trouble.\r\nAny idea about what's wrong with my configuration ?"},"comment":{"url":"https://api.github.com/repos/openbakery/gradle-xcodePlugin/issues/comments/236605867","html_url":"https://github.com/openbakery/gradle-xcodePlugin/issues/290#issuecomment-236605867","issue_url":"https://api.github.com/repos/openbakery/gradle-xcodePlugin/issues/290","id":236605867,"user":{"login":"renep","id":414025,"avatar_url":"https://avatars.githubusercontent.com/u/414025?v=3","gravatar_id":"","url":"https://api.github.com/users/renep","html_url":"https://github.com/renep","followers_url":"https://api.github.com/users/renep/followers","following_url":"https://api.github.com/users/renep/following{/other_user}","gists_url":"https://api.github.com/users/renep/gists{/gist_id}","starred_url":"https://api.github.com/users/renep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renep/subscriptions","organizations_url":"https://api.github.com/users/renep/orgs","repos_url":"https://api.github.com/users/renep/repos","events_url":"https://api.github.com/users/renep/events{/privacy}","received_events_url":"https://api.github.com/users/renep/received_events","type":"User","site_admin":false},"created_at":"2016-08-01T14:58:14Z","updated_at":"2016-08-01T14:58:14Z","body":"Added a Podfile to the swift example and it works for me:\r\nhttps://github.com/openbakery/gradle-xcodePlugin/tree/develop/example/iOS/SwiftExample"}}
{"actor":{"display_login":"renep"}}