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

๐Ÿ’š ๊ฐœ๋ฐœ/iOS19

[Mac] ๋งฅ ํŒŒ์ผ ๋น„๊ต ํ”„๋กœ๊ทธ๋žจ : FileMerge Mac์—์„œ ์œˆ๋„์šฐ์˜ WinMerge ์™€ ๊ฐ™์€ ํŒŒ์ผ/ํด๋” ๋น„๊ต ๊ธฐ๋Šฅ์„ ํ•˜๋Š” ๊ฒƒ์€ FileMerge ์ด๋‹ค. AppStore์—์„œ Devleoper์„ ๋จผ์ € ๋‹ค์šด ๋ฐ›๊ฑฐ๋‚˜, Xcode ๊ฐ€ ์ด๋ฏธ ์„ค์น˜๋˜์–ด ์žˆ๋‹ค๋ฉด 1. ์‘์šฉํ”„๋กœ๊ทธ๋žจ ๋˜๋Š” Applications > Xcode ์šฐํด๋ฆญ > ํŒจํ‚ค์ง€ ๋‚ด์šฉ ๋ณด๊ธฐ 2. Contents 3. Applications 4. FileMerge ์™€ ๊ฐ™์€ ๊ฒฝ๋กœ์— ์žˆ๋‹ค. 5. FileMerge ๋ฅผ ์‹คํ–‰ํ•˜๋ฉด, ๋‹ค์Œ๊ณผ ๊ฐ™์ด Left Right ๊ฐ€ ๋œจ๋Š”๋ฐ, ์˜ˆ์ œ ํŒŒ์ผ์„ ๋“œ๋ž˜๊ทธ์•ค ๋“œ๋กญ์œผ๋กœ ๋„ฃ๊ฑฐ๋‚˜, ํŒŒ์ผ ๊ฒฝ๋กœ๋ฅผ ์ฐพ์•„์„œ ๋„ฃ๊ณ  ๋น„๊ตํ•˜๋ฉด ๋œ๋‹ค. 6. ๋น„๊ต ํ™”๋ฉด (test2 ๋ฌธ์„œ์—๋Š” ๋‘ ๋ฒˆ์งธ ์ค„์— bbb๊ฐ€ ์—†๋‹ค.) ํด๋” ์•ˆ์˜ ํŒŒ์ผ ๋ชจ๋‘๋ฅผ ๋น„๊ตํ•  ๊ฑฐ๋ฉด ํด๋” ์ฑ„๋กœ ๋น„๊ตํ•ด๋„ ๋œ๋‹ค. 2022. 1. 14.
[iOS] Showing Recent MessagesNo account for team "ํŒ€๊ณ„์ •". Add a new account in the Accounts preference pane or verify that your accounts have valid credentials. ๋‚˜๋Š” ์•„๋ž˜์™€ ๊ฐ™์€ ์—๋Ÿฌ๋ฅผ ๋งˆ์ฃผํ–ˆ๋‹ค. Showing Recent Messages No account for team "S์ˆซ์žX์ˆซ์ž". Add a new account in the Accounts preference pane or verify that your accounts have valid credentials. (์•„์ดํฐ์—์„œ ํ…Œ์ŠคํŠธ๋ฅผ ํ•˜๊ธฐ ์œ„ํ•ด iOS ๊ฐœ๋ฐœ์ž ๋“ฑ๋ก์„ ํ–ˆ์ง€๋งŒ) xcode ์— ์œ ํšจํ•˜์ง€ ์•Š์€ ํŒ€๊ณ„์ •์ด ๋“ฑ๋ก ๋˜์–ด ์žˆ๋Š” ๊ฒฝ์šฐ ๋ฐœ์ƒํ•˜๋Š” ์˜ค๋ฅ˜์ด๋‹ค. team "S์ˆซ์žX์ˆซ์ž" ๋ถ€๋ถ„์€ ๋‚ด ๋งฅ๋ถ์ด ๊ฐ€์ง€๊ณ  ์žˆ๋Š” ์ž„์‹œ(?) ๊ณ ์œ  ํŒ€์•„์ด๋””๋กœ ์ƒ๊ฐ์ด ๋œ๋‹ค. ์ด์ œ ์—ฌ๊ธฐ์— iOS ๊ฐœ๋ฐœ์ž ๊ณ„์ •๊ณผ ์—ฐ๊ฒฐ๋œ ํŒ€์„ ๋“ฑ๋กํ•ด ์ฃผ์–ด์•ผ ํ•œ๋‹ค. ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•: Build Settings > Signing > Development Team.. 2022. 1. 6.
[iOS. Objective-C] NSString null ์ฒดํฌ / NSLog, printf ๋กœ ์ถœ๋ ฅ ์•„๋ž˜ ์˜ˆ์ œ์—์„œ ๋‘ ๊ฐ€์ง€๋ฅผ ์ •๋ฆฌํ–ˆ๋‹ค. 1. NSString ์˜ ๊ฐ’์ด null ์ธ ๊ฒฝ์šฐ๋ฅผ ์ฒดํฌ. nsStr ์ด๋ผ๋Š” ๋ณ€์ˆ˜์˜ ์ž๋ฃŒํ˜•์ด null ์ธ์ง€ ํ˜น์€ nsStr ์˜ ๊ธธ์ด๊ฐ€ 0 ์ธ์ง€ ์ฒดํฌํ•œ๋‹ค. 2. NSString ์ž๋ฃŒํ˜•์˜ ๋ณ€์ˆ˜ nsStr ์„ NSLog ์™€ printf๋กœ ์ถœ๋ ฅํ•œ๋‹ค. NSString *nsStr = nil; nsStr = @"This Vlaue is not null";// ์ด ๋ผ์ธ์ด ์—†์–ด์ง€๋ฉด else ๋กœ ๋ถ„๊ธฐ๋œ๋‹ค. if (nsStr == (id)[NSNull null] || nsStr.length == 0 ) { NSLog(@"This Value is null\n"); printf("This Value is null\n"); } else { NSLog(@"%@\n", nsStr); printf(.. 2021. 12. 21.
[Mac] zsh: permission denied: ./sample.sh ์˜ค๋ฅ˜ ๋‚ด์šฉ # ./sample.sh zsh: permission denied: ./sample.sh ์‰˜ ์Šคํฌ๋ฆฝํŠธ ํŒŒ์ผ์„ ์‹คํ–‰ํ•˜๋ ค๊ณ  ํ•˜๋Š”๋ฐ, ์œ„์™€ ๊ฐ™์ด permission denied (๊ถŒํ•œ์ด ๊ฑฐ๋ถ€) ๋˜๋Š” ๊ฒฝ์šฐ... ๋ญ์ง€ root ๊ณ„์ •์œผ๋กœ ์‹คํ–‰ ํ•ด์•ผ ํ•˜๋‚˜.. ์‹ถ์–ด์„œ sudo(switch user do; ์œ ์ €๋ฅผ ๋ฐ”๊ฟ”์„œ ๋’ค์— ์˜ค๋Š” ๋ช…๋ น์–ด๋ฅผ ์‹คํ–‰ํ•œ๋‹ค) ๋ช…๋ น์–ด๋„ ์‚ฌ์šฉํ•ด ๋ณด๊ณ , su(switch user; ์œ ์ €๋ฅผ ๋ฐ”๊พผ๋‹ค) ๋กœ ์‚ฌ์šฉ์ž๋ฅผ root ๋กœ ๋ฐ”๊ฟ”์•ผ ํ•˜๋‚˜.. ํ–ˆ๋Š”๋ฐ ๊ฐ„๋‹จํ•œ ๋ฌธ์ œ์˜€๋‹ค. 1) ์Šคํฌ๋ฆฝํŠธ ํŒŒ์ผ์„ ์‹คํ–‰ํ•˜๋ ค๋Š” ํด๋”์—์„œ ํ•ด๋‹น ํŒŒ์ผ์˜ ๊ถŒํ•œ์„ ํ™•์ธํ•˜์ž (์œ ์ € ๊ถŒํ•œ์ด ์•„๋‹˜) # ls -al 1.1) ํŒŒ์ผ์˜ ๊ถŒํ•œ์€ ----------(000) ๋ถ€ํ„ฐ -rwxrwxrwx(777)๊นŒ์ง€ ๋  ์ˆ˜ ์žˆ๋Š”๋ฐ, (์—ฌ๊ธฐ์„œ ๊ฐ€์žฅ ์•ž์—.. 2021. 11. 23.