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

๐ŸŽ iOS/Error Handling

[Error, Xcode] symbols for architecture armv7

๐Ÿ‘ฟ ์—๋Ÿฌ๋‚ด์šฉ

file is universal (armv7 arm64) but does not contain the x86_64 architecture

 

๐Ÿ‘ฟ ๋นŒ๋“œ ์˜ค๋ฅ˜ ์›์ธ

  • Xcode12์—์„œ ARM๊ธฐ๋ฐ˜ ๋งฅ(์• ํ”Œ์‹ค๋ฆฌ์ฝ˜)์„ ์ง€์›ํ•จ์— ๋”ฐ๋ผ ์•„์ดํฐ ์‹œ๋ฎฌ๋ ˆ์ดํ„ฐ์— ARM์šฉ ์•„ํ‚คํ…์ณ arm64๊ฐ€ ์ถ”๊ฐ€๋ผ ๋ฐœ์ƒ

 

๐Ÿ‘ฟ ํ•ด๊ฒฐ๋ฐฉ๋ฒ•

  1. Build Setting  > Architectures > EXCLUDED_ARCHS์— arm64๋ฅผ ์ถ”๊ฐ€
  2. Build Setting  > User-Defined > VALID_ARCHS ์ œ๊ฑฐ

๐Ÿ˜Š iOS ๊ธฐ๊ธฐ ๋ณ„ Architecture

iOS ๊ธฐ๊ธฐ๋ณ„๋กœ ๋‹ค์–‘ํ•œ Architecture๊ฐ€ ์žˆ๋‹ค.
ํ˜„์žฌ๊นŒ์ง€ ๋‚˜์˜จ armv64, armv7, armv6, i386, x86_64 ๋ฅผ ๊ธฐ๊ธฐ๋ณ„๋กœ ์ •๋ฆฌํ•ด๋ณธ๋‹ค.

armv64 (์•„์ดํฐ 5S ๋ฐ ์ดํ›„ ๊ธฐ์ข…)

iPhoneX
iPhoneXR
iPhone 5s
iPhone 6
iPhone 6 Plus
iPhone 6s Plus
iPhone 7
iPhone 7 Plus
iPhone 8
iPhone 8 Plus
iPad Air
iPad Pro

armv7s

iPhone3Gs
iPhone4
iPhone5
iPhone5c
iPad WIFI(4th gen)

armv6 

iPhone
iPhone3G

i386

32-bit simulator

x86_64

64-bit simulator

728x90
๋ฐ˜์‘ํ˜•