ios - Xcode build issue with Jenkins job -


i building ios app , generating .app file in following 2 ways:

  1. using xcode in machine
  2. jenkins job set up

in jenkins script, using command xcodebuild -configuration "$configs" generate build. configs set 1 of project configuration. locally, building scheme linked same configuration.

problem: .app generated jenkins build crashes launch app on ios 8.4.1; works on ios versions 7.x. build generated local xcode works fine on supported ios versions.

diagnosis: on further troubleshooting , build size comparison found size of exec file inside .app file jenkins half size of file generated local machine.

anyone has idea on why there size difference in executable files?

as suspected, architecture missing in app.

check xcode configuration used jenkins, build settings build active architecture only on no, , valid architecture contains needed architecture (arm64 , armv7).

if need change something, take care of debug vs. release thing -- default, building on mac yields debug build; may not same on jenkins job.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -