[RN ์—๋Ÿฌ๋…ธํŠธ๐Ÿ”ฅ] pod install ์˜ค๋ฅ˜ (CocoaPods could not find compatible versions for pod ...)

๋„๋””ยท2021๋…„ 2์›” 17์ผ
1

RN ์—๋Ÿฌ๋…ธํŠธ ๐Ÿ”ฅ

๋ชฉ๋ก ๋ณด๊ธฐ
19/25

pod install์„ ํ•˜๋ฉด, ์•„๋ž˜์™€ ๊ฐ™์€ ์˜ค๋ฅ˜๊ฐ€ ์ž์ฃผ ๋ณด์ด๊ธฐ ์‹œ์ž‘ํ–ˆ๋‹ค.
CocoaPods could not find compatible versions for pod ์˜ค๋ฅ˜์ธ๋ฐ
์˜์กด์„ฑ๊ณผ ๊ด€๋ จ๋œ ์˜ค๋ฅ˜ ๊ฐ™๋‹ค.
๊ฐ ๋ชจ๋“ˆ ๋ณ„๋กœ ์ƒํ™ฉ์— ๋งž๋Š” ์˜ค๋ฅ˜ ํ•ด๊ฒฐ๋ฒ•์„ ์ฐพ๊ธฐ ์‹œ์ž‘ํ–ˆ๋‹ค.

๐Ÿ”ฅ CocoaPods could not find compatible versions for pod "Firebase/Messaging"

[!] CocoaPods could not find compatible versions for pod "Firebase/Messaging":
  In Podfile:
    Firebase/Messaging (~> 7.4.0)

    RNFBMessaging (from `../node_modules/@react-native-firebase/messaging`) was resolved to 10.8.0, which depends on
      Firebase/Messaging (~> 7.6.0)

Specs satisfying the `Firebase/Messaging (~> 7.4.0), Firebase/Messaging (~> 7.6.0)` dependency were found, but they required a higher minimum deployment target.

firebase cloud messaging ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ์“ฐ๋Š” ๊ฒฝ์šฐ์˜ ์˜ค๋ฅ˜์ด๋‹ค.

1. Podfile ์ˆ˜์ •

7.4.0์—์„œ 7.6.0์œผ๋กœ ์ˆ˜์ •

target 'ImageNotification' do
  pod 'Firebase/Messaging', '~> 7.6.0'
end

2. Deployment Target ์ˆ˜์ •

required a higher minimum deployment target.๋ฅผ ๋ณด๋ฉด deployment target์„ ์ˆ˜์ •ํ•ด์•ผ ๋˜๋Š”๋ฐ,
xcode์—์„œ Deployment Target๋“ค์„ 10.0์œผ๋กœ ๋†’์—ฌ์ฃผ๋ฉด ๋œ๋‹ค.

firebase cloud messaging ๋ฌธ์„œ์—์„œ๋„ ํ”„๋กœ์ ํŠธ ํƒ€๊ฒŸ์„ ios 10์ด์ƒ์œผ๋กœ ํ•ด์•ผํ•œ๋‹ค๊ณ  ๋‚˜์™€์žˆ๋‹ค.
๋‚˜๋Š” PROJECT, Targets์˜ ๋ชจ๋“  Deployment Target๋ฅผ ๋†’์—ฌ์คฌ๋‹ค.

profile
์ถฉ์ „์ค‘..๐Ÿค”

0๊ฐœ์˜ ๋Œ“๊ธ€