[RN ์—๋Ÿฌ๋…ธํŠธ๐Ÿ”ฅ] The following build commands failed: CompileC /Users/dody/Library/Developer/Xcode/DerivedData/oheadline_client-bntjzlxfwpoksjdlhzqejhufjwdn/Buil...

๋„๋””ยท2020๋…„ 10์›” 14์ผ
6

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

๋ชฉ๋ก ๋ณด๊ธฐ
11/25
post-custom-banner

react-native run-ios๋ฅผ ํ–ˆ๋”๋‹ˆ

The following build commands failed:
CompileC /Users/dody/Library/Developer/Xcode/DerivedData/oheadline_client-bntjzlxfwpoksjdlhzqejhufjwdn/Build/Intermediates.noindex/oheadline_client.build/Debug-iphonesimulator/oheadline_client.build/Objects-normal/x86_64/main.o /Users/dody/company/oheadline_client/ios/oheadline_client/main.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler

์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค...
ใ…Ž... ์™œ ๋ฐœ์ƒํ–ˆ๋Š”์ง€ ๋”ฅ๋””๋ฒ„๊น…ํ•˜๊ธฐ๋ฅผ ํฌ๊ธฐํ–ˆ๋‹ค.. ๋ฆฌ์•กํŠธ๋„ค์ดํ‹ฐ๋ธŒ ๋…€์„ ๋‚˜๋ฅผ ์ง€์น˜๊ฒŒ ํ•œ๋‹ค.

์ผ๋‹จ ํ•ด๊ฒฐ์€ ํ–‡๋‹ค.

cd ios
pod deintegrate
pod update

๋‚˜์™€ ๊ฐ™์€๊ฑธ๋กœ ๊ณ ์ƒํ•˜๋Š” ์‚ฌ๋žŒ์ด ์—†๊ธฐ๋ฅผ.,..


2021.02.17 ๋‚ด์šฉ์ˆ˜์ •

์ด ๋ฌธ์ œ๋Š” ์œ„์˜ ๋ฐฉ๋ฒ•์œผ๋กœ๋Š” ๊ฑฐ์˜ ํ•ด๊ฒฐ์ด ์•ˆ๋จ์„ ๊ฒฝํ—˜ํ–ˆ๋‹ค. ์ฟจ๋Ÿญ
ํšŒ์‚ฌ ๋™๋ฃŒ๋ถ„๊ป˜์„œ ๋กœ์ปฌํ”„๋กœ์ ํŠธ๋ฅผ ์ง€์šฐ๊ณ  ๊นƒ์„ ๋‹ค์‹œ ํด๋ก ํ•ด์„œ ์‹คํ–‰ํ•˜๋ฉด ์ž˜ ๋œ๋‹ค๊ณ  ์ œ๋ณดํ•ด์ฃผ์…จ๋‹ค.
๋‹ค์‹œ ๊ตฌ๊ธ€๋ง์„ ํ•ด์„œ ์‚ดํŽด๋ณด๋‹ˆ, ํ”„๋กœ์ ํŠธ๋ฅผ ๋‹ค์‹œ ์ƒ์„ฑํ•˜๋ผ๋Š” ์กฐ์–ธ๋“ค์ด ๋ณด์ด๊ธฐ ์‹œ์ž‘ํ–ˆ๋‹ค.

์ •๋ง์ด๋‹ค.
๋กœ์ปฌ ํ”„๋กœ์ ํŠธ๋ฅผ ๊ณผ๊ฐํžˆ ์‚ญ์ œํ•˜๊ณ  (๊ณผ๊ฐํ•˜์ง€ ๋ชปํ•˜๊ฒ ๋‹ค๋ฉด, ํด๋”๋ช…์„ ์‚ด์ง ๋ฐ”๊ฟ” ๋”ฐ๋กœ ๋†”๋‘์ž)
๋ฆฌํฌํŠธ ํ”„๋กœ์ ํŠธ๋ฅผ ํด๋ก ๋ฐ›์•„ npm i && cd pod && pod install && .. ๋ฅผ ํ•˜๊ณ 
react-native run-ios๋ฅผ ํ•˜๋ฉด ์ž˜ ์ƒ์„ฑ๋œ๋‹ค.

2021.04.17 ๋‚ด์šฉ์ถ”๊ฐ€

