Category 192

[M1 Mac] XCODE(12.5.1) Unable to boot device due to insufficient system resources. Domain: NSPOSIXErrorDomain Code: 67 Failure Reason:... ํ•ด๊ฒฐ

์˜ค๋ฅ˜ ๋‚ด์šฉ : Unable to boot device due to insufficient system resources. Domain: NSPOSIXErrorDomain Code: 67 Failure Reason: The current system settings are not sufficient to allow booting additional simulators: maxFiles: 12288, openFiles: 10500, enforcedFilesBuffer: 1868 Recovery Suggestion: Please see Simulator Help for information on adjusting resource limits. ์›์ธ : ์‹œ๋ฎฌ๋ ˆ์ดํ„ฐ๋ฅผ ์‹คํ–‰ํ•  ๋•Œ ํ™œ์„ฑ ํ”„๋กœ์„ธ์Šค์˜ ์ตœ๋Œ€ ๊ฐ’ ๋˜๋Š” ์—ด๋ฆฐ..

iOS 2021.08.19

[M1 Mac] XCODE(12.5.1) Showing Recent MessagesSigning for "" requires a development team. Select a development team in the Signing & Capabilities editor. ํ•ด๊ฒฐ

์—๋Ÿฌ ๋‚ด์šฉ : "ํ”„๋กœ์ ํŠธ ํŽธ์ง‘๊ธฐ์—์„œ ๊ฐœ๋ฐœํŒ€์„ ์„ ํƒํ•˜์„ธ์š”" ์ฆ‰, ํ•„์ˆ˜ ์ •๋ณด ๊ฐ’์ด ๋ˆ„๋ฝ๋˜์—ˆ๋‹ค๋Š” ์˜๋ฏธ์ด๋‹ค. 1. Accounts ์— Apple ID ์ž…๋ ฅ 2. ํ”„๋กœ์ ํŠธ ์—๋””ํ„ฐ ํด๋ฆญ -> Signing & Capabilities -> Team -> Personal Team ํด๋ฆญ

iOS 2021.08.17

[M1 Mac] XCODE(12.5.1) swift vs Objective-C

Swift ๊ณต๋ถ€๋ฅผ ํ•˜๋˜ ์ค‘, Objective-C์–ธ์–ด๋ฅผ ์•Œ๊ฒŒ ๋˜์—ˆ๊ณ  ์ด ๋‘˜์˜ ์ฐจ์ด์ ์„ ์ •๋ฆฌํ•ด๋ณด๋ ค๊ณ  ํ•œ๋‹ค. ์ฐจ์ด์  Swift Objective-C Object-C๋ฅผ ๋ณด์™„ํ•œ ์–ธ์–ด์ด๋‹ค. C์–ธ์–ด์—์„œ ํŒŒ์ƒ๋˜์—ˆ๋‹ค. ์ฆ๊ฐ ์—ฐ์‚ฐ์ž๊ฐ€ ์—†๋‹ค. ++,-- ์ฆ๊ฐ ์—ฐ์‚ฐ์ž๊ฐ€ ์žˆ๋‹ค. ์„ธ๋ฏธ์ฝœ๋ก (;)์„ ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š”๋‹ค. ์„ธ๋ฏธ์ฝœ๋ก (;)์„ ์‚ฌ์šฉํ•œ๋‹ค. ๋ณ€์ˆ˜ ํƒ€์ž…์ด ๋’ค์— ๋‚˜์˜จ๋‹ค. ๋ณ€์ˆ˜ ํƒ€์ž…์ด ์˜†์— ๋‚˜์˜จ๋‹ค. String ์ž๋ฃŒํ˜•์ด ์žˆ๋‹ค. String ์ž๋ฃŒํ˜•์ด ์—†๋‹ค. ํฌ์ธํ„ฐ๋ฅผ ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š”๋‹ค. ์˜ค๋ธŒ์ ํŠธ ํƒ€์ž… ์˜†์— ํฌ์ธํ„ฐ(*)๋ฅผ ๋ถ™์ธ๋‹ค. func ํ•จ์ˆ˜์ด๋ฆ„(์ธ์ž๋ช…1: ์ธ์žํƒ€์ž…1....) -> ๋ฆฌํ„ด ํƒ€์ž… {} -(๋ฆฌํ„ดํƒ€์ž…) ํ•จ์ˆ˜์ด๋ฆ„:(์ธ์žํƒ€์ž…1)์ธ์ž๋ช…....{} ๋ณ€์ˆ˜ ํƒ€์ž…์„ ๊ผญ ๋ช…์‹œ ํ•˜์ง€ ์•Š์•„๋„๋จ ๋ณ€์ˆ˜ ํƒ€์ž…์„ ๊ผญ ๋ช…์‹œ ํ•ด์•ผํ•œ๋‹ค. ๋ฌธ์ž์—ด์— switch/..

