Xamarin iOS project takes very long to build -


it takes long build , deploy ios solution device using xamarin mac agent. taking me around 5-5.5 minutes build. xamarin.android solution takes 2 minutes build. i’ve tried deleting bin , object folders, restarting/resetting various things:

  • disconnecting , re-connecting pc imac
  • restarting visual studio
  • restarting pc
  • restarting imac

as @sushihangover mentioned, update hardware effective way reduce build , deploy time.

also, there're software-level methods speed build , deploy time.

  1. enable incremental builds. when option enabled, ide deals parts changed. refer xamarin.ios build improvements.

    this compilation mode each assembly compiled separate shared library. when enabled, change in 1 assembly require native code assembly uploaded, reduce amount of data has deployed device each build.

    also, need update linker behavior, device link all fastest , simulator don't link fastest. more details can refer how speed monotouch compilation time? .

  2. enable device-specific builds. when enabled, xamarin build particular device selected. otherwise, build architectures. feature can save time when debug on particular device.

these settings locates @ properties->ios build. enter image description here


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -