본문 바로가기

iOS/Xcode12

[iOS/Xcode] 아카이브했을 때 발생하는 UIInterfaceOrientation 이슈 에러 내용: Asset validation failed Invalid bundle. The “UIInterfaceOrientationPortrait” orientations were provided for the UISupportedInterfaceOrientations Info.plist key in the {Project Bundle Identifier} bundle, but you need to include all of the “UIInterfaceOrientationPortrait, UIInterfaceOrientationPortraitUpsideDown, UIInterfaceOrientationLandscapeLeft, UIInterfaceOrientationLandscapeRight” ori.. 2024. 3. 8.
[iOS/Xcode] DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead 에러 내용: DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead 원인: Xcode 15.0 에서 iOS17 시뮬레이터를 사용할 수 있게 되면서 에러 발생 해결: CocoaPods 1.13.0 버전에서 버그 수정 // 최신 버전으로 업데이트 gem install cocoapods --pre // 그리고 업데이트해줘야함 pod update // 버전 확인 pod --version Ref. https://stackoverflow.com/questions/77219650/dt-toolchain-dir-cannot-be-used-to-evaluate-library-search-paths-use-tool.. 2024. 3. 8.
[iOS/Xcode] Error ITMS-9017: “Invalid App Store Icon” 에러 내용: Error ITMS-90717: "Invalid App Store Icon. The App Store Icon in the asset catalog in 'YourApp.app' can't be transparent nor contain an alpha channel." 원인: 앱 아이콘 알파 채널을 포함할 수 없음. 해결: 앱 아이콘 알파 채널을 없애야 함. 아이콘 이미지 ‘미리보기’로 열기 → 파일 탭 내보내기 선택 → ‘알파’ 체크 해제 Ref. https://stackoverflow.com/questions/46585809/error-itms-90717-invalid-app-store-icon 2024. 3. 8.
[iOS/Xcode] EXC_BAD_ACCESS 에러: Thread 1: EXC_BAD_ACCESS 원인: 해당 에러 원인이 다양하므로 원인 파악 필요 해결: 에러 원인 파악을 위한 아래 설정 필요 XCode 상단 Product 메뉴 -> [Scheme] -> [Edit Scheme] 탭 선택 Run ->[Diagnostics] 탭 -> [Zombie Objects] 체크 로그를 통해 해당 에러가 발생한 원인을 확인할 수 있음. 2024. 3. 8.
[iOS/Xcode] Xcode Archive Stuck Xcode Archive 멈추는 이슈와 관련 내용을 기록합니다. 에러 내용: Xcode 아카이빙 멈추는 이슈 발생 원인: Firebase Crashlytics 스크립트 추가하면서 발생한 이슈 # Type a script or drag a script file from your workspace to insert its path. if [ "${CONFIGURATION}" != "Debug" ]; then "${PODS_ROOT}/FirebaseCrashlytics/run" "${PODS_ROOT}/FirebaseCrashlytics/upload-symbols" -gsp ${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/GoogleService-Info.plist -p ios ${.. 2024. 3. 8.
[iOS/Xcode] Missing file libarclite_iphoneos.a (Xcode 14.3) Xcode 14.3 이상 버전에서 Pod 관련 에러 발생한 내용을 기록합니다. 에러 내용: SDK does not contain 'libarclite' at the path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a'; try increasing the minimum deployment target 원인: Xcode 14.3 부터 위 에러 발생 해결: Podfile에 아래 내용 추가 post_install do |installer| installer.generated_projects.each do |project| project.targets.e.. 2024. 3. 8.
[iOS/Xcode] Version of Xcode is incompatible with version of the OS on the device Xcode에서 실제 디바이스의 OS 버전을 지원하지 않을 때, 오류를 해결하는 방법에 관해 기록합니다. 에러 내용 This operation can fail if the version of the OS on the device is incompatible with the installed version of Xcode. You may also need to restart your mac and device in order to correctly detect compatibility. 원인 해당 오류가 발생하는 원인은 실제 디바이스의 OS 버전을 최신으로 업데이트하면서 Xcode 에서 지원하는 iOS 버전과 호환되지 않아 발생합니다. 해결 방법 1. 해당 iOS 버전을 아래 Github 레파지토리들 중에서.. 2022. 6. 17.
[iOS/Xcode] 스토리보드 없이 프로젝트 개발 설정 Xcode에서 스토리보드 없이 개발하는 방법에 관해 기록합니다. Setup Xocde Project without Storyboard 1. 사용하지 않는 스토리보드를 삭제합니다. (Main.storyboard) 2. Main Interface "Main"삭제 3. info.plist에서 Main 삭제 4. SceneDelegate에서 Main Window 생성 func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { guard let windowScene = (scene as? UIWindowScene) else { return } windo.. 2022. 5. 15.
[iOS/Xcode] 소스코드 공백 표시 Xcode에서 소스코드의 공백을 표시하는 방법에 관해 기록합니다. Editor 탭의 Invisible을 클릭하시면 간단하게 설정할 수 있습니다. 아래 사진과 같이 공백을 표시하는 설정할 수 있습니다. 2021. 12. 10.
[iOS/Xcode] WKWebView 사용할 때 Log 제거 WKWebView를 사용하면서 생기는 Log를 제거하는 방법을 기록합니다. WF: _userSettingsForUser mobile: { filterBlacklist = ( ); filterWhitelist = ( ); restrictWeb = 1; useContentFilter = 0; useContentFilterOverrides = 0; whitelistEnabled = 0; } WF: _WebFilterIsActive returning: NO 위 로그와 같은 것들이 뜨게 되는데 이를 제거하는 방법을 설명합니다. 우선 Xcode 메뉴에서 Product -> Scheme -> Edit Scheme를 들어갑니다. 위 그림에서 Environment Variables에 + 버튼을 누르고 Name은 OS_A.. 2021. 7. 13.