728x90
๋ฐ˜์‘ํ˜•

Computer Science 99

[Random Forest] Random Forest ์„ค๋ช… ๋ฐ ์žฅ๋‹จ์ 

์„ค๋ช… Random Forest๋Š” ์—ฌ๋Ÿฌ ๊ฐœ์˜ ๊ฒฐ์ • ํŠธ๋ฆฌ(decision tree)๋ฅผ ์กฐํ•ฉํ•ด ์˜ˆ์ธก ์„ฑ๋Šฅ์„ ํ–ฅ์ƒ์‹œํ‚ค๋Š” ์•™์ƒ๋ธ” ํ•™์Šต(ensemble learning) ๋ฐฉ๋ฒ• ์ค‘ ํ•˜๋‚˜์ž…๋‹ˆ๋‹ค. ์ฃผ๋กœ ๋ถ„๋ฅ˜(classification)์™€ ํšŒ๊ท€(regression) ๋ฌธ์ œ์— ์‚ฌ์šฉ๋˜๋ฉฐ, ๊ฐ๊ฐ์˜ ๊ฒฐ์ • ํŠธ๋ฆฌ๊ฐ€ ๋…๋ฆฝ์ ์œผ๋กœ ํ•™์Šต๋œ ํ›„, ์ตœ์ข… ์˜ˆ์ธก๊ฐ’์„ ๋‹ค์ˆ˜๊ฒฐ(voting) ๋˜๋Š” ํ‰๊ท ์„ ํ†ตํ•ด ๊ฒฐ์ •ํ•ฉ๋‹ˆ๋‹ค. ์ด ๊ณผ์ •์—์„œ ๊ฐ ํŠธ๋ฆฌ๋Š” ๋ฐ์ดํ„ฐ์˜ ์ผ๋ถ€์™€ ๋ณ€์ˆ˜์˜ ์ผ๋ถ€๋งŒ์„ ๋žœ๋คํ•˜๊ฒŒ ์‚ฌ์šฉํ•˜์—ฌ ์ƒ์„ฑ๋ฉ๋‹ˆ๋‹ค. ์ด๋ฅผ ํ†ตํ•ด ๊ฐœ๋ณ„ ํŠธ๋ฆฌ๊ฐ€ ๊ณผ์ ํ•ฉ(overfitting)๋˜๋Š” ๋ฌธ์ œ๋ฅผ ์ค„์ด๊ณ , ๋ชจ๋ธ์˜ ์˜ˆ์ธก ์ •ํ™•์„ฑ์„ ๋†’์ด๋Š” ๋ฐ ๊ธฐ์—ฌํ•ฉ๋‹ˆ๋‹ค. Random Forest์˜ ์ฃผ์š” ํŠน์ง•์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค: 1.๋žœ๋ค์„ฑ ๋„์ž…: ๋ฐ์ดํ„ฐ์˜ ์ƒ˜ํ”Œ๊ณผ ํ”ผ์ฒ˜๋ฅผ ๋ฌด์ž‘์œ„๋กœ ์„ ํƒํ•˜์—ฌ ๊ฐ ํŠธ๋ฆฌ๋ฅผ ๊ตฌ์„ฑํ•˜..

[swift] Xcode๊ฐ€ ๋‚ด ๊ธฐ๊ธฐ๋ฅผ ๋ชป ์ฐพ์„ ๋•Œ ํ•ด๊ฒฐ๋ฐฉ๋ฒ•

