{"action":"closed","issue":{"url":"https://api.github.com/repos/xcodeswift/xcproj/issues/222","repository_url":"https://api.github.com/repos/xcodeswift/xcproj","labels_url":"https://api.github.com/repos/xcodeswift/xcproj/issues/222/labels{/name}","comments_url":"https://api.github.com/repos/xcodeswift/xcproj/issues/222/comments","events_url":"https://api.github.com/repos/xcodeswift/xcproj/issues/222/events","html_url":"https://github.com/xcodeswift/xcproj/issues/222","id":292664896,"number":222,"title":"Unable to CodeSign 4.0.0","user":{"login":"ileitch","id":48235,"avatar_url":"https://avatars0.githubusercontent.com/u/48235?v=4","gravatar_id":"","url":"https://api.github.com/users/ileitch","html_url":"https://github.com/ileitch","followers_url":"https://api.github.com/users/ileitch/followers","following_url":"https://api.github.com/users/ileitch/following{/other_user}","gists_url":"https://api.github.com/users/ileitch/gists{/gist_id}","starred_url":"https://api.github.com/users/ileitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ileitch/subscriptions","organizations_url":"https://api.github.com/users/ileitch/orgs","repos_url":"https://api.github.com/users/ileitch/repos","events_url":"https://api.github.com/users/ileitch/events{/privacy}","received_events_url":"https://api.github.com/users/ileitch/received_events","type":"User","site_admin":false},"labels":[{"id":640807081,"url":"https://api.github.com/repos/xcodeswift/xcproj/labels/difficulty:easy","name":"difficulty:easy","color":"d93f0b","default":false},{"id":717545504,"url":"https://api.github.com/repos/xcodeswift/xcproj/labels/good%20first%20issue","name":"good first issue","color":"681daa","default":true},{"id":640807172,"url":"https://api.github.com/repos/xcodeswift/xcproj/labels/status:ready-development","name":"status:ready-development","color":"0e8a16","default":false},{"id":640807190,"url":"https://api.github.com/repos/xcodeswift/xcproj/labels/type:bug","name":"type:bug","color":"1d76db","default":false}],"state":"closed","locked":false,"assignee":{"login":"pepibumur","id":663605,"avatar_url":"https://avatars3.githubusercontent.com/u/663605?v=4","gravatar_id":"","url":"https://api.github.com/users/pepibumur","html_url":"https://github.com/pepibumur","followers_url":"https://api.github.com/users/pepibumur/followers","following_url":"https://api.github.com/users/pepibumur/following{/other_user}","gists_url":"https://api.github.com/users/pepibumur/gists{/gist_id}","starred_url":"https://api.github.com/users/pepibumur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pepibumur/subscriptions","organizations_url":"https://api.github.com/users/pepibumur/orgs","repos_url":"https://api.github.com/users/pepibumur/repos","events_url":"https://api.github.com/users/pepibumur/events{/privacy}","received_events_url":"https://api.github.com/users/pepibumur/received_events","type":"User","site_admin":false},"assignees":[{"login":"pepibumur","id":663605,"avatar_url":"https://avatars3.githubusercontent.com/u/663605?v=4","gravatar_id":"","url":"https://api.github.com/users/pepibumur","html_url":"https://github.com/pepibumur","followers_url":"https://api.github.com/users/pepibumur/followers","following_url":"https://api.github.com/users/pepibumur/following{/other_user}","gists_url":"https://api.github.com/users/pepibumur/gists{/gist_id}","starred_url":"https://api.github.com/users/pepibumur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pepibumur/subscriptions","organizations_url":"https://api.github.com/users/pepibumur/orgs","repos_url":"https://api.github.com/users/pepibumur/repos","events_url":"https://api.github.com/users/pepibumur/events{/privacy}","received_events_url":"https://api.github.com/users/pepibumur/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-01-30T06:16:10Z","updated_at":"2018-02-04T20:34:51Z","closed_at":"2018-02-04T20:34:51Z","author_association":"NONE","body":"## Context 🕵️‍♀️\r\n\r\nCartfile.resolved:\r\n```\r\ngithub \"drmohundro/SWXMLHash\" \"4.3.6\"\r\ngithub \"jpsim/SourceKitten\" \"0.18.4\"\r\ngithub \"jpsim/Yams\" \"0.4.1\"\r\ngithub \"tadija/AEXML\" \"4.2.2\"\r\ngithub \"xcodeswift/PathKit\" \"f11da4713b9f78159f1102959642f02c57c9e6a8\"\r\ngithub \"xcodeswift/xcproj\" \"4.0.0\"\r\n```\r\n\r\n```\r\nXcode 9.2\r\nBuild version 9C40b\r\n```\r\n\r\n## What 🌱\r\n\r\nI'm trying to use `4.0.0` via Carthage, but I'm running into this error when I build in Xcode:\r\n\r\n```\r\nCodeSign /Users/ian/Library/Developer/Xcode/DerivedData/Periphery-gfeozjwicoktcdckygqnuqyqxlzg/Build/Products/Debug/Periphery.app/Contents/Frameworks/xcproj.framework/Versions/A\r\n    cd /Users/ian/code/ileitch/periphery\r\n    export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate\r\n    \r\nSigning Identity:     \"Mac Developer: Ian Leitch (abc123)\"\r\n\r\n    /usr/bin/codesign --force --sign abc123 --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/ian/Library/Developer/Xcode/DerivedData/Periphery-gfeozjwicoktcdckygqnuqyqxlzg/Build/Products/Debug/Periphery.app/Contents/Frameworks/xcproj.framework/Versions/A\r\n\r\n/Users/ian/Library/Developer/Xcode/DerivedData/Periphery-gfeozjwicoktcdckygqnuqyqxlzg/Build/Products/Debug/Periphery.app/Contents/Frameworks/xcproj.framework/Versions/A: bundle format unrecognized, invalid, or unsuitable\r\nCommand /usr/bin/codesign failed with exit code 1\r\n```\r\n\r\nAll other frameworks sign without error.\r\n\r\nAlso, when I run `carthage build --platform macos` I get\r\n```\r\n*** xcodebuild output can be found in /var/folders/4h/_bg3bcqs6_3dblt8tfzk5bhh0000gn/T/carthage-xcodebuild.JyH9Xv.log\r\n*** Building scheme \"AEXML OSX\" in AEXML.xcodeproj\r\n*** Building scheme \"PathKitmacOS\" in PathKit.xcodeproj\r\n*** Building scheme \"SWXMLHash OSX\" in SWXMLHash.xcworkspace\r\n*** Building scheme \"xcproj_macOS\" in Carthage.xcodeproj\r\nFailed to read file or folder at /Users/ian/code/ileitch/periphery/Carthage/Build/Mac/xcproj.framework\r\n```\r\n\r\nNote the final line: `Failed to read file or folder at /Users/ian/code/ileitch/periphery/Carthage/Build/Mac/xcproj.framework`\r\n\r\nI also tried to downgrade to `3.0.0`, but `carthage build` produced the error:\r\n```\r\n*** Skipped building xcproj due to the error:\r\nDependency \"xcproj\" has no shared framework schemes for any of the platforms: Mac\r\n```\r\n\r\nAny ideas?"}}
{"actor":{"display_login":"pepibumur"}}