iOS 2021.08.14

[M1 Mac] XCODE(12.5.1) swift ๋ฉ”๋ชจ์žฅ ๋งŒ๋“ค๊ธฐ(1),(2)

์ ์‹ฌ์‹œ๊ฐ„์ด๋‚˜ ํ‡ด๊ทผ ํ›„์— ์งฌ์งฌ์ด ๊ฐ•์˜๋ฅผ ๋ณด๋ฉฐ swift๋กœ ๋ฉ”๋ชจ์žฅ์„ ๋งŒ๋“ค์—ˆ๊ณ  core Data ๊ตฌํ˜„ ์ „๊นŒ์ง€ ๊ณต๋ถ€ํ–ˆ๋‹ค. ๋ณด๊ณ  ๋”ฐ๋ผ ํ•˜๋Š” ๊ฑด ์‰ฝ์ง€๋งŒ ์ดํ•ด๊ฐ€ ์™„์ „ํžˆ ๋˜์ง€ ์•Š์•„ #1 - #6๊นŒ์ง€์˜ ๊ฐ•์˜ ๋‚ด์šฉ์„ ์ •๋ฆฌํ•ด๋ณด๋ ค๊ณ  ํ•œ๋‹ค. 1. ํ”„๋กœ์ ํŠธ ์ƒ์„ฑ ๋ฐ ์„ค์ •ํ•˜๊ธฐ [M1 Mac] XCODE(12.5.1) ํ”„๋กœ์ ํŠธ ์ƒ์„ฑ ํ›„ Git ์—ฐ๋™ 1. project ์ƒ์„ฑํ•˜๊ธฐ Choose options for your new project : iOS - APP - Next Product Name ํ”„๋กœ์ ํŠธ์— ์‚ฌ์šฉํ•  ์ œ๋ชฉ์„ ์ž…๋ ฅ Team ์• ํ”Œ ๊ฐœ๋ฐœ์ž ๊ณ„์ •์„ ์„ ํƒ / ์—†๋‹ค๋ฉด ๋น„์›Œ๋‘์ž. Organization Identifier ํšŒ์‚ฌ๋ช….. truecode-95.tistory.com 2. Main UI ๊ตฌ์„ฑํ•˜๊ธฐ 2-1. ViewControl..

iOS 2021.08.13

[MAVEN] java.util.zip.ZipException: invalid LOC header (bad signature) ์˜ค๋ฅ˜

์›์ธ : maven jar ํŒŒ์ผ์ด ๊นจ์ง„๊ฒƒ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ• 1. Eclipse close 2. C:\Users\.m2 ์ ‘์† -> repository ํด๋”๋ฅผ ์‚ญ์ œ * ํ˜น์‹œ ๋ชจ๋ฅด๋‹ˆ repository ํด๋” ๋ฐฑ์—…์„ ํ•ด๋†“์ž. 3. ํ•ด๋‹น ํ”„๋กœ์ ํŠธ ์šฐํด๋ฆญ - Maven - Update Project (= ์ •์ƒ์ ์ธ jar๋กœ ๊ต์ฒดํ•˜๋Š” ์ž‘์—…) 4. ์žฌ์‹œ์ž‘

Spring 2021.08.12

[M1 Mac] XCODE(12.5.1) ios13 modal (Presentation Automatic -> FullScreen)

