i have encountered problem size of ios application file (ipa) different between file built using xcode-gui archive action , 1 created using command-line build (xcodebuild command). size matters because we're getting following message apple:
the app binary listed below 44.6 mb when submitted it, 51.2 mb once processed app store. exceeds cellular network download size limit , require app downloaded on wi-fi
the ipa file built xcode 7mb smaller 1 built xcodebuild command.
the command line i'm using: /usr/bin/xcodebuild -sdk iphoneos -configuration release archs=armv7 valid_archs=armv7
problem solve adding following switches command line:
deployment_postprocessing=yes
strip_installed_product=yes
separate_strip=yes
copy_phase_strip=yes
i see settings in xcode project file , in gui - reason - running 'release' configuration without settings.
Comments
Post a Comment