[Xcode] When the 'Running Custom Shell Scripts' makes your project slow to build.
๋ฉฐ์น ์ ๋ถํฐ, Xcode๋ก ํ๋ก์ ํธ๋ฅผ ์คํํ ๋ ๋ง๋ค, ์๋์ ๊ทธ๋ฆผ๊ณผ ๊ฐ์ด Running Custom Shell Scripts ๋ถ๋ถ์์ ์๋๊ฐ ๊ต์ฅํ ๋๋ ค์ก๋ค... 1๋ถ ์ํ..
์ฐธ๊ณ ์ฌ์ฉํ๋ ค ํ์ง๋ง, Layout ์์ ๋๋ฌธ์ ๋น๋๋ฅผ ์์ฃผ ํด์ผํ๋๋ฐ, ๊ทธ๋๋ง๋ค ์๊ฐ์ด ๋๋ฌด ์ค๋๊ฑธ๋ ค์ ์ฐธ์์๊ฐ ์์๋ค.
Cocoapods๊ฐ ์ค์น๋๋ฉด์ ์์ฑ๋ ์คํฌ๋ฆฝํธ์ ๋ฌธ์ ์๋ค.
ํด๊ฒฐ๋ฒ์ ์๋์ ๊ฐ๋ค.
Build Phases-> Target์์ ๋ฉ์ธ ํ๋ก์ ํธ๋ฅผ ์ ํํ๋ค.
Check Pods Manifest.lock ์ย Copy Pods Resources ์ ์ฐ๋ค.
Run script only when installing ์ฒดํฌ๋ฐ์ค๋ฅผ ์ฒดํฌํ๋ค.
๋ฐ๋ก ์คํฌ๋ฆฝํธ๋ฅผ ์์ฑํ ํ์๋ ์๊ณ , ๋๊ฐ์ ์ฒดํฌ๋ง ํด์ฃผ๋ฉด ๋๋ค.
์๋์ ๊ฐ์ ๊ฒฐ๊ณผ๊ฐ ๋์์ผ ํ๋ค.
์ฐธ๊ณ ์๋ฃ
xcode custom shell scripts slowing down compile time http://stackoverflow.com/a/21318086/4356845










