๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
๐Ÿ’š ๊ฐœ๋ฐœ/iOS

[iOS] Failed to load project at '.xcodeproj', incompatible project version.

by devshin.kr 2021. 9. 14.
728x90

 

- ์›์ธ : ์•„๋ž˜ ๋ธ”๋กœ๊ทธ๋ฅผ ์ฐธ๊ณ ํ•˜์—ฌ ํ”„๋กœ์ ํŠธ๋ฅผ ์ƒ์„ฑํ•œ Xcode ์™€ ํ˜„์žฌ ํ”„๋กœ์ ํŠธ๋ฅผ ์—ฌ๋Š” Xcode ์˜ version ์ด ๋‹ฌ๋ผ์„œ ๊ทธ๋Ÿฐ ๊ฒƒ์ด๋ผ๋Š” ์›์ธ์„ ํ™•์ธ. ํ˜„์žฌ ๋‚ด๊ฐ€ ์‚ฌ์šฉ ์ค‘์ธ Xcode version ์€ 9.2 ์ด๊ณ .. ์ด์ „์— ํ•ด๋‹น ํ”„๋กœ์ ํŠธ๋ฅผ ๋งŒ๋“ค ๋•Œ ์‚ฌ์šฉํ–ˆ๋˜ Xcode version ์€ 10.x ์ด์ƒ์ธ ๊ฒƒ ๊ฐ™๋‹ค.

(Xcode ๋ฒ„์ „์„ ๊ฐ€์žฅ ์ตœ์‹ ์ธ 11๋กœ ์˜ฌ๋ฆฌ๊ณ  ์‹ถ์—ˆ์ง€๋งŒ. ํšŒ์‚ฌ์—์„œ ์ œ๊ณตํ•œ(๊ตด๋Ÿฌ๋จน์€) ๋งฅ๋ถ์ด mid 2012 .. ์—ฌ์„œ ๋ฒฝ๋Œ ๋ ๊นŒ ๋ด. BigSur ๋กœ ๋ง‰ ์—…๊ทธ๋ ˆ์ด๋“œ๋ฅผ ๋ชป ํ•˜๊ฒ ์Œ ใ…Žใ…Žใ…Ž.. ํ˜„์žฌ ์šด์˜์ฒด์ œ๋Š” ๋ชจํ•˜๋น„ ๋ฒ„์ „ ์‚ฌ์šฉ ์ค‘.. Xcode ๋„ ์–ด๋Š์ •๋„ ์šด์˜์ฒด์ œ ๋ฒ„์ „ ๋”ฐ๋ผ ๊ฐ„๋‹ค)

 

- ํ•ด๊ฒฐ ๋ฐฉ๋ฒ• : 

1. .xcodeproj ์šฐํด๋ฆญ > ํŒจํ‚ค์ง€ ๋‚ด์šฉ ๋ณด๊ธฐ

 

 

2. project.pbxproj ์šฐํด๋ฆญ > ๋‹ค์Œ์œผ๋กœ ์—ด๊ธฐ > ํ…์ŠคํŠธ ํŽธ์ง‘๊ธฐ

 

 

3.  objectVersion = 50; -> objectVersion = 48; ๋กœ ์ˆ˜์ •

 


- ๋˜ ๋‹ค์‹œ ๋งˆ์ฃผํ•œ ๋ฌธ์ œ :  3๋ฒˆ๊นŒ์ง€ ํ•˜๋ฉด ํ”„๋กœ์ ํŠธ๊ฐ€ Xcode ์—์„œ ์—ด๋ฆฌ๊ธฐ๋Š” ํ•˜๋‚˜... Xcode ๋ฒ„์ „์— ๋”ฐ๋ผ ์ง€์›ํ•˜๋Š” API ๊ฐ€ ๋‹ค๋ฅธ ๊ฒƒ ๊ฐ™์•„.. ์•ฑ ๋นŒ๋“œ๊ฐ€ ์•ˆ ๋จ..

- ๊ฒฐ๋ก  : ๋”ฐ๋ผ์„œ ์† ํŽธํ•˜๊ฒŒ Xcode ๋ฅผ ์—…๊ทธ๋ ˆ์ด๋“œ ํ•˜๋Š” ๊ฒŒ ๋‚˜์„ ๊ฒƒ ๊ฐ™์Œ.

 

 

- ํ˜„์žฌ ๋ฐฉํ–ฅ : macOS Mojave -> Catalina ์†Œํ”„ํŠธ์›จ์–ด ์—…๋ฐ์ดํŠธ ์ค‘.. Xcode ๋„ version 12.4 (์นดํƒˆ๋ฆฌ๋‚˜์ผ ๋•Œ ๊ฐ€์žฅ ๋†’์€ ๋ฒ„์ „) ๋กœ ์—…๊ทธ๋ ˆ์ด๋“œ ํ•  ๊ฒƒ์ž„..

https://developer.apple.com/kr/support/xcode/

 

Xcode - ์ง€์› - Apple Developer

ํฌ๋Ÿผ Apple ์—”์ง€๋‹ˆ์–ด ๋ฐ ๋‹ค๋ฅธ ๊ฐœ๋ฐœ์ž์—๊ฒŒ ๊ฐœ๋ฐœ ์ฃผ์ œ์— ๊ด€ํ•ด ์งˆ๋ฌธํ•˜๊ณ  ์ด์•ผ๊ธฐ๋ฅผ ๋‚˜๋ˆŒ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ํฌ๋Ÿผ ๋ณด๊ธฐ(์˜๋ฌธ)

developer.apple.com

 

 

- ์ฐธ๊ณ ํ•œ ๋ธ”๋กœ๊ทธ~

https://caileb.tistory.com/118

 

failed to load project at '.xcodeproj' incompatible project version

์—๋Ÿฌ(error) failed to load project at '.xcodeproj' incompatible project version ๊ฐœ๋ฐœ ํ™˜๊ฒฝ(platform) iMac, Xcode 9.2 (9C40b) ์›์ธ(cause) Xcode๋Š” ํ”„๋กœ์ ํŠธ ๋‚ด์— ์žˆ๋Š” project.pbxproj ํŒŒ์ผ ๋‚ด์šฉ์„ ์ฝ์–ด์„œ..

caileb.tistory.com

 

๋Œ“๊ธ€