{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/519","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/519/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/519/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/519/events","html_url":"https://github.com/fastlane/fastlane/issues/519","id":102138637,"number":519,"title":"Generated .ipa size too big","user":{"login":"orschaef","id":1017995,"avatar_url":"https://avatars.githubusercontent.com/u/1017995?v=3","gravatar_id":"","url":"https://api.github.com/users/orschaef","html_url":"https://github.com/orschaef","followers_url":"https://api.github.com/users/orschaef/followers","following_url":"https://api.github.com/users/orschaef/following{/other_user}","gists_url":"https://api.github.com/users/orschaef/gists{/gist_id}","starred_url":"https://api.github.com/users/orschaef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orschaef/subscriptions","organizations_url":"https://api.github.com/users/orschaef/orgs","repos_url":"https://api.github.com/users/orschaef/repos","events_url":"https://api.github.com/users/orschaef/events{/privacy}","received_events_url":"https://api.github.com/users/orschaef/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-08-20T13:28:11Z","updated_at":"2015-12-10T20:17:31Z","closed_at":"2015-12-10T20:17:30Z","body":"Using Xcode 7 Beta 5, Swift 2.0 and fastlane 1.19.0 our generated .ipa file size has increased from 9.8 MB to 60 MB.\r\nPicking the archive produced by fastlane in Xcode Organizer and exporting for enterprise deployment the target .ipa file has the expected size of 9.8 MB.\r\n\r\nAfter inspecting the small and big ipa it turns out that the big one has duplicated dylib files\r\n\r\n```\r\n./Payload/Client.app/Frameworks/libswiftCore.dylib\r\n./Payload/Client.app/Frameworks/libswiftCoreAudio.dylib\r\n./Payload/Client.app/Frameworks/libswiftCoreGraphics.dylib\r\n./Payload/Client.app/Frameworks/libswiftCoreImage.dylib\r\n./Payload/Client.app/Frameworks/libswiftDarwin.dylib\r\n./Payload/Client.app/Frameworks/libswiftDispatch.dylib\r\n./Payload/Client.app/Frameworks/libswiftFoundation.dylib\r\n./Payload/Client.app/Frameworks/libswiftObjectiveC.dylib\r\n./Payload/Client.app/Frameworks/libswiftSecurity.dylib\r\n./Payload/Client.app/Frameworks/libswiftUIKit.dylib\r\n./SwiftSupport/libswiftCore.dylib\r\n./SwiftSupport/libswiftCoreAudio.dylib\r\n./SwiftSupport/libswiftCoreGraphics.dylib\r\n./SwiftSupport/libswiftCoreImage.dylib\r\n./SwiftSupport/libswiftDarwin.dylib\r\n./SwiftSupport/libswiftDispatch.dylib\r\n./SwiftSupport/libswiftFoundation.dylib\r\n./SwiftSupport/libswiftObjectiveC.dylib\r\n./SwiftSupport/libswiftSecurity.dylib\r\n./SwiftSupport/libswiftUIKit.dylib\r\n```\r\n(this is taken from here: http://stackoverflow.com/questions/30602808/how-to-prevent-swiftsupport-libraries-to-be-included-twice)\r\n\r\nFrom the fastlane log:\r\n\r\n```\r\n[14:51:45]: Successfully stored the archive. You can find it in the Xcode Organizer.\r\n[14:51:45]: /usr/bin/xcrun /tmp/PackageApplication4Gym -v '/Users/orschaef/Library/Developer/Xcode/Archives/2015-08-20/example 2015-08-20 14.49.32.xcarchive/Products/Applications/example.app' -o '/Users/orschaef/Library/Developer/Xcode/Archives/2015-08-20/example.ipa' exportFormat ipa --embed 'example.mobileprovision' \r\n[14:51:50]: zip --recurse-paths /Users/orschaef/Library/Developer/Xcode/Archives/2015-08-20/example.ipa SwiftSupport > /dev/null\r\n[14:51:53]: cd '/Users/orschaef/Library/Developer/Xcode/Archives/2015-08-20/example 2015-08-20 14.49.32.xcarchive/dSYMs' && zip -r '/Users/orschaef/workspace/example/example.app.dSYM.zip' 'example.app.dSYM'\r\n```\r\n\r\nCould the following line\r\n```\r\n ... SwiftSupport > /dev/null ...\r\n```\r\n\r\nbe part of the problem?\r\n\r\nThis does not seem to be a fastlane only problem (but for us it does only appear in combination with fastlane). Maybe we can find the solution and also update the docs like @KrauseFx did for https://github.com/KrauseFx/fastlane/issues/258 "},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/163738127","html_url":"https://github.com/fastlane/fastlane/issues/519#issuecomment-163738127","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/519","id":163738127,"user":{"login":"JaviSoto","id":666807,"avatar_url":"https://avatars.githubusercontent.com/u/666807?v=3","gravatar_id":"","url":"https://api.github.com/users/JaviSoto","html_url":"https://github.com/JaviSoto","followers_url":"https://api.github.com/users/JaviSoto/followers","following_url":"https://api.github.com/users/JaviSoto/following{/other_user}","gists_url":"https://api.github.com/users/JaviSoto/gists{/gist_id}","starred_url":"https://api.github.com/users/JaviSoto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JaviSoto/subscriptions","organizations_url":"https://api.github.com/users/JaviSoto/orgs","repos_url":"https://api.github.com/users/JaviSoto/repos","events_url":"https://api.github.com/users/JaviSoto/events{/privacy}","received_events_url":"https://api.github.com/users/JaviSoto/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T20:17:30Z","updated_at":"2015-12-10T20:17:30Z","body":"Hi!\r\nI'm going through some old issues to see if I can help out. Since this one has been inactive for a while, I'm going to go ahead and close it. Let me know if you're still running into any issues :) Thanks!"}}