{"action":"created","issue":{"url":"https://api.github.com/repos/madebybowtie/FlagKit/issues/40","repository_url":"https://api.github.com/repos/madebybowtie/FlagKit","labels_url":"https://api.github.com/repos/madebybowtie/FlagKit/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/madebybowtie/FlagKit/issues/40/comments","events_url":"https://api.github.com/repos/madebybowtie/FlagKit/issues/40/events","html_url":"https://github.com/madebybowtie/FlagKit/issues/40","id":179988066,"number":40,"title":"Carthage build failed, OS X 10.11.6, Xcode 8, Swift 3.","user":{"login":"aalenliang","id":20056005,"avatar_url":"https://avatars.githubusercontent.com/u/20056005?v=3","gravatar_id":"","url":"https://api.github.com/users/aalenliang","html_url":"https://github.com/aalenliang","followers_url":"https://api.github.com/users/aalenliang/followers","following_url":"https://api.github.com/users/aalenliang/following{/other_user}","gists_url":"https://api.github.com/users/aalenliang/gists{/gist_id}","starred_url":"https://api.github.com/users/aalenliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aalenliang/subscriptions","organizations_url":"https://api.github.com/users/aalenliang/orgs","repos_url":"https://api.github.com/users/aalenliang/repos","events_url":"https://api.github.com/users/aalenliang/events{/privacy}","received_events_url":"https://api.github.com/users/aalenliang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-29T08:51:35Z","updated_at":"2016-10-04T07:09:17Z","closed_at":"2016-09-29T14:08:38Z","body":"I'm using FlagKit for macOS project, programming in Swift 3.\r\nMy system is OS X 10.11.6, platform is Xcode 8, Carthage 0.18.\r\nIn my Cartfile, I wrote:\r\ngithub \"madebybowtie/FlagKit\" \"swift3\"\r\n\r\nWhen I run \"carthage update\" in my console, it always failed to build:\r\n\r\nFailed to write to /Users/User/Documents/Projects/Lab/Project/Carthage/Build/Mac/FlagKit.framework: Error Domain=NSCocoaErrorDomain Code=260 \"The file “FlagKit.framework” couldn’t be opened because there is no such file.\" UserInfo={NSFilePath=/Users/User/Documents/Projects/Lab/Project/Carthage/Checkouts/FlagKit/DerivedData/FlagKit/Build/Products/Release-iphoneos/FlagKit.framework, NSUnderlyingError=0x7f89ce1c04f0 {Error Domain=NSPOSIXErrorDomain Code=2 \"No such file or directory\"}}\r\n\r\nThe 'FlagKit.framework' file actually exist in '/Release' folder, I tried \"carthage update --platform Mac\" got the same error.\r\n\r\nLooking for help, Thanks a lot."},"comment":{"url":"https://api.github.com/repos/madebybowtie/FlagKit/issues/comments/251310867","html_url":"https://github.com/madebybowtie/FlagKit/issues/40#issuecomment-251310867","issue_url":"https://api.github.com/repos/madebybowtie/FlagKit/issues/40","id":251310867,"user":{"login":"aalenliang","id":20056005,"avatar_url":"https://avatars.githubusercontent.com/u/20056005?v=3","gravatar_id":"","url":"https://api.github.com/users/aalenliang","html_url":"https://github.com/aalenliang","followers_url":"https://api.github.com/users/aalenliang/followers","following_url":"https://api.github.com/users/aalenliang/following{/other_user}","gists_url":"https://api.github.com/users/aalenliang/gists{/gist_id}","starred_url":"https://api.github.com/users/aalenliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aalenliang/subscriptions","organizations_url":"https://api.github.com/users/aalenliang/orgs","repos_url":"https://api.github.com/users/aalenliang/repos","events_url":"https://api.github.com/users/aalenliang/events{/privacy}","received_events_url":"https://api.github.com/users/aalenliang/received_events","type":"User","site_admin":false},"created_at":"2016-10-04T07:09:17Z","updated_at":"2016-10-04T07:09:17Z","body":"I did some research today, it turns out to be Carthage's issue.\r\n\r\nCarthage seems to try to copy the file in \r\n\"/Users/User/Library/Developer/Xcode/DerivedData/FlagKit-elyskaizpvzagzbknlniohvnpdaa/Build/Products/**Release-iphoneos**/FlagKit.framework\"\r\nto\r\n\".../MyProject/Carthage/Build/**Mac**/FlagKit.framework\"\r\nWhich is obviously wrong thing to do.\r\n\r\nAccording to current FlagKit project configuration, it builds framework for all platforms. After copying the framework to my project manually, it works fine.\r\n"}}
{"actor":{"display_login":"aalenliang"}}