{"action":"created","issue":{"url":"https://api.github.com/repos/ReactiveX/RxSwift/issues/192","labels_url":"https://api.github.com/repos/ReactiveX/RxSwift/issues/192/labels{/name}","comments_url":"https://api.github.com/repos/ReactiveX/RxSwift/issues/192/comments","events_url":"https://api.github.com/repos/ReactiveX/RxSwift/issues/192/events","html_url":"https://github.com/ReactiveX/RxSwift/issues/192","id":111372792,"number":192,"title":"Error on archive submission: Bundle contains disallowed file 'Frameworks'","user":{"login":"aexmachina","id":261804,"avatar_url":"https://avatars.githubusercontent.com/u/261804?v=3","gravatar_id":"","url":"https://api.github.com/users/aexmachina","html_url":"https://github.com/aexmachina","followers_url":"https://api.github.com/users/aexmachina/followers","following_url":"https://api.github.com/users/aexmachina/following{/other_user}","gists_url":"https://api.github.com/users/aexmachina/gists{/gist_id}","starred_url":"https://api.github.com/users/aexmachina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aexmachina/subscriptions","organizations_url":"https://api.github.com/users/aexmachina/orgs","repos_url":"https://api.github.com/users/aexmachina/repos","events_url":"https://api.github.com/users/aexmachina/events{/privacy}","received_events_url":"https://api.github.com/users/aexmachina/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-14T10:48:52Z","updated_at":"2015-10-14T11:02:51Z","closed_at":null,"body":"When I install RxSwift using Carthage I get the following error when I submit the archive to the app store:\r\n\r\n```\r\nThe bundle at 'foobar.app/Frameworks/RxSwift.framework' contains disallowed file 'Frameworks'\r\nThe bundle at 'foobar.app/Frameworks/RxCocoa.framework' contains disallowed file 'Frameworks'\r\nThe bundle at 'foobar.app/Frameworks/RxBlocking.framework' contains disallowed file 'Frameworks'\r\n```\r\n\r\nI can see that there is indeed a Frameworks directory created for each of these packages (but not for any of the other Carthage packages that we're using).\r\n\r\n```sh\r\n$ find Carthage -name Frameworks | xargs ls\r\nCarthage/Build/iOS/RxBlocking.framework/Frameworks:\r\nlibswiftCore.dylib\t\tlibswiftDarwin.dylib\t\tlibswiftFoundation.dylib\r\nlibswiftCoreGraphics.dylib\tlibswiftDispatch.dylib\t\tlibswiftObjectiveC.dylib\r\n\r\nCarthage/Build/iOS/RxCocoa.framework/Frameworks:\r\nlibswiftCore.dylib\t\tlibswiftCoreLocation.dylib\tlibswiftFoundation.dylib\r\nlibswiftCoreGraphics.dylib\tlibswiftDarwin.dylib\t\tlibswiftObjectiveC.dylib\r\nlibswiftCoreImage.dylib\t\tlibswiftDispatch.dylib\t\tlibswiftUIKit.dylib\r\n\r\nCarthage/Build/iOS/RxSwift.framework/Frameworks:\r\nlibswiftCore.dylib\t\tlibswiftDarwin.dylib\t\tlibswiftFoundation.dylib\r\nlibswiftCoreGraphics.dylib\tlibswiftDispatch.dylib\t\tlibswiftObjectiveC.dylib\r\n```\r\n\r\nIf I remove these directories then the archive submission is successful."},"comment":{"url":"https://api.github.com/repos/ReactiveX/RxSwift/issues/comments/148017285","html_url":"https://github.com/ReactiveX/RxSwift/issues/192#issuecomment-148017285","issue_url":"https://api.github.com/repos/ReactiveX/RxSwift/issues/192","id":148017285,"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":"2015-10-14T11:02:51Z","updated_at":"2015-10-14T11:02:51Z","body":"I think there is a possibility that Carthage just overwrites files, which means you would have a union of old and new files.\r\n\r\nThere is also a possibility that Xcode cache is maybe wrong.\r\n\r\nI've tried to build fresh version for myself right now and don't see Frameworks dir.\r\n\r\nCould you please try to run\r\n\r\n```\r\nclean xcode derived data\r\nrm -rf Carthage\r\ncarthage update\r\n```\r\n"}}