Xcode์—์„œ ์ข…์ข… ๊ฐ‘.์ž.๊ธฐ ๋‚ด ๊ธฐ๊ธฐ๋ฅผ ๋ชป ์ฐพ์„ ๋•Œ๊ฐ€ ์žˆ๋‹คํ•ด๊ฒฐ๋ฐฉ๋ฒ•์€ ๋‹ค์Œ๊ณผ ๊ฐ™๋‹คํ•ด๊ฒฐ๋ฐฉ๋ฒ•1. xcode์™€ ios version์ด ๋งž๋Š”์ง€ ํ™•์ธํ•œ๋‹ค   (์˜ˆ๋ฅผ ๋“ค์–ด ios 15๋ฅผ xcode 10์—์„œ ๋นŒ๋“œ๋˜์ง€ ์•Š๋Š”๋‹ค)2. ์•„์ดํฐ๊ณผ ๋งฅ์ด ์„œ๋กœ ์‹ ๋ขฐํ•˜๋Š” ๊ธฐ๊ธฐ๋กœ ์ธ์‹ํ•˜๊ณ  ์žˆ์–ด์•ผํ•œ๋‹ค.     (์ปดํ“จํ„ฐ์— ์•„์ดํฐ์„ ์—ฐ๊ฒฐํ–ˆ์„ ๋•Œ '์‹ ๋ขฐํ•  ์ˆ˜ ์žˆ๋Š” ๊ธฐ๊ธฐ์ธ๊ฐ€์š”?' ๋ผ๋Š” ๋ฌธ๊ตฌ๊ฐ€ ๋– ์„œ ์‹ ๋ขฐ ๋ฒ„ํŠผ์„ ๋ˆŒ๋Ÿฌ์•ผ xcode์—์„œ ์•„์ดํฐ ๊ธฐ๊ธฐ๋ฅผ ์ฐพ์„ ์ˆ˜ ์žˆ๋‹ค.) 3. ์•„์ดํฐ, ์ปดํ“จํ„ฐ ๋‘˜ ๋‹ค ์žฌ๋ถ€ํŒ… ์‹œํ‚จ๋‹ค.4. ์•„์ดํฐ์˜ ์‹œ์Šคํ…œ ์„ค์ •์—์„œ ๊ฐœ๋ฐœ์ž๋ชจ๋“œ๋ฅผ ํ‚จ๋‹ค. 1๋ฒˆ์˜ ๊ฒฝ์šฐ๋Š” ๋งฅ๋ถ์ด๋‚˜ ์•„์ดํฐ ๋‘˜ ์ค‘ ์†Œํ”„ํŠธ์›จ์–ด ์—…๋ฐ์ดํŠธ๋ฅผ ํ–ˆ์„๋•Œ ๋งŽ์ด ๋ฐœ์ƒํ•œ๋‹ค.๊ณ ๋กœ ๊ฐœ๋ฐœ์ž๋“ค์ด๋ผ๋ฉด.. ์†Œํ”„ํŠธ์›จ์–ด ์—…๋ฐ์ดํŠธ๋Š” ์‹ ์ค‘ํ•˜๊ฒŒ ํ•ด์•ผํ•œ๋‹ค. ๋งŽ์€๊ฒƒ๋“ค์—์„œ ๋ฒ„์ „์—…์ด ํ•„์š”ํ•  ์ˆ˜ ์žˆ๊ธฐ ๋•Œ๋ฌธ์ด๋‹ค..

[Flutter GoogleSignIn] ๊ฐ‘์ž๊ธฐ ๊ตฌ๊ธ€ ๋กœ๊ทธ์ธ์ด ์•ˆ๋œ๋‹ค.. (ํ•ด๊ฒฐ๋ฐฉ๋ฒ• ํฌํ•จ !! )

Firebase๋ฅผ ์ด์šฉํ•˜์—ฌ ๊ตฌ๊ธ€ ์†Œ์…œ๋กœ๊ทธ์ธ์„ ๊ตฌํ˜„ํ•ด๋†จ๋Š”๋ฐ ๋ฉฐ์น ์ „๋ถ€ํ„ฐ ๊ฐ‘์ž๊ธฐ ๋กœ๊ทธ์ธ์ด ์•ˆ๋œ๋‹ค๋Š” ๋ถˆ๋งŒ์ด ํญ์ฃผํ•˜๊ธฐ ์‹œ์ž‘ํ–ˆ๋‹ค (ํ˜„์žฌ ๊ฐœ๋ฐœ์–ธ์–ด Flutter) ......... ์—๋Ÿฌ๋Š” ์ด๋Ÿฌํ–ˆ๋‹ค[GoogleAuthUtil] [GoogleAuthUtil] error status:UNKNOWN with method:getTokenWithDetailsPlatformException(exception, ERROR, null, null) ์•„๋‹ˆ ์ฝ”๋“œ ๋ฐ”๊พผ๊ฒƒ๋„ ์—†๋Š”๋ฐ ํ•˜๋ฃจ์•„์นจ์— ๊ฐ‘์ž๊ธฐ ๋‚œ๋ฆฌํ†ต์ด ๋˜์—ˆ๋‹ค...๊ธ‰ํ•˜๊ฒŒ ๊ฒ€์ƒ‰ํ•ด๋ณด๋ฉด ์•Œ์•„๋ณด๋‹ˆ ๊ฐ™์€ ํ˜„์ƒ์„ ๊ฒช๊ณ  ์žˆ๋Š” ์‚ฌ๋žŒ๋“ค์ด ๋งŽ์•˜๋‹ค. ๊ทธ๋Ÿฌ๋˜ ์ค‘ ์•„๋ž˜ ๊นƒํ—™ ์ด์Šˆ์—์„œ ํ•ด๊ฒฐ์ฑ…์„ ์ฐพ์•˜๋‹ค GoogleSignInPlatform.instance.getTokens throws PlatformExcepti..