fbsdk๋ฅผ ์—…๊ทธ๋ ˆ์ด๋“œ๋ฅผ ํ•˜๋ฉด์„œ ๋˜ ์ด ์นœ๊ตฌ์™€ ์กฐ์šฐํ–ˆ๋Š”๋ฐ, ๋ถ„๋ช…ํžˆ ์œ„์˜ ๋ฐฉ๋ฒ•์œผ๋กœ๋Š” ํ•ด๊ฒฐ์ด ์•ˆ๋ ๊ฑฐ๊ฐ™์•˜๋‹ค.
๋‹ค์‹œ ์„œ์นญ์„ ํ•ด๋ณด๋‹ˆ, ์˜ˆ์ „๋ณด๋‹ค ๋ญ”๊ฐ€ ๊ธ€์ด ๋งŽ์•„์ง„ ๋Š๋‚Œ ํ˜ธํ˜ธ
์ด ๋ธ”๋กœ๊ทธ ๊ธ€์ด ์ด๋ฆฌ์ €๋ฆฌ ๋ถˆ๋ ค๋‹ค๋‹ˆ๋Š” ๊ฒƒ๋„ ๋‘๋ฒˆ์ด๋‚˜ ๋ดค๋‹ค.
์‚ฌ๋žŒ๋“ค์ด ์–ผ๋งˆ๋‚˜ ์ด ์ด์Šˆ์— ์ง„์‹ฌ์ธ์ง€ ์•Œ์ˆ˜์žˆ๋Š” ๊ตฌ๊ธ€ ์„œ์นญ์ด์—ˆ๋‹ค.

๊ทธ๋‚˜์ €๋‚˜ ๋‚ด์šฉ ์ถ”๊ฐ€๋ผ๊ณ  ๋” ์“ฐ๊ณ ์‹ถ์—ˆ๋˜ ๋‚ด์šฉ์€ pod file์„ ์ˆ˜์ •ํ•˜๊ณ 
์œ„์˜ ๋ฌธ์ œ๊ฐ€ ํ•ด๊ฒฐ ๋˜์—ˆ๋‹ค.

ios>podfile (before)

  use_flipper!
  post_install do |installer|
    flipper_post_install(installer)
  end

ios>podfile (after)

use_flipper!({ 'Flipper-Folly' => '2.3.0' }) # update this part
  post_install do |installer|
    flipper_post_install(installer)
  end

๊ทธ๋Ÿฌ๊ณ 
pod update pod install ํ•˜๊ณ  ๋‚˜๋‹ˆ๊นŒ ์ž˜ ์‹คํ–‰๋˜์—ˆ๋‹ค.

https://stackoverflow.com/questions/54704207/the-ios-simulator-deployment-targets-is-set-to-7-0-but-the-range-of-supported-d
์œ„์˜ ๋งํฌ์—์„œ ๋„์›€์„ ๋ฐ›์•˜๋‹ค.

profile
์ถฉ์ „์ค‘..๐Ÿค”
post-custom-banner

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

ํ•˜์•„.... ์ €๋„ ๊ฐ™์€ ์—๋Ÿฌ์—์š” ใ…œใ…œ ์•ˆ๋˜๋„ค์š” ใ… ใ… 

1๊ฐœ์˜ ๋‹ต๊ธ€
comment-user-thumbnail
2021๋…„ 3์›” 2์ผ

์ € ์ข€ ๋„์™€์ฃผ์„ธ์š”.......

1๊ฐœ์˜ ๋‹ต๊ธ€
comment-user-thumbnail
2021๋…„ 3์›” 30์ผ

ํ•ญ์ƒ ์ž˜ ๋ณด๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.

๋‹ต๊ธ€ ๋‹ฌ๊ธฐ
comment-user-thumbnail
2021๋…„ 5์›” 3์ผ

๊ณ„์† ์•ˆ๋˜์‹œ๋Š” ๋ถ„๋“ค์€ ๊ทธ๋ƒฅ podfile์˜ use_flipper!๋ฅผ ์ฃผ์„ ์ฒ˜๋ฆฌํ•˜์„ธ์š”.

์ „

  use_flipper!
  post_install do |installer|
    flipper_post_install(installer)
  end

ํ›„

  # use_flipper!
  post_install do |installer|
    flipper_post_install(installer)
  end

์ฃผ์„ ์ฒ˜๋ฆฌ ํ›„ pod update && pod install ๊นŒ์ง€ ํ•ด์ฃผ์‹œ๋ฉด ๋ ๊ฒ๋‹ˆ๋‹ค.

๋‹ต๊ธ€ ๋‹ฌ๊ธฐ
comment-user-thumbnail
2024๋…„ 2์›” 7์ผ

์ •๋ง ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค.. ์ดํ‹€๋™์•ˆ ์—๋Ÿฌ์ฝ”๋“œ๋“ค๋งŒ ๋ณด๋ฉด์„œ ์—„์ฒญ ํž˜๋“ค์—ˆ๋Š”๋ฐ,

cd ios
pod deintegrate
pod update

์ €๋Š” ์ด ๋ฐฉ๋ฒ•์œผ๋กœ ํ•ด๊ฒฐ์ด ๋˜์„œ ๋‹คํ–‰์ž…๋‹ˆ๋‹ค.

๋‹ต๊ธ€ ๋‹ฌ๊ธฐ