{"action":"closed","issue":{"url":"https://api.github.com/repos/MakeAWishFoundation/SwiftyMocky/issues/103","repository_url":"https://api.github.com/repos/MakeAWishFoundation/SwiftyMocky","labels_url":"https://api.github.com/repos/MakeAWishFoundation/SwiftyMocky/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/MakeAWishFoundation/SwiftyMocky/issues/103/comments","events_url":"https://api.github.com/repos/MakeAWishFoundation/SwiftyMocky/issues/103/events","html_url":"https://github.com/MakeAWishFoundation/SwiftyMocky/issues/103","id":287414885,"node_id":"MDU6SXNzdWUyODc0MTQ4ODU=","number":103,"title":"Error: module compiled with Swift 4.0 cannot be imported in Swift 4.0.3 - SourceryRuntime","user":{"login":"pgorzelany","id":3740966,"node_id":"MDQ6VXNlcjM3NDA5NjY=","avatar_url":"https://avatars1.githubusercontent.com/u/3740966?v=4","gravatar_id":"","url":"https://api.github.com/users/pgorzelany","html_url":"https://github.com/pgorzelany","followers_url":"https://api.github.com/users/pgorzelany/followers","following_url":"https://api.github.com/users/pgorzelany/following{/other_user}","gists_url":"https://api.github.com/users/pgorzelany/gists{/gist_id}","starred_url":"https://api.github.com/users/pgorzelany/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgorzelany/subscriptions","organizations_url":"https://api.github.com/users/pgorzelany/orgs","repos_url":"https://api.github.com/users/pgorzelany/repos","events_url":"https://api.github.com/users/pgorzelany/events{/privacy}","received_events_url":"https://api.github.com/users/pgorzelany/received_events","type":"User","site_admin":false},"labels":[{"id":671752271,"node_id":"MDU6TGFiZWw2NzE3NTIyNzE=","url":"https://api.github.com/repos/MakeAWishFoundation/SwiftyMocky/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-01-10T12:21:14Z","updated_at":"2018-09-19T09:17:43Z","closed_at":"2018-09-19T09:17:43Z","author_association":"NONE","body":"Hi guys,\r\n\r\nFirst of all thanks for all the hard work you've put into this project, it looks great. I wanted to try out SwiftMocky in one of our projects and hit an error right away at the mock generation phase.\r\n\r\nI am using Xcode 9.2, Swift 4.0.3. I installed SwiftMocky (1.0.2) through Cocoapods (1.3.1) configured the mocky.yml file as instructed in the docs and run :\r\n\r\n`Pods/Sourcery/bin/Sourcery.app/Contents/MacOS/Sourcery --config mocky.yml`\r\n\r\nI get the following output\r\n```\r\nUsing configuration file at 'mocky.yml'\r\nScanning sources...\r\nFound 582 types.\r\nLoading templates...\r\nLoaded 1 templates.\r\nGenerating code...\r\nerror: /var/folders/s2/xq1bmrbn2y9grg4m2_lppplr0000gq/T/Sourcery.build/main.swift:2:8: error: module compiled with Swift 4.0 cannot be imported in Swift 4.0.3: /var/folders/s2/xq1bmrbn2y9grg4m2_lppplr0000gq/T/SourceryRuntime.framework/Modules/SourceryRuntime.swiftmodule/x86_64.swiftmodule\r\nimport SourceryRuntime\r\n```\r\nI suspect that the SourceryRuntime lib is precompiled using a different version of Swift. Do you have a workaround to this issue?"}}
{"actor":{"display_login":"amichnia"}}