ios - Running 1 of 2 custom shell script stuck for 2 minutes in Xcode -


running 1 of 2 custom shell scripts stuck 2 minutes while trying build app.

i tried fix solution :xcode custom shell scripts slowing down compiling time , still slows build process :(.

  • build stuck 2m here

enter image description here

  • build phases enter image description here enter image description here

further informations:

  • xcode 8.1

  • swift 3.0

podfile:

# uncomment line define global platform project platform :ios, '9.0' # uncomment line if you're using swift use_frameworks!  target 'myproject'     # network     pod 'alamofire'     pod 'swiftyjson'      # ui side     pod 'material', git: 'https://github.com/cosmicmind/material.git', branch: 'development'     pod 'sdwebimage'     pod 'uiscrollview-infinitescroll'     pod 'tpkeyboardavoiding'      pod 'swiftkeychainwrapper', git: 'https://github.com/jrendel/swiftkeychainwrapper.git', branch: 'develop'     pod 'dropdown'      # facebook     pod 'facebookcore'     pod 'facebooklogin'     pod 'facebookshare'      # autolayout     pod 'snapkit'     pod 'keeplayout'      # metrics     pod 'google/analytics'      # fabric.io     pod 'fabric'     pod 'crashlytics'  end  target 'myprojecttests'  end  target 'myprojectuitests'  end 

finally, found solution this. @ least total build time 57sec.

i found 'embed pods framework' (once 'embed pods framework' , 'cp embed pods framework') builds twice. anyway, don't have idea why have both of them on build phases.

i found on report navigator. report navigator

solution:

1) let active ✓ run script when installing for'[cp]embed pods framework' enter image description here 2) optimization level on build settings debug -none. set fast... enter image description here

3) tip: use simulator instead of device minimal build time.


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -