{"action":"created","issue":{"url":"https://api.github.com/repos/RxSwiftCommunity/RxAlamofire/issues/57","repository_url":"https://api.github.com/repos/RxSwiftCommunity/RxAlamofire","labels_url":"https://api.github.com/repos/RxSwiftCommunity/RxAlamofire/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/RxSwiftCommunity/RxAlamofire/issues/57/comments","events_url":"https://api.github.com/repos/RxSwiftCommunity/RxAlamofire/issues/57/events","html_url":"https://github.com/RxSwiftCommunity/RxAlamofire/issues/57","id":182999016,"number":57,"title":"Invalid framework with carthage","user":{"login":"terietor","id":961759,"avatar_url":"https://avatars.githubusercontent.com/u/961759?v=3","gravatar_id":"","url":"https://api.github.com/users/terietor","html_url":"https://github.com/terietor","followers_url":"https://api.github.com/users/terietor/followers","following_url":"https://api.github.com/users/terietor/following{/other_user}","gists_url":"https://api.github.com/users/terietor/gists{/gist_id}","starred_url":"https://api.github.com/users/terietor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terietor/subscriptions","organizations_url":"https://api.github.com/users/terietor/orgs","repos_url":"https://api.github.com/users/terietor/repos","events_url":"https://api.github.com/users/terietor/events{/privacy}","received_events_url":"https://api.github.com/users/terietor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-14T09:05:26Z","updated_at":"2016-10-16T23:12:01Z","closed_at":null,"body":"If you use carthage in order to build RxAlamofire an invalid framework will be created.\r\n\r\nThe framework which will be created will work normally in the simulator and in devices but\r\nif you try to create an archive of your application which contains RxAlamofire you will come across to two issues\r\n\r\n1. XCode will crash \r\n2. ITC will complain about RxAlamofire embedded framework\r\n\r\nI have investigated these issues and I have some information to share.\r\n\r\n```\r\nls Carthage/Build/iOS/RxAlamofire.framework\r\nFrameworks     \r\nHeaders    \r\nInfo.plist   \r\nModules      \r\nRxAlamofire\r\nlibswiftRemoteMirror.dylib\r\n```\r\n \r\n```libswiftRemoteMirror.dylib``` is responsible for the XCode crashes.\r\nSo we remove it and we try another archive.\r\n\r\nThis time ITC will complain about the structure of our framework.\r\nSo if we remove the ```Frameworks``` directory it will work.\r\n\r\nQ: Why is RxAlamofire not working??\r\nA: Carthage is building RxAlamofire from the ```RxAlamofire.xcworkspace``` and not from the ```_.xcodeproj```. The  ```RxAlamofire.xcworkspace``` in the build settings it has ```ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=Yes``` but it should be ```ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=No```.\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/RxSwiftCommunity/RxAlamofire/issues/comments/254082255","html_url":"https://github.com/RxSwiftCommunity/RxAlamofire/issues/57#issuecomment-254082255","issue_url":"https://api.github.com/repos/RxSwiftCommunity/RxAlamofire/issues/57","id":254082255,"user":{"login":"kzaher","id":1641148,"avatar_url":"https://avatars.githubusercontent.com/u/1641148?v=3","gravatar_id":"","url":"https://api.github.com/users/kzaher","html_url":"https://github.com/kzaher","followers_url":"https://api.github.com/users/kzaher/followers","following_url":"https://api.github.com/users/kzaher/following{/other_user}","gists_url":"https://api.github.com/users/kzaher/gists{/gist_id}","starred_url":"https://api.github.com/users/kzaher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kzaher/subscriptions","organizations_url":"https://api.github.com/users/kzaher/orgs","repos_url":"https://api.github.com/users/kzaher/repos","events_url":"https://api.github.com/users/kzaher/events{/privacy}","received_events_url":"https://api.github.com/users/kzaher/received_events","type":"User","site_admin":false},"created_at":"2016-10-16T23:12:01Z","updated_at":"2016-10-16T23:12:01Z","body":"Hi @terietor ,\r\n\r\nI've pushed fix for this. If you figure out why Carthage is building the project from workspace, please let us know."}}
{"actor":{"display_login":"kzaher"}}