๋ถ๋ฅ ์ ์ฒด๋ณด๊ธฐ (104) ์ธ๋ค์ผํ ๋ฆฌ์คํธํ [Error, Xcode] ์์นด์ด๋ธ์ ๋ฐ์ํ๋ Error upon app archive: Found an unexpected Mach-O header code: 0x72613c21 ํด๊ฒฐํ๊ธฐ [์๋ฌ๋ด์ฉ] Appstore Connect์ ์ฌ๋ฆฌ๋ ๋์ค, ์๋์ ๊ฐ์ ์๋ฌ ๋ฉ์์ง๊ฐ ๋ฐ์ : Error upon app archive: Found an unexpected Mach-O header code: 0x72613c21 [ํด๊ฒฐ๋ฒ] Stackoverflow์์ ํด๋น ์ฆ์์ ์ฐพ์๋ณด๋, Dynamic / Statuc ์ ๋ฐ๋ผ ์ค์ ์ ๋ฌ๋ฆฌํด์ผํ๋ ๋ถ๋ถ์ด ์๋ ๊ฒ์ ๋ฐ๊ฒฌํ๋ค. Dynamic Framework๋ Embeded Framework์ ์ฐ๊ฒฐ์ด ๋์ด ์์ด์ผ ๋๊ณ , Static Framework์ ๊ฒฝ์ฐ Embeded Framework์ ์ฐ๊ฒฐ์ด ๋์ด ์์ผ๋ฉด ์๋๊ณ , Link Binary With Libraries์ ์ฐ๊ฒฐ์ด ๋์ด ์์ด์ผ ํ๋ค. TARGET > Embeded Frameworks ์์ Sta.. [iOS]LaunchScreen ์ค์ ํ๊ธฐ + ์ด๋ฏธ์ง ์๋จ๋ ์๋ฌ ํด๊ฒฐํ๊ธฐ ๋ฐ์น์คํฌ๋ฆฐ์ ์ฌ์ฉ๋๋ ์ด๋ฏธ์ง๋ asset ํด๋์์ ๋ชป๋ถ๋ฌ์ค๋ ํน์ดํ์ ๋ฐ๊ฒฌ ;; ๋จผ์ , LaunchScreen ์ค์ ํ๊ธฐ 1. info.plist ์ค์ 2. Targets์ App Icons and Launch Images์ Launch Screen File๋ช ์ด LaunchScreen์ธ์ง ํ์ธ. LaunchScreen ์ ์ฌ์ฉํ ์ด๋ฏธ์ง ์ธํ ์ฃผ์: LaunchScreen.storyboard์์ ์ฌ์ฉํ๋ UIImageView์ image๋ assets.xcassetsํ์ผ์์ ์ฌ์ฉํ๋ฉด ์ด๋ฏธ์ง๊ฐ ์๋์ค๋ ํ์ ๋ฐ์, "๋ฐ๋ก assetsํ์ผ ๋ฐ"์ ์ด๋ฏธ์ง ํ์ผ ์์ฑ ํ ์ฌ์ฉ Assets.xcassets ๋ฐ์ ํ์ผ ์ถ๊ฐ ๋๋๊ทธ์ค๋๋กญ + Copy items if needed ์ฒดํฌํ์ฌ ์ถ๊ฐํ ์ด๋ฏธ์ง๋ฅผ ์ฌ์ฉํด์ผํจ!!!!! [Error, Xcode] symbols for architecture armv7 ๐ฟ ์๋ฌ๋ด์ฉ file is universal (armv7 arm64) but does not contain the x86_64 architecture ๐ฟ ๋น๋ ์ค๋ฅ ์์ธ Xcode12์์ ARM๊ธฐ๋ฐ ๋งฅ(์ ํ์ค๋ฆฌ์ฝ)์ ์ง์ํจ์ ๋ฐ๋ผ ์์ดํฐ ์๋ฎฌ๋ ์ดํฐ์ ARM์ฉ ์ํคํ ์ณ arm64๊ฐ ์ถ๊ฐ๋ผ ๋ฐ์ ๐ฟ ํด๊ฒฐ๋ฐฉ๋ฒ Build Setting > Architectures > EXCLUDED_ARCHS์ arm64๋ฅผ ์ถ๊ฐ Build Setting > User-Defined > VALID_ARCHS ์ ๊ฑฐ ๐ iOS ๊ธฐ๊ธฐ ๋ณ Architecture iOS ๊ธฐ๊ธฐ๋ณ๋ก ๋ค์ํ Architecture๊ฐ ์๋ค. ํ์ฌ๊น์ง ๋์จ armv64, armv7, armv6, i386, x86_64 ๋ฅผ ๊ธฐ๊ธฐ๋ณ๋ก ์ ๋ฆฌํด๋ณธ๋ค. armv64 (์์ดํฐ.. [Spring] Ant path style (Ant ๊ฒฝ๋ก ํจํด) Ant path style์ด๋? ์คํ๋ง ํ๋ ์์ํฌ์์ ์ฌ์ฉ๋๋ ๊ฒฝ๋ก ํจํด์ผ๋ก path๊ฐ pattern์ ๋งค์นญ๋๋์ง ํ์ธํ ๋ ์ฌ์ฉ # ant ๊ฒฝ๋ก ๊ท์น 1) * : 0๊ฐ ๋๋ ๊ทธ์ด์์ ๊ธ์๊ฐ ๋งค์นญ 2) ? : ํ๊ธ์์ ๋งค์นญ 3) ** : ๋ค๊ณ์ธต์ ๋ํ๋ ์) dir/**/A => dir/dir1/A, dir/dir2/A, dir/dir1/dirA/A ๋ค ํฌํจ. 4) / ๋๋ \ ์ผ๋ก ๋๋ ๊ฒฝ์ฐ : /** ๋๋ \** ๊ณผ ๋์ผ ์์) "/logs/?*.log" > /logs/๋ก ์์ํ๊ณ ํ์ฅ์๊ฐ log๋ก ๋๋๋ ๋ชจ๋ ๊ฒฝ๋ก "/files/**/logs" > /files/๋ก ์์ํ๊ณ ์ค๊ฐ์ 0๊ฐ ์ด์์ ์ค๊ฐ ๊ฒฝ๋ก๊ฐ ์กด์ฌ, /logs๋ก ๋๋๋ ๋ชจ๋ ๊ฒฝ๋ก [iOS]๋๋ฐ์ด์ค ํ ์คํธ ๋๋ฒ๊น ํ๊ธฐ - ์ฝ์ ์ฑ ์ฌ์ฉ ์๋ฎฌ๋ ์ดํฐ๊ฐ ์๋ ์ค์น ํน์ ๋ฐฐํฌ๋ ์ฑ์ ๋๋ฐ์ด์ค๋ก ํ ์คํธํ ๋ ์ฌ์ฉํ๋ ๋ฐฉ๋ฒ! https://support.apple.com/ko-kr/guide/console/cnsl1012/mac Mac์์ ์ฝ์.app ์ ์คํํ๋ฉด ์๋ ์ฒ๋ผ ํ๋ฉด์ด ๋์ค๊ณ , ์ข์ธก ์๋จ์๋ ์ฐ๊ฒฐ๋ ๊ธฐ๊ธฐ๋ค์ด ๋์จ๋ค. USB ์ผ์ด๋ธ์ ์ฌ์ฉํ์ฌ Mac์ iOS ๋๋ฐ์ด์ค๋ฅผ ์ฐ๊ฒฐ! iOS ๋๋ฐ์ด์ค์์ ์ปดํจํฐ๋ฅผ ์ ๋ขฐํ๋ผ๋ ๋ฉ์์ง๊ฐ ํ์๋๋ฉด, ์ ๋ขฐ๋ฅผ ์ ํ ์ฝ์์ ๋๋ฐ์ด์ค ๋ชฉ๋ก์์ iOS ๋๋ฐ์ด์ค๋ฅผ ์ ํํ๊ณ ์๋จ์ '์์'๋ฒํผ์ ํด๋ฆญํ๋ฉด ์ฝ์์์ ๋ก๊ทธ๋ฅผ ์์งํ๊ธฐ ์์ํฉ๋๋ค. ํ์ฌ ์ฐ๊ฒฐ๋ ๋๋ฐ์ด์ค์์ ์คํ๋๊ณ ์๋ ํ๋ก์ธ์ค๋ค์ด ๋ค ๊ธฐ๋ก๋๋ค. ๊ฒ์์ ๋ณด๊ณ ์ถ์ ์ฑ์ด๋ฆ์ ๊ฒ์ํ๊ณ '๋ชจ๋'์์ 'ํ๋ก์ธ์ค'๋ก ์ต์ ์ ๋ณ๊ฒฝํด์ค๋ค. ๋ณด๋ฉด ์ฑ ์คํ ์ ํธ๋์์ดํฌ.. [Error, Xcode] Xcode xconfigํ์ผ "unable to open configuration settings file" ์๋ฌ ํด๊ฒฐ๋ฒ ๋ณดํต Clone ํ์ ๋ ๋ฐ์ [์๋ฌ ๋ด์ฉ] unable to open configuration settings file + Pods ํ์ผ(.xcconfig) ์ฌ๋ผ์ง + Project > Info > Configuration > Based on Configuration File ์ ๋ค ์๋ฌ ํ์๊ฐ ๋์ด์์..;; [Solution] ํด๋น ํด๋์ ๊ฐ์ ์๋ ๋ช ๋ น์ด๋ก pod ์ฌ์ค์น pod deintegrate pod install pod ์ฌ์ค์น ํ ์ ์ ๋์ ํ์ธ [๊ด๋ จ ๋งํฌ] Xcode 10 cannot build project because unable to find pods After cloning Xcode project from github, I opened PROJECT_NAME.xcodeproj.. [Error, Xcode]Building for iOS Simulator, but the linked and embedded framework '*.framework' was built for iOS + iOS Simulator ์๋ฌ ํด๊ฒฐํ๊ธฐ Xcode 12.3 ์์ Building for iOS Simulator, but the linked and embedded framework '*.framework' was built for iOS + iOS Simulator ์๋ฌ ๋ฐ์์ ํด๊ฒฐ ๋ฐฉ๋ฒ์ ๋๋ค. [์๋ฌ ๋ด์ฉ] Building for iOS Simulator, but the linked and embedded framework '*.framework' was built for iOS + iOS Simulator. [์๋ฃจ์ ] Build Settings -> Validate Workspace ์ Yes๋ก ๋ณ๊ฒฝํด์ค๋ค. [๊ด๋ จ ๋งํฌ] stackoverflow.com/questions/63267897/building-for-ios-simulator-b.. [iOS] appid๋ ? iOS์์ App ID ๋? โ๏ธ ํ๋์ developer Team ์์ ๊ฐ๋ฐํ ์ฑ๋ค์ ์๋ณํ๊ธฐ ์ํ ๊ฐ์ผ๋ก ์ฑ๋ง๋ค ๊ณ ์ ๊ฐ์ผ๋ก ๊ฐ์ง๋๋ค. โ๏ธ Team ID + Bundle ID ๋ก ๊ตฌ์ฑ 1) Team ID (App ID Prefix) ์ ํ์ด ์ ๊ณต ๊ฐ๋ฐ์๊ณ์ ์ฌ์ดํธ > Certificates, Identifiers & Profiles > Identifiers 2) Bundle ID ๊ฐ๋ฐ์์ ์ํด ์ ๊ณต, ์ฑ๋ง๋ค ๊ฐ์ง ๊ณ ์ ์ ์๋ณ์, ์ฑ์คํ ์ด์์ ์ฌ์ฉํ id ์ ์ผํ ๊ฐ Targets > General > Identity > Bundle Identifier ์ ์ค์ ๊ฐ ์ด์ 1 2 3 4 5 6 7 ยทยทยท 13 ๋ค์