[Xcode] GoogleAppMeasurement ์—๋Ÿฌ ํ•ด๊ฒฐ(pod deintegrate)

2021. 10. 9. 11:54ใ†์˜ค๋ฅ˜ ํ•ด๊ฒฐ

๊ณ„์† ๋‹ค๋ฅธ ๋ธŒ๋žœ์น˜๋‚˜ ๋‹ค๋ฅธ ํด๋”์—์„œ ์ž‘์—…ํ•˜๋‹ค ์˜ค๋žœ๋งŒ์— ๋ณธ ํ”„๋กœ์ ํŠธ์—์„œ ๋นŒ๋“œ ํ…Œ์ŠคํŠธ๋ฅผ ํ•ด๋ณด๋ ค๊ณ  ํ•˜๋Š”๋ฐ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค. 'GoogleAppMeasurement' ์—์„œ 'PhaseScriptExecution failed with a nonzero exit code'๋ผ๊ณ  ๋–ด๋Š”๋ฐ, Google App Measurement๋Š” ๋‚ด๊ฐ€ ๋”ฐ๋กœ ์„ค์น˜ํ•ด์ค€ ํ•ญ๋ชฉ์ด ์•„๋‹ˆ๋ผ Firebase์—์„œ Database์™€ Storage๋ฅผ pod install ํ•  ๋•Œ ์ƒ๊ธด ํ•ญ๋ชฉ์ด๋ผ์„œ ์–ด๋–ป๊ฒŒ ํ•ด๊ฒฐํ•ด์•ผ ํ•  ์ง€ ๋ชฐ๋ž๋‹ค.

Stack Overflow๋ฅผ ์ฐพ์•„๋ณด๋Š”๋ฐ, ์•„์˜ˆ target ๊ฒฝ๋กœ ๊ฐ™์€๊ฑธ ์ถ”๊ฐ€ํ•ด์ฃผ๋Š” ๋ฐฉ๋ฒ•๋„ ์žˆ์—ˆ๋‹ค. ๊ทธ๋Ÿฐ๋ฐ ๋ญ”๊ฐ€ ๋Š๋‚Œ์ด ์ด๊ฑด ๋‚ด๊ฐ€ ๋”ฐ๋กœ ๊ฑด๋“œ๋ฆฐ ์ ์ด ์—†์—ˆ๊ธฐ ๋•Œ๋ฌธ์— ์ƒˆ๋กœ ์„ค์น˜ํ•ด์ฃผ๋ฉด ๋  ๊ฒƒ ๊ฐ™์•˜๋‹ค. 

 

๊ทธ๋ž˜์„œ 

pod deintegrate
pod install

๋ช…๋ น์–ด๋ฅผ ์ˆœ์„œ๋Œ€๋กœ ์ณ์„œ pod์„ deintegrate ํ•ด์ค€ ๋’ค์— ์ƒˆ๋กœ ์„ค์น˜ํ•œ๋‹ค.

 

์ด๋•Œ ์ด ๋ช…๋ น์–ด์— ๋Œ€ํ•œ ์ฃผ์˜ ์‚ฌํ•ญ์€ ๋‹จ์ˆœํ•˜๋‹ค. pod์„ ์•„์˜ˆ ํ”„๋กœ์ ํŠธ์—์„œ ๋ถ„ํ•ดํ•˜๋Š” ๊ณผ์ •์ด๊ธฐ ๋•Œ๋ฌธ์— ํ”„๋กœ์ ํŠธ ๋ฐฑ์—…์ด ํ•„์š”ํ•œ ์ •๋„์ด๋‹ค. ๋‚˜๋Š” ์• ์ดˆ์— ๊นƒ์— ์—ฐ๊ฒฐ๋˜์–ด ์žˆ๊ณ , ๋ฌธ์ œ๊ฐ€ ์ƒ๊ธฐ๋ฉด ๋ณ€๊ฒฝ์‚ฌํ•ญ์„ stash ํ•ด์ฃผ๋ฉด ๋˜๊ธฐ ๋•Œ๋ฌธ์— ๋”ฐ๋กœ ๋ฐฑ์—… ๊ณผ์ •์€ ํ•„์š”ํ•˜์ง€ ์•Š์•˜๋‹ค. ํ•˜์ง€๋งŒ ๋‹ค๋ฅธ ํ•ด๊ฒฐ์ฑ…์ด ์—†์œผ์‹  ๋ถ„๋“ค์€ ๋ฐฑ์—…์„ ์ง„ํ–‰ํ•˜๊ณ  pod deintegrate๋ฅผ ํ•ด์ฃผ๋Š”๊ฒŒ ๋งž๋‹ค๊ณ  ๋ณด์—ฌ์ง„๋‹ค.

<๊ณต์‹ ๊นƒ ์‚ฌ์ดํŠธ>

https://github.com/CocoaPods/cocoapods-deintegrate

 

GitHub - CocoaPods/cocoapods-deintegrate: A CocoaPods plugin to remove and de-integrate CocoaPods from your project.

A CocoaPods plugin to remove and de-integrate CocoaPods from your project. - GitHub - CocoaPods/cocoapods-deintegrate: A CocoaPods plugin to remove and de-integrate CocoaPods from your project.

github.com

 

 

pod deintegrate๋ฅผ ํ•ด์ฃผ๋ฉด cocoapod์ด Xcode ํ”„๋กœ์ ํŠธ์—์„œ ๋ถ„ํ•ด๋œ๋‹ค. 

 

๊ทธ ํ›„ ์ƒˆ๋กญ๊ฒŒ pod install๋ฅผ ์ง„ํ–‰ํ•ด์ฃผ์—ˆ๋”๋‹ˆ, ๋นŒ๋“œ๊ฐ€ ์™„๋ฒฝํ•˜๊ฒŒ ์ž˜ ๋˜์—ˆ๋‹ค. ์˜ค๋Š˜๋„ ์—๋Ÿฌ ํ•ด๊ฒฐ ์™„๋ฃŒ๐Ÿค“