๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

m1 cocoapads ๋ฒ„๊ทธ

(1)
M1 CocoaPods install ์˜ค๋ฅ˜ ํ•ด๊ฒฐ(ft. lottie-ios) You may have encountered a bug in the Ruby interpreter or extension libraries. ํ•ด๊ฒฐ ๋ฐฉ๋ฒ• IOS๋ฅผ ๊ณต๋ถ€ํ•˜๋ฉด์„œ CocoaPods๋ฅผ ์ด์šฉํ•ด lottie-ios๋ฅผ ์„ค์น˜ํ•˜๋ ค๋Š”๋ฐ ๋ฐ”๋กœ ์œ„ ๊ฐ™์€ ์˜ค๋ฅ˜๊ฐ€ ๋‚˜์™”๋‹ค. ์—ญ์‹œ ์˜ค๋ฅ˜ ๋„˜์–ด ์˜ค๋ฅ˜... ๋‹คํ–‰์ด ๊ธˆ๋ฐฉ ํ•ด๊ฒฐ ํ•  ์ˆ˜ ์žˆ์—ˆ์Šต๋‹ˆ๋‹ค. ๐Ÿฅธ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ• sudo arch -x86_64 gem install ffi arch -x86_64 pod install ํ„ฐ๋ฏธ๋„๋กœ Podfile์ด ์žˆ๋Š” ๋””๋ ‰ํ† ๋ฆฌ๋กœ ์ด๋™ํ•˜์‹  ํ›„ ์œ„ ๋ช…๋ น์–ด๋ฅผ ์ฐจ๋ก€๋กœ ์ž…๋ ฅํ•ด์ฃผ์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค. M1 ํ™˜๊ฒฝ๊ณผ ๊ธฐ์กด์˜ ๋ฃจ๋น„๋กœ ์ด๋ฃจ์–ด์ ธ์žˆ๋˜ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ์˜ ํ˜ธํ™˜์„ฑ ๋ฌธ์ œ์˜€๊ธฐ์— ์•„ํ‚คํ…์ณ๋ฅผ ์ง€์ •ํ•ด์„œ ์„ค์น˜ํ•ด์ฃผ๋ฉด์„œ ํ•ด๊ฒฐํ•œ ๊ฒƒ ๊ฐ™๋‹ค. ๊ฐ„๋‹จ๋ช…๋ฃŒํ•˜๊ฒŒ ํ•ด๊ฒฐ๋ฒ•์„ ์ฐพ์•„ ๊ธ€์„ ์ž‘์„ฑํ•ด์ฃผ์‹  doka..

728x90