๊ฐ•์˜๋ฅผ ๋ณด๋ฉฐ ๋ฉ”๋ชจ ์•ฑ ํ”„๋กœ์ ํŠธ๋ฅผ ํ•˜๋˜ ์ค‘. ๊ธ€์„ ์ž…๋ ฅํ•˜๊ณ  ์ €์žฅ ์‹œ tableView.reloadData()๊ฐ€ ์•ˆ๋จน๋Š” ์ด์Šˆ๊ฐ€ ๋ฐœ์ƒ.. ์›์ธ์€ ios13 ๋ชจ๋‹ฌ ๋ฐฉ์‹์˜ ๋ณ€๊ฒฝ์œผ๋กœ ๋ทฐ๊ฐ€ ์™„์ „ํžˆ dismiss ๋˜์ง€ ์•Š๊ณ  viewWillAppear ํ˜ธ์ถœ์ด ์•ˆ ๋˜๊ธฐ ๋•Œ๋ฌธ. ์ด๋Ÿฐ ๊ฒฝ์šฐ ํ•ด๊ฒฐ๋ฐฉ์•ˆ์€ Presentation Automatic -> FullScreen์œผ๋กœ ๋ณ€๊ฒฝํ•˜๋ฉด ๋œ๋‹ค. ๊ฐ•์˜ : https://www.youtube.com/watch?v=HSQ4cVQzSj4&list=TLPQMTEwODIwMjEXfKm70laFcg&index=2 ์ฐธ๊ณ  : https://stackoverflow.com/questions/56435510/presenting-modal-in-ios-13-fullscreen

iOS 2021.08.12

[M1 Mac] XCODE(12.5.1) swift life cycle

1. init storyboard ์—์„œ View Controller๋“ค์„ ๋งŒ๋“ค ๊ฒฝ์šฐ View Controller์˜ ๊ฐ์ฒด๊ฐ€ ์ƒ์„ฑ๋  ๋•Œ ์ดˆ๊ธฐํ™” ์ž‘์—…์„ ํ•˜๋Š” ๋ฉ”์†Œ๋“œ. ์ฆ‰. ๋ทฐ๋ฅผ ๋งŒ๋“ค ๋•Œ ์‚ฌ์šฉํ•  ์ •๋ณด๋ฅผ ๋ทฐ ์ปจํŠธ๋กค๋Ÿฌ์— ์ €์žฅํ•˜๋Š” ๋‹จ๊ณ„ 2. loadView ํ™”๋ฉด์— ๋‚˜ํƒ€๋‚ผ View๋ฅผ ๋งŒ๋“œ๋Š” ๋ฉ”์†Œ๋“œ 3. viewDidLoad View Controller ๋‹จ ํ•œ ๋ฒˆ๋งŒ ํ˜ธ์ถœ, ์ฃผ๊ธฐ์ ์œผ๋กœ ๋ฐ์ดํ„ฐ๊ฐ€ ๋ณ€๊ฒฝ๋˜๊ฑฐ๋‚˜ ํ•˜๋Š” ํ–‰์œ„๋Š” ๋‹ค๋ฅธ ๋ฉ”์†Œ๋“œ์—์„œ ์ •์˜ override func viewDidLoad() { super.viewDidLoad() } 4. viewWillAppear View Controller์˜ ํ™”๋ฉด์ด ์˜ฌ๋ผ์˜ค๊ณ  ๋‚œ ์ดํ›„์— ํ˜ธ์ถœ๋˜๋Š” ๋ฉ”์†Œ๋“œ override func viewWillAppear(_ animated: Bool) { } ..

iOS 2021.08.11

