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
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.
solution:
1) let active ✓ run script when installing
for'[cp]embed pods framework'
2) optimization level on build settings debug -none
. set fast..
.
3) tip: use simulator instead of device minimal build time.
Comments
Post a Comment