[์ถ”์ฒœ์‹œ์Šคํ…œ] Collaborative Denoising AutoEncoders for Top-N Recommender Systems ๋…ผ๋ฌธ ๋ฆฌ๋ทฐ

Collaborative Denoising Auto-Encoders for Top-N Recommender Systems1. IntroductonCDAE (Collaborative Denoising AutoEncoder) ๋Š” DAE๋ฅผ Collaborative Filtering์— ์ ์šฉํ•˜์—ฌ top-N ์ถ”์ฒœ์— ํ™œ์šฉํ•œ ๋ชจ๋ธ๋ชจ๋ธ์€ input์œผ๋กœ corrupted๋œ user-item ์„ ํ˜ธ๋„๋ฅผ ์ฃผ๊ณ  ์ด๊ฒƒ์˜ latent representation์„ ํ•™์Šต→ ์ด๋Š” corrupted๋˜๊ธฐ ์ „์˜ ์›๋ž˜์˜ input์„ ๋” ์ž˜ ๋ณต์›ํ•ด์คŒ2. Problem DefinitionNotation$U$ : set of users$I$ : set of items$O = (u,i,y_{ui})$ : user์˜ item์— ๋Œ€ํ•œ ์„ ํ˜ธ๋„implict ..

[tmux] ์Šคํฌ๋กค ๊ฐ€๋Šฅํ•˜๊ฒŒ ํ•˜๊ธฐ

์•„๋ž˜ ๋ช…๋ น์–ด๋“ค์„ ์ˆœ์ฐจ์ ์œผ๋กœ ์ž…๋ ฅํ›„ enterํ•ด์ฃผ์„ธ์š”! 1. ์•„๋ž˜ ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด .tmux.conf๋ผ๋Š” tmux ํ™˜๊ฒฝ์„ค์ • ํŒŒ์ผ์„ ์ƒ์„ฑ ํ˜น์€ ํŽธ์ง‘ํ•œ๋‹ค.vi ~/.tmux.conf  2. .tmux.conf ํŒŒ์ผ์ด ์—ด๋ฆฌ๋ฉด ์•„๋ž˜ ์ฝ”๋“œ๋ฅผ ์ž…๋ ฅํ•œ๋‹คset-option -g mouse on 3. ์“ด ๋‚ด์šฉ์„ ์ €์žฅํ•˜๊ธฐ ์œ„ํ•ด์„œ๋Š” :wq ๋ฅผ ์น˜๊ณ  ์—”ํ„ฐ๋ฅผ ๋ˆ„๋ฅด๋ฉด๋œ๋‹ค  4. ๋งˆ์ง€๋ง‰์œผ๋กœ ์•„๋ž˜ ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด ์Šคํฌ๋กค ์„ค์ •ํ•œ ๊ฒƒ์„ ์ ์šฉํ•ด์ค€๋‹ค!tmux source-file ~/.tmux.confโ€‹ ๊ทธ๋Ÿผ ์ด์ œ ์Šคํฌ๋กค์ด ์•„์ฃผ ํŽธํ•˜๊ฒŒ ์ž˜๋  ๊ฒƒ์ด๋‹ค ใ…Žใ…Ž

Computer Science 2024.07.24

[Flutter] ์•ฑ terminate์ƒํƒœ์—์„œ ํ…Œ์ŠคํŠธํ•˜๊ณ  ์‹ถ์„ ๋•Œ..!