[JXLS] jx:if(condition ์›ํ•˜๋Š” ์…€ ์ƒ‰์ƒ ๋ณ€๊ฒฝํ•˜๊ธฐ

JXLS if๋ฌธ์„ ์‚ฌ์šฉํ•ด์„œ ์›ํ•˜๋Š” ๋ถ€๋ถ„ ์…€ ์ƒ‰์ƒ์„ ๋ณ€๊ฒฝํ•ด๋ณด์ž. [JAVA] JXLS ์—‘์…€ ๋‹ค์šด๋กœ๋“œ JXLS = JXLS์€ ํ…œํ”Œ๋ฆฟ์„ ๊ธฐ๋ฐ˜์œผ๋กœ ์ตœ์ข… ์—‘์…€ํŒŒ์ผ์„ ์ƒ์„ฑ ๋ฐ์ดํ„ฐ (java ๊ฐ์ฒด) + ์—‘์…€ ํ…œํ”Œ๋ฆฟ = ์—‘์…€๊ฒฐ๊ณผ ์ถœ๋ ฅ ์—‘์…€์„ ๊ทธ๋Œ€๋กœ ์‚ฌ์šฉํ•˜๊ธฐ ๋•Œ๋ฌธ์— ์—‘์…€์˜ ์„œ์‹, ์ฐจํŠธ, ์ˆ˜์‹๋“ฑ์„ ๋„ฃ์„ ์ˆ˜ ์žˆ๋‹ค. pom.xml org.apache. truecode-95.tistory.com JXLS - If-Command Introduction If-Command is a conditional command to output an area depending on a condition specified in the test attribute of the command. Command Attributes The If-Comm..

Spring 2021.08.11

[M1 Mac] XCODE(12.5.1) Could not attach to pid ERROR

failed to launch or exited before the debugger could attach to it. Please verify that “Memo” has a valid code signature that permits it to be launched on “iPod touch (7th generation)”. Refer to crash logs and system logs to for more diagnostic information.] ๋””๋ฒ„๊ฑฐ๊ฐ€ ์—ฐ๊ฒฐ๋˜๊ธฐ ์ „์— ์‹คํ–‰์— ์‹คํŒจํ•˜๊ฑฐ๋‚˜ ์ข…๋ฃŒ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. "iPod touch(7์„ธ๋Œ€)"์—์„œ ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ๋Š” ์œ ํšจํ•œ ์ฝ”๋“œ ์„œ๋ช…์ด ์žˆ๋Š”์ง€ ํ™•์ธํ•˜์‹ญ์‹œ์˜ค.๋ผ๋Š” ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒ ์›์ธ : iOS Simulators ๋ฒ„์ „์ด ๋‚ฎ์•„์„œ ํ•ด๊ฒฐ๋ฐฉ๋ฒ• : ipone 11 -> ..

iOS 2021.08.08

[JXLS] JXLS EXCEL Templates์— ๊ทธ๋ฃน์„ ์—ฌ๋Ÿฌ ๊ฐœ ์‚ฌ์šฉ ์—‘์…€ ๋‹ค์šด๋กœ๋“œ์‹œ ๋ฐœ์ƒํ–ˆ๋˜ ์ด์Šˆ

[JAVA] JXLS ์—‘์…€ ๋‹ค์šด๋กœ๋“œ JXLS = JXLS์€ ํ…œํ”Œ๋ฆฟ์„ ๊ธฐ๋ฐ˜์œผ๋กœ ์ตœ์ข… ์—‘์…€ํŒŒ์ผ์„ ์ƒ์„ฑ ๋ฐ์ดํ„ฐ (java ๊ฐ์ฒด) + ์—‘์…€ ํ…œํ”Œ๋ฆฟ = ์—‘์…€๊ฒฐ๊ณผ ์ถœ๋ ฅ ์—‘์…€์„ ๊ทธ๋Œ€๋กœ ์‚ฌ์šฉํ•˜๊ธฐ ๋•Œ๋ฌธ์— ์—‘์…€์˜ ์„œ์‹, ์ฐจํŠธ, ์ˆ˜์‹๋“ฑ์„ ๋„ฃ์„ ์ˆ˜ ์žˆ๋‹ค. pom.xml org.apache. truecode-95.tistory.com Controller JXLS EXCEL Templates์— ๊ทธ๋ฃน์„ ์—ฌ๋Ÿฌ ๊ฐœ ์‚ฌ์šฉํ•˜๋ฉด [BK] cell ์ดํ›„ ๊ทธ๋ฃน์œผ๋กœ ๋ฌถ์€ ๊ฐ’๋“ค์€ ๋‚˜์˜ค์ง€ ์•Š๋Š”๋‹ค. Map m0 = new HashMap(); m0.put("list", list); m0.put("title","์ œ๋ชฉ1"); Map m1 = new HashMap(); m1.put("list", list1); m1.put("title","์ œ๋ชฉ2"); Lis..

Spring 2021.08.04