{"action":"created","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/5598","repository_url":"https://api.github.com/repos/CocoaPods/CocoaPods","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/5598/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/5598/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/5598/events","html_url":"https://github.com/CocoaPods/CocoaPods/issues/5598","id":163978026,"number":5598,"title":"[Xcode 8 beta 2]: CopySwiftLibs for Pods framework fails with Mach-O header error","user":{"login":"jshier","id":51020,"avatar_url":"https://avatars.githubusercontent.com/u/51020?v=3","gravatar_id":"","url":"https://api.github.com/users/jshier","html_url":"https://github.com/jshier","followers_url":"https://api.github.com/users/jshier/followers","following_url":"https://api.github.com/users/jshier/following{/other_user}","gists_url":"https://api.github.com/users/jshier/gists{/gist_id}","starred_url":"https://api.github.com/users/jshier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jshier/subscriptions","organizations_url":"https://api.github.com/users/jshier/orgs","repos_url":"https://api.github.com/users/jshier/repos","events_url":"https://api.github.com/users/jshier/events{/privacy}","received_events_url":"https://api.github.com/users/jshier/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":30,"created_at":"2016-07-06T01:02:40Z","updated_at":"2016-07-25T15:15:55Z","closed_at":"2016-07-18T19:02:31Z","body":"🌈\r\n\r\n* [x] I've read and understood the [*CONTRIBUTING guidelines and have done my best effort to follow](https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md).\r\n\r\n# Report\r\n\r\nWhen attempting to build my project using Xcode 8 beta 2, it fails to build with a `Found an unexpected Mach-O header code: 0x72613c21` error during the `CopySwiftLibs /Users/jshier/Library/Developer/Xcode/DerivedData/ValidationTest-gtjgwrjygnilcneuhsknzgpuuhun/Build/Products/Debug-iphonesimulator/Pods_ValidationTest.framework` step. This has been seen before when there's a signing issue, however, this project worked fine in beta 1. Perhaps something about the new framework signing is an issue now? Even when I set the project to not sign and then build for the 6s simulator I get the same error.\r\n## What did you do?\r\n\r\nRan the build step in Xcode 8 beta 2 (10.11.5). \r\n\r\n## What did you expect to happen?\r\n\r\nSuccessful build.\r\n\r\n## What happened instead?\r\n\r\nBuild failure, as described.\r\n\r\n## CocoaPods Environment\r\n\r\n### Gemfile\r\n\r\n```ruby\r\nsource \"https://rubygems.org\"\r\n\r\ngem \"cocoapods\", :git => 'https://github.com/CocoaPods/CocoaPods.git'\r\ngem \"xcodeproj\", :git => 'https://github.com/CocoaPods/Xcodeproj.git'\r\ngem 'cocoapods-downloader', :git => 'https://github.com/CocoaPods/cocoapods-downloader.git'\r\ngem 'cocoapods-core', :git => 'https://github.com/CocoaPods/Core.git'\r\ngem 'activesupport', '~> 4.2.6'\r\n```\r\n\r\n### Stack\r\n\r\n```\r\n   CocoaPods : 1.0.1\r\n        Ruby : ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]\r\n    RubyGems : 2.5.1\r\n        Host : Mac OS X 10.11.5 (15F34)\r\n       Xcode : 8.0 (8S162m)\r\n         Git : git version 2.8.4 (Apple Git-73)\r\nRuby lib dir : /Users/jshier/.rvm/rubies/ruby-2.3.1/lib\r\nRepositories : detroit-labs-specs - https://github.com/detroit-labs/detroit-labs-specs.git @ 90fd1ac1e0b30403afd5ea66b6353d058267efdd\r\n               master - https://github.com/CocoaPods/Specs.git @ 7f933b66717e5e7c8fa100c2d8804af119b2f820\r\n```\r\n\r\n### Installation Source\r\n\r\n```\r\nExecutable Path: /Users/jshier/.rvm/gems/ruby-2.3.1@unexpectedmachoheader/bin/pod\r\n```\r\n\r\n### Plugins\r\n\r\n```\r\ncocoapods-deintegrate : 1.0.0\r\ncocoapods-plugins     : 1.0.0\r\ncocoapods-search      : 1.0.0\r\ncocoapods-stats       : 1.0.0\r\ncocoapods-trunk       : 1.0.0\r\ncocoapods-try         : 1.0.0\r\n```\r\n\r\n### Podfile\r\n\r\n```ruby\r\nplatform :ios, '10.0'\r\n\r\ntarget 'ValidationTest' do\r\n  \r\n  use_frameworks!\r\n  \r\n pod 'Alamofire', git: \"https://github.com/Alamofire/Alamofire.git\", branch: \"swift3\"\r\n\r\nend\r\n\r\npost_install do |installer|\r\n  installer.pods_project.targets.each do |target|\r\n    target.build_configurations.each do |config|\r\n      if config.name != 'Debug'\r\n        config.build_settings['SWIFT_OPTIMIZATION_LEVEL'] = '-Owholemodule'\r\n      else\r\n        config.build_settings['SWIFT_OPTIMIZATION_LEVEL'] = '-Onone'\r\n      end\r\n    end\r\n  end\r\nend\r\n```\r\n## Project that demonstrates the issue\r\n\r\nhttps://github.com/jshier/unexpectedMachOHeader.git\r\n"},"comment":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/comments/234984060","html_url":"https://github.com/CocoaPods/CocoaPods/issues/5598#issuecomment-234984060","issue_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/5598","id":234984060,"user":{"login":"frandelarosa","id":426402,"avatar_url":"https://avatars.githubusercontent.com/u/426402?v=3","gravatar_id":"","url":"https://api.github.com/users/frandelarosa","html_url":"https://github.com/frandelarosa","followers_url":"https://api.github.com/users/frandelarosa/followers","following_url":"https://api.github.com/users/frandelarosa/following{/other_user}","gists_url":"https://api.github.com/users/frandelarosa/gists{/gist_id}","starred_url":"https://api.github.com/users/frandelarosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frandelarosa/subscriptions","organizations_url":"https://api.github.com/users/frandelarosa/orgs","repos_url":"https://api.github.com/users/frandelarosa/repos","events_url":"https://api.github.com/users/frandelarosa/events{/privacy}","received_events_url":"https://api.github.com/users/frandelarosa/received_events","type":"User","site_admin":false},"created_at":"2016-07-25T15:15:55Z","updated_at":"2016-07-25T15:15:55Z","body":"Not working with Xcode 8 beta 3."}}
{"actor":{"display_login":"frandelarosa"}}