์•ˆ๋“œ๋กœ์ด๋“œ ์ŠคํŠœ๋””์˜ค์—์„œ ๋นŒ๋“œํ•ด์„œ ํ…Œ์ŠคํŠธ๋ฅผ ํ•˜๋Š” ๊ฒฝ์šฐ ๋ช‡๊ฐ€์ง€ ์ œ์•ฝ์ด ์žˆ๋‹ค. [๋ฌธ์ œ์ ]๋‚˜๋Š” ์•ฑ์ด ์ข…๋ฃŒ๋˜์–ด์žˆ๋Š” ์ƒํƒœ์—์„œ ํ‘ธ์‹œ์•Œ๋žŒ์„ ํ†ตํ•ด ์•ฑ์„ ์‹คํ–‰์‹œ์ผฐ์„ ๋•Œ๋ฅผ ํ…Œ์ŠคํŠธํ•˜๊ณ  ์‹ถ์—ˆ๋Š”๋ฐ ์•ฑ์„ ์ข…๋ฃŒ์‹œํ‚ค๋ฉด ์•ฑ๊ณผ์˜ ์ปค๋„ฅ์…˜์ด ๋Š๊ธฐ๋ฉด์„œ ๋กœ๊ทธ๊ฐ€ ์•ˆ ๋œจ๊ธฐ ๋•Œ๋ฌธ์— ํ…Œ์ŠคํŠธํ•˜๊ธฐ๊ฐ€ ์–ด๋ ค์› ๋‹ค.๊ทธ๋Ÿฌ๋˜ ์ค‘ ์•„์ฃผ ์‰ฌ์šด ํ•ด๊ฒฐ๋ฐฉ๋ฒ•์ด ์žˆ๋‹ค๋Š”๊ฑธ ์•Œ์•˜๋‹ค  [ํ•ด๊ฒฐ๋ฐฉ์•ˆ]ํ„ฐ๋ฏธ๋„ ์ฐฝ์—flutter run --release๋ฅผ ์น˜๋ฉด ๋œ๋‹ค..!!!!์ด๋ ‡๊ฒŒ ๊ฐ„๋‹จํ•œ ์ค„ ๋ชฐ๋ž๋‹ค..๋’ค์— ๋ถ€๊ฐ€์ ์ธ ๋ช…๋ น์–ด๋ฅผ ์ ์–ด๋„ ๋œ๋‹ค.ํ™˜๊ฒฝ์ด ๋ถ„๋ฆฌ๋˜์–ด์žˆ๋Š” ๊ฒฝ์šฐ ํ™˜๊ฒฝ์— ๋”ฐ๋ผ --flavor dev, --flavor prod ๋“ฑ์„ ์ถ”๊ฐ€ํ•ด์„œ ์‹คํ–‰์‹œํ‚ฌ ์ˆ˜ ์žˆ๋‹ค ํ•ด๋‹น ๋ช…๋ น์–ด๋กœ ์•ฑ์„ ์‹คํ–‰์‹œํ‚ค๋ฉด ์•ฑ์„ ์ข…๋ฃŒ์‹œ์ผœ๋„ ๋กœ๊ทธ๋ฅผ ๊ณ„์† ํ™•์ธํ•  ์ˆ˜ ์žˆ๋‹ค ๐Ÿ™‚

[Flutter Google Login] ๊ตฌ๊ธ€ ์†Œ์…œ ๋กœ๊ทธ์ธ ์—๋Ÿฌ PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null)

