{"action":"created","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3310","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3310/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3310/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3310/events","html_url":"https://github.com/CocoaPods/CocoaPods/issues/3310","id":63851914,"number":3310,"title":"Pushing podspec fails in 0.36 for OSX resource bundle.","user":{"login":"brianpartridge","id":47840,"avatar_url":"https://avatars.githubusercontent.com/u/47840?v=3","gravatar_id":"","url":"https://api.github.com/users/brianpartridge","html_url":"https://github.com/brianpartridge","followers_url":"https://api.github.com/users/brianpartridge/followers","following_url":"https://api.github.com/users/brianpartridge/following{/other_user}","gists_url":"https://api.github.com/users/brianpartridge/gists{/gist_id}","starred_url":"https://api.github.com/users/brianpartridge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianpartridge/subscriptions","organizations_url":"https://api.github.com/users/brianpartridge/orgs","repos_url":"https://api.github.com/users/brianpartridge/repos","events_url":"https://api.github.com/users/brianpartridge/events{/privacy}","received_events_url":"https://api.github.com/users/brianpartridge/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/labels/s1:awaiting%20input","name":"s1:awaiting input","color":"EDCE24"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-23T22:48:21Z","updated_at":"2015-04-01T20:35:32Z","closed_at":null,"body":"I have a podspec for a library which supports OSX and iOS and contains a resource bundle which is used on both platforms.  Recently, when trying to push a new version to our private spec repo (`pod repo push <repo> <podspec>`), the OSX version has failed when validating the resource bundle:\r\n\r\n```\r\n/usr/bin/codesign --force --sign - /var/folders/6j/4__tztjj7j3_gn_4bjmsvzq8000253/T/CocoaPods/Lint/build/Release/SquareCoreResources.bundle\r\n/var/folders/6j/4__tztjj7j3_gn_4bjmsvzq8000253/T/CocoaPods/Lint/build/Release/SquareCoreResources.bundle: bundle format unrecognized, invalid, or unsuitable\r\nCommand /usr/bin/codesign failed with exit code 1\r\n```\r\n\r\nThis works fine with CocoaPods 0.35, but is a new issue with 0.36.  The pod is installed and built into it's local example project just fine.  I know some changes went into 0.36 with fixed another bug with resource bundles, maybe this is a side effect?\r\n\r\nFor reference here's the spec:\r\n\r\n```\r\nPod::Spec.new do |s|\r\n  s.name         = \"SquareCore\"\r\n\r\n#snip\r\n  \r\n  s.ios.deployment_target = \"7.0\"\r\n  s.osx.deployment_target = \"10.8\"\r\n  \r\n#snip\r\n  \r\n  s.resource_bundle = { \"SquareCoreResources\" => [\"Resources/SquareCoreResources/*\"]}\r\n}\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/comments/88624021","html_url":"https://github.com/CocoaPods/CocoaPods/issues/3310#issuecomment-88624021","issue_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3310","id":88624021,"user":{"login":"segiddins","id":1946610,"avatar_url":"https://avatars.githubusercontent.com/u/1946610?v=3","gravatar_id":"","url":"https://api.github.com/users/segiddins","html_url":"https://github.com/segiddins","followers_url":"https://api.github.com/users/segiddins/followers","following_url":"https://api.github.com/users/segiddins/following{/other_user}","gists_url":"https://api.github.com/users/segiddins/gists{/gist_id}","starred_url":"https://api.github.com/users/segiddins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segiddins/subscriptions","organizations_url":"https://api.github.com/users/segiddins/orgs","repos_url":"https://api.github.com/users/segiddins/repos","events_url":"https://api.github.com/users/segiddins/events{/privacy}","received_events_url":"https://api.github.com/users/segiddins/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T20:35:32Z","updated_at":"2015-04-01T20:35:32Z","body":"@neonichu as I recall, you've worked on some of the code signing stuff. would you be able to look into this?"}}