xcode - Problems uploading my iOS crash to crashlytics from a test built through Jenkins -
under xcode target build phases, have script enables crashlytics ios app. determined enable_crashlytics
variable , whether set or not. can upload forced crash when deploy local xcode device script working correctly.
however, when comes build via jenkins job, crashes not being uploaded. can see script build phases runs enable_crashlytics
variable not set , therefore crashlytics disabled no crash reporting test build distributed via hockeyapp.
in jenkins job @ build -> execute shell step, have
enable_crashlytics=1
am missing else?
thanks!
the problem exporting enable_crashlytics
environment variable in "execute shell" step. once shell step has completed, environment gone — variables not carried on subsequent build steps.
so time xcode build step executes, particular environment variable no longer available.
you can use envinject plugin inject environment variables during build. variables set using plugin available subsequent build steps.
Comments
Post a Comment