Flutter์—์„œ ๊ตฌ๊ธ€ ์†Œ์…œ ๋กœ๊ทธ์ธ์„ ๊ตฌํ˜„ํ•˜๋Š” ์ž‘์—…์„ ์ง„ํ–‰ํ•˜๋˜ ์ค‘ ์•ˆ๋“œ๋กœ์ด๋“œ์ชฝ์—์„œ ๋ง์ฝ์ด ์ƒ๊ฒผ๋‹ค. ๐Ÿ˜ฐ ์ผ๋‹จ ๋‚˜๋Š” google_sign_in ํŒจํ‚ค์ง€๋ฅผ ์‚ฌ์šฉํ–ˆ๋‹ค. ๊ตฌ๊ธ€ ์†Œ์…œ ๋กœ๊ทธ์ธ์„ ์œ„ํ•ด์„œ๋Š” ์•„๋ž˜์™€ ๊ฐ™์ด ์ฝ”๋“œ๋ฅผ ์ž‘์„ฑํ•˜๋ฉด GoogleSignIn _googleSignInAccount = await _googleSignIn.signIn(); ๊ตฌ๊ธ€ ๊ณ„์ •์˜ displayName, email, serverAuthCode, idToken๋“ฑ์„ response๋กœ ๋‚ด๋ ค์ค€๋‹ค. ์ด reponse๊ฐ€ ์ œ๋Œ€๋กœ ๋“ค์–ด์™€์•ผ ๊ตฌ๊ธ€๊ณ„์ •์— ๋กœ๊ทธ์ธ์„ ์„ฑ๊ณตํ•˜๊ฒŒ ๋˜๋Š” ๊ฒƒ์ด๋‹ค. ๋ฌธ์ œ๋Š”... ๋ถ„๋ช… Android studio์—์„œ ๋นŒ๋“œํ•ด์„œ ํ…Œ์ŠคํŠธํ•  ๋•Œ๋Š” reponse๊ฐ€ ์ž˜ ๋“ค์–ด์™”๋Š”๋ฐ ์•ฑ์„ ๋ฐฐํฌ ํ›„์— ํ…Œ์ŠคํŠธํ•ด๋ณด๋‹ˆ๊นŒ ๊ณ„์† PlatformException(sig..

[์•ˆ๋“œ๋กœ์ด๋“œ] Debug, Release SHA key ์ถ”์ถœ ๋ฐฉ๋ฒ•

Debug ์ธ์ฆ์„œ ์ง€๋ฌธ ๊ฐ€์ ธ์˜ค๋Š” ๋ฐฉ๋ฒ• (Debug SHA key๊ฐ’ ์ถ”์ถœ) 1. Gradle ์ด์šฉ gradle ๋ช…๋ น์–ด๋ฅผ ์ด์šฉํ•ด์„œ ์ถ”์ถœํ•  ์ˆ˜ ์žˆ๋‹ค. ์•ˆ๋“œ๋กœ์ด๋“œ ํด๋”๋กœ ๊ฐ€์„œ ์•„๋ž˜ ๋ช…๋ น์–ด๋ฅผ ์ณ์ฃผ๋ฉด ๋! ./gradlew signingReport ์•„๋ž˜์™€ ๊ฐ™์ด ์ถœ๋ ฅ๋˜๋Š”๋ฐ (์—ฌ๊ธฐ์„œ Config๊ฐ€ debug๋ผ๊ณ  ๋˜์–ด์žˆ๋Š”๊ฑฐ ๊ผญ ํ™•์ธ!) SHA1, SHA256์„ ํ™•์ธํ•˜๋ฉด ๋œ๋‹ค! > Task :app:signingReport Variant: debug Config: debug Store: C:\Users\####\.android\debug.keystore Alias: AndroidDebugKey MD5: ##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:## SHA1: ##:##:##:##:#..

[Firebase] Firebase๋ž€? ์–ธ์ œ ์–ด๋””์— ์‚ฌ์šฉํ•˜๋ฉด ์ข‹์€๊ฐ€

Firebase๋Š” Google์—์„œ ์ œ๊ณตํ•˜๋Š” ๊ฐœ๋ฐœ ํ”Œ๋žซํผ์œผ๋กœ, ๋ชจ๋ฐ”์ผ ๋ฐ ์›น ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ๋น ๋ฅด๊ณ  ์‰ฝ๊ฒŒ ๊ฐœ๋ฐœํ•˜๊ณ  ๋ฐฐํฌํ•  ์ˆ˜ ์žˆ๋„๋ก ๋‹ค์–‘ํ•œ ๋„๊ตฌ์™€ ์„œ๋น„์Šค๋ฅผ ์ œ๊ณตํ•˜๋Š” ํด๋ผ์šฐ๋“œ ๊ธฐ๋ฐ˜์˜ ํ†ตํ•ฉ ํ”Œ๋žซํผ์ž…๋‹ˆ๋‹ค. Firebase๋Š” ๋ฐฑ์—”๋“œ ์„œ๋น„์Šค, ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค, ์ธ์ฆ, ํ˜ธ์ŠคํŒ…, ํด๋ผ์šฐ๋“œ ํ•จ์ˆ˜, ํ‘ธ์‹œ ์•Œ๋ฆผ, ์‹ค์‹œ๊ฐ„ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๋“ฑ ๋‹ค์–‘ํ•œ ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•˜์—ฌ ๊ฐœ๋ฐœ์ž๊ฐ€ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ๋งŒ๋“ค๊ณ  ๊ด€๋ฆฌํ•  ๋•Œ ํ•„์š”ํ•œ ๊ธฐ๋Šฅ์„ ํ•˜๋‚˜์˜ ํ”Œ๋žซํผ์—์„œ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋„๋ก ํ•ฉ๋‹ˆ๋‹ค. Firebase์˜ ์ฃผ์š” ๊ธฐ๋Šฅ๊ณผ ์„œ๋น„์Šค์— ๋Œ€ํ•ด ์•Œ์•„๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค: Firebase Authentication: ์‚ฌ์šฉ์ž ์ธ์ฆ ์„œ๋น„์Šค๋ฅผ ์ œ๊ณตํ•˜๋ฉฐ, ์ด๋ฉ”์ผ/๋น„๋ฐ€๋ฒˆํ˜ธ, ์†Œ์…œ ๋กœ๊ทธ์ธ(Google, Facebook, Twitter ๋“ฑ), ์ „ํ™”๋ฒˆํ˜ธ ์ธ์ฆ ๋“ฑ ๋‹ค์–‘ํ•œ ์ธ์ฆ ๋ฐฉ๋ฒ•์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค. Fi..

Computer Science 2024.01.18

[Xcode ์—๋Ÿฌ] Error (Xcode): Cycle inside Runner; building could produce unreliable results (ํ•ด๊ฒฐ๋ฒ• ํฌํ•จ โ—๏ธ)

์ด๋ฒˆ์— macOS๋ฅผ Ventura๋กœ ์—…๊ทธ๋ ˆ์ด๋“œ ์‹œํ‚ค๋ฉด์„œ XCode๋„ 15.1๋กœ ์—…๊ทธ๋ ˆ์ด๋“œ ์‹œ์ผฐ๋‹ค. ๊ทผ๋ฐ ์—ญ์‹œ ๋ฒ„์ „ ์—…์€ ๊ฐœ๋ฐœ์ž์—๊ฒŒ ๋ฐ˜๊ฐ€์šด ์†Œ์‹์€ ์•„๋‹Œ๋“ฏ...ใ…  (๋Š˜ ๋งˆ์ฃผํ•˜๋Š” ๋นŒ๋“œ์—๋Ÿฌ) * macOS: 13.6.3, M1 Pro * xcode: 15.1 ์ง„์งœ ์—๋Ÿฌ ํ•œ 20๊ฐœ ๋ณธ๊ฑฐ ๊ฐ™๋‹ค ใ…‹ใ…‹ใ…‹ใ…‹ ํ•˜๋‚˜ํ•˜๋‚˜ ๋„์žฅ๊นจ๊ธฐํ•˜๋“ฏ์ด ๊ณ ์น˜๊ณ  ๊ฑฐ์˜ ๋ง‰๋ฐ”์ง€์ฏค ๋งˆ์ฃผํ•œ ์ด ์—๋Ÿฌ.. Cycle inside Runner; building could produce unreliable results. Cycle details: → Target 'Runner': ExtractAppIntentsMetadata โ—‹ Target 'Appname': CodeSign /Users/fon/Library/Developer/Xcode/DerivedDat..

Computer Science 2024.01.05

[Android] keystore๋ž€? keystore ์ƒ์„ฑ ๋ฐฉ๋ฒ• ๋ฐ ์—ญํ• 

[Android] buildType์ด๋ž€? debug vs release ๐Ÿ›  ํ”„๋กœ์ ํŠธ์˜ buildType์€ ๊ธฐ๋ณธ์ ์œผ๋กœ 2๊ฐœ 1. debug 2. release ์ด ๋‘˜์˜ ๊ฐ€์žฅ ํฐ ์ฐจ์ด๋Š” ๋ฌด์—‡์ธ๊ฐ€ ?? ์งง๊ฒŒ ์š”์•ฝ ํ•˜๋ฉด, ๊ฐœ๋ฐœ์ž๋“ค์ด ์•ฑ์„ ํ…Œ์ŠคํŠธํ•˜๋ฉด์„œ ๋ฒ„๊ทธ๋ฅผ ์ฐพ๊ณ , ๋˜ ๊ทธ ๋ฒ„๊ทธ๋ฅผ ์ˆ˜์ •ํ•˜๊ณ  ํ•˜๋Š” ์ž‘์—…๋“ค์„ debug mac-user-guide.tistory.com ๐Ÿ‘†๐Ÿ‘†๐Ÿ‘† ์•ž์„œ buildType์˜ ์ข…๋ฅ˜ 2๊ฐ€์ง€, debug์™€ release type์— ๋Œ€ํ•ด ์„ค๋ช…์„ ํ–ˆ์Œ ์œ„ ๊ธฐ๋ฐ˜์œผ๋กœ ์•„๋ž˜ ๋‚ด์šฉ์„ ์„ค๋ช…ํ•  ๊ฒƒ์ž„ debug.keystore ์ƒ์„ฑ debug.keystore๋Š” android sdk๋ฅผ PC์— ์„ค์น˜ํ•˜๋ฉด ๊ธฐ๋ณธ์ ์œผ๋กœ ํฌํ•จ์ด ๋˜์–ด ์žˆ๊ธฐ ๋•Œ๋ฌธ์— ๋”ฐ๋กœ ์ƒ์„ฑํ•˜์ง€ ์•Š์•„๋„ ๋จ! debug.keystore์˜ ์œ„์น˜ window : C:/..

[Android] buildType์ด๋ž€? debug vs release ๐Ÿ› 

ํ”„๋กœ์ ํŠธ์˜ buildType์€ ๊ธฐ๋ณธ์ ์œผ๋กœ 2๊ฐœ 1. debug 2. release ์ด ๋‘˜์˜ ๊ฐ€์žฅ ํฐ ์ฐจ์ด๋Š” ๋ฌด์—‡์ธ๊ฐ€ ?? ์งง๊ฒŒ ์š”์•ฝ ํ•˜๋ฉด, ๊ฐœ๋ฐœ์ž๋“ค์ด ์•ฑ์„ ํ…Œ์ŠคํŠธํ•˜๋ฉด์„œ ๋ฒ„๊ทธ๋ฅผ ์ฐพ๊ณ , ๋˜ ๊ทธ ๋ฒ„๊ทธ๋ฅผ ์ˆ˜์ •ํ•˜๊ณ  ํ•˜๋Š” ์ž‘์—…๋“ค์„ debug type์—์„œ ํ•จ. ๊ทธ๋ฆฌ๊ณ  release type๊ณผ์˜ ์•„์ฃผ ํฐ ์ฐจ์ด์ ์€, release type์€ ์‹คํ–‰ํ•˜๋ คํ• ๋•Œ keystore alias, keystore ์œ„์น˜, keystore ๋น„๋ฐ€๋ฒˆํ˜ธ ๋“ฑ์„ ์š”๊ตฌํ•จ!!! ์™œ ์š”๊ตฌํ•˜๋ƒ?? ์™œ๋ƒ๋ฉด, release type์€ ์•ฑ ์ถœ์‹œ์šฉ์ด๊ธฐ ๋•Œ๋ฌธ!! ์•ฑ์ด ์ถœ์‹œ๋˜๋ฉด ์ผ๋ฐ˜ ์‚ฌ์šฉ์ž๋“ค์ด Google Play Store์—์„œ ์•ฑ์„ ์ฐพ์„ ์ˆ˜ ์žˆ๋‹ค๋Š”๊ฑฐ ์•„์‹œ์ฃ ?

[ํ•ด๊ฒฐ๋ฐฉ๋ฒ• ํฌํ•จ] CocoaPods could not find compatible versions for pod "":

pod install์‹œ ๋‚ด๊ฐ€ ๋งˆ์ฃผํ•œ ์—๋Ÿฌ: CocoaPods could not find compatible versions for pod "#####": ๋ฌด์ž‘์ • pod deintegrate → pod clean → pod install ์„ ๋ฐ˜๋ณตํ–ˆ์ง€๋งŒ ๊ณ„์† ๋งˆ์ฃผํ–ˆ๋‹ค ์—๋Ÿฌ์ฐฝ์—๋Š” 'pod repo update'๋ฅผ ํ•˜๋ผ๊ณ  ์จ์ ธ์žˆ๋Š”๋ฐ, ๋‚œ ์ตœ๊ทผ์— ์ด๋ฏธ pod update๋ฅผ ํ•œ ์ƒํƒœ์˜€๊ณ  ๋˜ ๋ฒ„์ „์—…์„ ํ•  ํ•„์š”๋Š” ์—†์—ˆ๋‹ค.. ๊ทธ๋Ÿฌ๋‹ค ํ•ด๊ฒฐ๋ฐฉ๋ฒ•์„ ์ฐพ์•˜๋‹ค,,!!!!!!! flutter pub get → cd ios → pod install flutter pub get์ด ํ•ด๊ฒฐ๋ฐฉ๋ฒ•์ด์—ˆ๋‹ค..!! ๐Ÿ˜ƒ ์ €์ฒ˜๋Ÿผ pod clean์œผ๋กœ๋งŒ ํ•ด๊ฒฐ์ด ๋˜์ง€ ์•Š์€ ๋ถ„๋“ค์€ flutter pub get์„ ํ•ด๋ณด์„ธ์š”

[Flutter] pubspec.yaml & pubspec.lock

pubspec.lock - flutter ํ”„๋กœ์ ํŠธ์—์„œ ์‚ฌ์šฉํ•˜๋Š” ํŒจํ‚ค์ง€์˜ ๋ฒ„์ „์„ ์ •ํ™•ํ•˜๊ฒŒ ๊ด€๋ฆฌํ•˜๊ธฐ ์œ„ํ•œ ํŒŒ์ผ - pubspec.yaml ํŒŒ์ผ์— ๋ช…์‹œ๋œ ํŒจํ‚ค์ง€๋“ค๊ณผ ๊ทธ ์˜์กด์„ฑ ํŒจํ‚ค์ง€๋“ค์˜ ์ •ํ™•ํ•œ ๋ฒ„์ „ ์ •๋ณด๋ฅผ ํฌํ•จ - ์™œ ํ•„์š”ํ•˜๋Š๋ƒ ? --> ํ”„๋กœ์ ํŠธ๋ฅผ ๊ณต์œ ํ•˜๊ฑฐ๋‚˜ ๋‹ค๋ฅธ ํ™˜๊ฒฝ์—์„œ ์‹คํ–‰์‹œ, ํŒจํ‚ค์ง€ ๋ฒ„์ „ ์ถฉ๋Œ ๋ฐฉ์ง€, ํ”„๋กœ์ ํŠธ์˜ ์ผ๊ด€์„ฑ์„ ์œ ์ง€ํ•˜๊ธฐ ์œ„ํ•จ! - ์ผ๋ฐ˜์ ์œผ๋กœ ํ•ด๋‹น ํŒŒ์ผ์„ ์ง์ ‘ ์ˆ˜์ •ํ•˜์ง€ ์•Š์Œ. pubspec.yaml ํŒŒ์ผ์„ ํŽธ์ง‘ํ•˜์—ฌ ํŒจํ‚ค์ง€๋ฅผ ์ถ”๊ฐ€ํ•˜๊ฑฐ๋‚˜ ๋ฒ„์ „๋ฒ”์œ„๋ฅผ ์กฐ์ •ํ•˜๋Š” ๋ฐฉ์‹์œผ๋กœ ๊ด€๋ฆฌ๋จ pubspec.yaml - ํ”„๋กœ์ ํŠธ์˜ ์ข…์†์„ฑ์„ ์„ ์–ธํ•˜๋Š” ๊ณณ - ์–ด๋–ค ํŒจํ‚ค์ง€๋ฅผ ์‚ฌ์šฉํ•  ๊ฒƒ์ธ์ง€, ์–ด๋–ค ๋ฒ„์ „์˜ ํŒจํ‚ค์ง€๋ฅผ ์‚ฌ์šฉํ•  ๊ฒƒ์ธ์ง€ ๋ช…์‹œ (ํŒจํ‚ค์ง€์˜ ์ตœ์†Œ ๋ฒ„์ „, ๋ฒ”์œ„ ๋“ฑ์ด ์ •์˜๋จ)

728x90
๋ฐ˜์‘ํ˜•