
์ด์ ์ action์ด ์๋, outlet๊ด๋ จํด์ ๋์ผํ Error๊ฐ ๋ฐ์ํ ์ ์ด ์์ด์ ์ด๋ฒ์ ๊ธ๋ก ๋จ๊น๋๋ค. ์ ์๋ฌ๋, Xibํ์ผ์์ ViewController๋ก ์ง์ Outlet์ด๋ Action์ ์ฐ๊ฒฐ ํ ๋ ์๊ธฐ๋ ์๋ฌ์ ๋๋ค. ๋ฐ์ ์์ธ์ ์ ํํ๊ฒ๋ ๋ชจ๋ฅด๊ฒ ์ผ๋, ํด๊ฒฐ ๋ฐฉ๋ฒ์ ๋ ๋ค ๋์ผํฉ๋๋ค. ์ฐ์ VC๋ด๋ถ์ ์ง์ Outlet๋ณ์ ํน์ Actionํจ์๋ฅผ ์ ์ ํด์ค๋๋ค. ๊ทธ๋ฆฌ๊ณ ๊ธฐ์กด๊ณผ๋ ์ญ์์ผ๋ก, ์ฌ์ง์ ์ข์ธก Action ์ฐ๊ฒฐ๋ถ์์ Xibํ์ผ์ Component๋ก ์ฐ๊ฒฐ ํด์ฃผ๋ฉด ์ ์์ ์ผ๋ก ์ฐ๊ฒฐ์ด ๋ฉ๋๋ค.
The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation. ์ ์๋ฌ๋ "Podfile.lock"ํ์ผ์ ๋ฒ์ ์ด ๋๊ธฐํ๋์ด ์์ง ์์ต๋๋ค. 'pod install'ํด์ฃผ๊ฑฐ๋ pod์ ์ ๋ฐ์ดํธ ํด์ฃผ์ธ์ ๋ผ๋ ์๋ฌ์ ๋๋ค. ์ด๋ฌํ ์ค๋ฅ๊ฐ ๋ฐ์ ํ์ ๋, ์๋์ ๊ฐ์ด ์์ ์ ์งํ ํด ์ฃผ์ธ์. 1) Xcode๋ฅผ ์ข ๋ฃํ ์ฑ, ํฐ๋ฏธ๋์์ podfile์ด ์ ์ฅ๋ ์์น๋ก ์ด๋ํ๋ค. 2) ํฐ๋ฏธ๋์์ rm -rf Pods์ ์ ๋ ฅํ๊ณ , rm -rf Podfile.lock์ ์ ๋ ฅํด์ค๋ค. (์ ๋๊ฐ์ ๋ช ๋ น์ด๋, ์ฝ๊ฒ ๋งํ๋ฉด Podsํด๋์ Podfile.lockํ์ผ์ ์ ๊ฑฐํด์ฃผ๋ ๋ช ๋ น์ด์ ๋๋ค.) 3) pod..