iOS build size with Swift 3 and pods

Viewed 1677

I just noticed cocoapods with Swift increases build size, however when I use same libraries manually then build size is normal.

I created a blank project with some pods and the build size goes to the 10MB and .app file is around 40MB.

I also notices that my .app file contains all my cocoapods frameworks (around 37MB) by viewing "Package content".enter image description here

My podfile having these pods

pod 'Alamofire', '~> 4.4'

pod 'SwiftyJSON'

pod 'IQKeyboardManagerSwift'

pod 'ActionSheetPicker-3.0'

pod 'Kingfisher'

pod 'JKNotificationPanel'

My questions are

  1. why my .app file contains all framework, I guess it happens only with Swift and cocoapod (Correct me if I am wrong) ?
  2. How can we reduce the size of build by using cocoapods with Swift

Thanks in advance

1 Answers
Related