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

๋ถ„๋ฅ˜ ์ „์ฒด๋ณด๊ธฐ137

[iOS] A build only device cannot be used to run this target. A build only device cannot be used to run this target. Xcode ๋ฅผ ์„ค์น˜ํ•˜๊ณ  ์‹œ๋ฎฌ๋ ˆ์ดํ„ฐ๋ฅผ ๋Œ๋ฆฌ๊ณ ์ž ํ•˜์ž.. ์œ„์˜ ๊ฒฝ๊ณ ์™€ ํ•จ๊ป˜ ๋ฐœ์ƒํ•œ ์˜ค๋ฅ˜... ํ˜„์ƒ์€ ์ด๋Ÿฌํ•˜๋‹ค... - ํ•ด๊ฒฐ ๋ฐฉ๋ฒ• 1. Xcode > Preferences... 2. Componenets ์—์„œ Simulator ์˜ iOS ๋ฒ„์ „์„ ์ฒดํฌ ํ•ด ์„ค์น˜ํ•œ๋‹ค 3. Xcode ๋ฅผ ์™„์ „ํžˆ ์ข…๋ฃŒ ํ›„ ์žฌ์‹คํ–‰ ํ•œ๋‹ค. +) 4. 3 ๋ฒˆ์„ ์ง„ํ–‰ ํ–ˆ๋Š”๋ฐ๋„ ๋™์ผํ•œ ํ˜„์ƒ์ด ๋ฐœ์ƒํ•œ๋‹ค๋ฉด, (๋‹ค๋ฅธ ๋ธ”๋กœ๊ทธ ๋ณด๋‹ˆ 3๋ฒˆ์—์„œ ํ•ด๊ฒฐ์ด ๋˜๋˜๋ฐ ๋‚œ ์•ˆ ๋ผ์„œ.. Xcode ์—์„œ ๋šฑ๋•…๋šฑ๋•… ์ด๊ฒƒ์ €๊ฒƒ ๋ˆŒ๋Ÿฌ ๋ดค๋‹ค) 4.1. ํ”„๋กœ์ ํŠธ๋ช….xcodeproj ๋”๋ธ”ํด๋ฆญ 4.2. Build Settings 4.3. iOS Deployment Target ์—์„œ ๋‚ด๊ฐ€.. 2021. 9. 23.
[iOS] Failed to load project at '.xcodeproj', incompatible project version. - ์›์ธ : ์•„๋ž˜ ๋ธ”๋กœ๊ทธ๋ฅผ ์ฐธ๊ณ ํ•˜์—ฌ ํ”„๋กœ์ ํŠธ๋ฅผ ์ƒ์„ฑํ•œ Xcode ์™€ ํ˜„์žฌ ํ”„๋กœ์ ํŠธ๋ฅผ ์—ฌ๋Š” Xcode ์˜ version ์ด ๋‹ฌ๋ผ์„œ ๊ทธ๋Ÿฐ ๊ฒƒ์ด๋ผ๋Š” ์›์ธ์„ ํ™•์ธ. ํ˜„์žฌ ๋‚ด๊ฐ€ ์‚ฌ์šฉ ์ค‘์ธ Xcode version ์€ 9.2 ์ด๊ณ .. ์ด์ „์— ํ•ด๋‹น ํ”„๋กœ์ ํŠธ๋ฅผ ๋งŒ๋“ค ๋•Œ ์‚ฌ์šฉํ–ˆ๋˜ Xcode version ์€ 10.x ์ด์ƒ์ธ ๊ฒƒ ๊ฐ™๋‹ค. (Xcode ๋ฒ„์ „์„ ๊ฐ€์žฅ ์ตœ์‹ ์ธ 11๋กœ ์˜ฌ๋ฆฌ๊ณ  ์‹ถ์—ˆ์ง€๋งŒ. ํšŒ์‚ฌ์—์„œ ์ œ๊ณตํ•œ(๊ตด๋Ÿฌ๋จน์€) ๋งฅ๋ถ์ด mid 2012 .. ์—ฌ์„œ ๋ฒฝ๋Œ ๋ ๊นŒ ๋ด. BigSur ๋กœ ๋ง‰ ์—…๊ทธ๋ ˆ์ด๋“œ๋ฅผ ๋ชป ํ•˜๊ฒ ์Œ ใ…Žใ…Žใ…Ž.. ํ˜„์žฌ ์šด์˜์ฒด์ œ๋Š” ๋ชจํ•˜๋น„ ๋ฒ„์ „ ์‚ฌ์šฉ ์ค‘.. Xcode ๋„ ์–ด๋Š์ •๋„ ์šด์˜์ฒด์ œ ๋ฒ„์ „ ๋”ฐ๋ผ ๊ฐ„๋‹ค) - ํ•ด๊ฒฐ ๋ฐฉ๋ฒ• : 1. .xcodeproj ์šฐํด๋ฆญ > ํŒจํ‚ค์ง€ ๋‚ด์šฉ ๋ณด๊ธฐ 2. project.pbxproj ์šฐํด๋ฆญ .. 2021. 9. 14.
[์•ˆ๋“œ๋กœ์ด๋“œ] ์›์ธ์„ ์ฐพ๋Š” ์ค‘... ^^ ๊ฐ€๋” ์•ˆ๋“œ๋กœ์ด๋“œ ์ŠคํŠœ๋””์˜ค์—์„œ ์• ๋ฎฌ๋ ˆ์ดํ„ฐ๋ฅผ ์‹คํ–‰ ํ•  ๋•Œ, "ํ˜„์žฌ ์—ฐ๊ฒฐ์€ ์‚ฌ์šฉ์ž์˜ ํ˜ธ์ŠคํŠธ ์‹œ์Šคํ…œ์˜ ์†Œํ”„ํŠธ์›จ์–ด์˜ ์˜ํ•ด ์ค‘๋‹จ๋˜์—ˆ์Šต๋‹ˆ๋‹ค" ๋ผ๋Š” ์˜ค๋ฅ˜ ๋ฉ”์„ธ์ง€๊ฐ€ ๋œจ๋Š” ๊ฒฝ์šฐ๊ฐ€ ์žˆ๋‹ค. (์•„๋ž˜ 1, 2๋ฒˆ) 1. build... 2. ํ˜„์žฌ ์—ฐ๊ฒฐ์€ ์‚ฌ์šฉ์ž์˜ ํ˜ธ์ŠคํŠธ ์‹œ์Šคํ…œ์˜ ์†Œํ”„ํŠธ์›จ์–ด์˜ ์˜ํ•ด ์ค‘๋‹จ๋˜์—ˆ์Šต๋‹ˆ๋‹ค 3. windows + R -> cmd 4. > adb kill-server 5. build... 6. ํ˜„์žฌ ์—ฐ๊ฒฐ์€ ์›๊ฒฉ ํ˜ธ์ŠคํŠธ์— ์˜ํ•ด ๊ฐ•์ œ๋กœ ๋Š๊ฒผ์Šต๋‹ˆ๋‹ค 7. > adb start-server 8. build... 9. ํ˜„์žฌ ์—ฐ๊ฒฐ์€ ์›๊ฒฉ ํ˜ธ์ŠคํŠธ์— ์˜ํ•ด ๊ฐ•์ œ๋กœ ๋Š๊ฒผ์Šต๋‹ˆ๋‹ค 10. > adb connect 127.0.0.1 11. cannot connect to 127.0.0.1:5555: ๋Œ€์ƒ ์ปดํ“จํ„ฐ์—์„œ ์—ฐ๊ฒฐ์„ ๊ฑฐ๋ถ€ํ–ˆ์œผ๋ฏ€๋กœ ์—ฐ๊ฒฐ.. 2021. 9. 14.
[์•ˆ๋“œ๋กœ์ด๋“œ] java.net.SocketException: socket failed: EACCES (Permission denied) java.net.SocketException: socket failed: EACCES (Permission denied) ์ด์ „ ๊ธ€์—์„œ HttpURLConnection ์ƒ˜ํ”Œ ์ฝ”๋“œ๋ฅผ ์งœ๋Š”๋ฐ ์œ„์™€ ๊ฐ™์€ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค. ๊ถŒํ•œ์ด ๊ฑฐ๋ถ€๋˜์—ˆ๋‹ค๊ณ  ํ•ด ๋ฌธ์ œ์˜ ์›์ธ์„ ๊ตฌ๊ธ€๋ง ํ•ด ๋ณด๋‹ˆ, AndroidManifest.xml ์— uses-permission ์„ ๋นผ ๋จน์—ˆ์—ˆ๊ตฐ... AndroidManifest.xml ์ด ๋ถ€๋ถ„! ์ด๋‹ค 2021. 9. 14.