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

๐ŸŽ iOS/Error Handling

(22)
[Error, Xcode] ์•„์นด์ด๋ธŒ์‹œ ๋ฐœ์ƒ ERROR - Run custom shell script '[CP] Embed Pods Frameworks' [์—๋Ÿฌ๋‚ด์šฉ] [ํ•ด๊ฒฐ๋ฐฉ๋ฒ•] pod deintegrate, install, update ๋‹ค ์•ˆ๋œ๋‹ค. ํ„ฐ๋ฏธ๋„ ๋กœ๊ทธ์— ์ฝ”์ฝ”์•„ํŒŸ ๋ฒ„์ „์ด ์•ˆ ๋งž๋Š”๋‹ค๊ณ  ๋‚˜์˜ด. ์•„๋ž˜ ๋ช…๋ น์–ด ์ˆ˜ํ–‰ํ•˜์—ฌ ์ฝ”์ฝ”์•„ํŒŸ์„ ์—…๋ฐ์ดํŠธํ•˜์—ฌ ์žฌ์„ค์น˜ sudo gem install cocoapods [๊ด€๋ จ URL] Run custom shell script '[CP] Embed Pods Frameworks' i am maintaining a capacitor ionic project supporting both iOS and android platform. I can build the project locally and run it on a device without any issue. But when archiving the following error...
[Error, Xcode] File not found /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a ๋ฌธ์ œ ํ•ด๊ฒฐํ•˜๊ธฐ [ERROR] Xcode Version 14.3 ์œผ๋กœ ์—…๋ฐ์ดํŠธ ํ•˜๊ณ  ๋ฐœ์ƒํ•œ ์—๋Ÿฌ Could not build the precompiled application for the device. Error (Xcode): File not found /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation) [ โญ๏ธ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•1. - ์ฝ”์ฝ”์•„ํŒŸ ์„ค์น˜๋˜์–ด ์žˆ๋Š”๊ฒฝ์šฐ] ์•„๋ž˜ ์ฝ”๋“œ podfile ๋‚ด ์ถ”๊ฐ€ ํ›„ pod update ์‹คํ–‰ pos..
[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..
[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 (์•„์ดํฐ..
[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..
[Error, Xcode] Bitcode๋ž€? App Thinning ? +Bitcode ์—๋Ÿฌ ํ•ด๊ฒฐํ•˜๊ธฐ iOS 9๋ถ€ํ„ฐ๋Š” iOS๊ฐ€ ์„ค์น˜๋œ ๊ธฐ๊ธฐ๋ณ„๋กœ ์ตœ์ ํ™”๋œ ๋ฐ”์ด๋„ˆ๋ฆฌ๊ฐ€ ๋”ฐ๋กœ ์ƒ์„ฑ๋˜์–ด ๋‹ค์šด๋กœ๋“œ ๋˜๋Š” ๊ธฐ๋Šฅ์ด ์ถ”๊ฐ€๋˜์—ˆ๋‹ค. App Thinning์ด๋ผ๋Š” ๊ธฐ์ˆ ๊ณผ ๊ด€๋ จํ•˜์—ฌ XCode7๋ถ€ํ„ฐ๋Š” BitCode๋ผ๋Š” ์„ค์ •์ด Build Settings์— ์ถ”๊ฐ€๋˜์—ˆ๊ณ  ๊ธฐ๋ณธ๊ฐ’์€ 'YES'์ด๋ฉฐ ์ด๋Š” App Thinning์„ ์ง€์›ํ•œ๋‹ค๋Š” ์˜๋ฏธ! - App Thinning ? lets you create apps that use the most device features, occupy minimum disk space, and accommodate future updates that can be applied by Apple. Faster downloads and more space for other apps and content provid..
[Error, Xcode] Core data ์‚ฌ์šฉ ์‹œ ๋ฐœ์ƒํ•˜๋Š” Multiple commands produce ERROR ํ•ด๊ฒฐ๋ฐฉ๋ฒ• [๐ŸŒฑ ์—๋Ÿฌ ๋‚ด์šฉ] Multiple commands produce '/Users/์‚ฌ์šฉ์ž/Library/Developer/Xcode/DerivedData/ํ”„๋กœ์ ํŠธ์ด๋ฆ„-dpjozrsterzuxkbuxcxfrwavkybr/Build/Intermediates.noindex/ํ”„๋กœ์ ํŠธ์ด๋ฆ„.build/Debug-iphonesimulator/ํ”„๋กœ์ ํŠธ์ด๋ฆ„.build/Objects-normal/x86_64/Subject+CoreDataProperties.o' [๐ŸŒฑ ์›์ธ] Core Data ์‚ฌ์šฉ ์‹œ entity์˜ Codegen ์˜ต์…˜ ์ค‘ Class Definition ์˜ต์…˜์€ Core Data์— ์˜ํ•ด ์ฝ”๋“œ(.CoreDataProperties, .CoreDataClass)๊ฐ€ ์ƒ์„ฑ๋˜์ง€๋งŒ ๋ชฉ๋ก์— ๋‚˜ํƒ€๋‚˜์ง€ ์•Š๋Š”๋‹ค. ๊ทผ๋ฐ ์ด๋ฏธ ๊ฐœ๋ฐœ์ž๊ฐ€ ..

๋ฐ˜์‘ํ˜•