본문 바로가기

Xcode7

[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] EXC_BAD_ACCESS 에러: Thread 1: EXC_BAD_ACCESS 원인: 해당 에러 원인이 다양하므로 원인 파악 필요 해결: 에러 원인 파악을 위한 아래 설정 필요 XCode 상단 Product 메뉴 -> [Scheme] -> [Edit Scheme] 탭 선택 Run ->[Diagnostics] 탭 -> [Zombie Objects] 체크 로그를 통해 해당 에러가 발생한 원인을 확인할 수 있음. 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] Provisioning profiles 삭제하기 프로비저닝 프로파일이 꼬일 때가 있어 삭제하고 다시 다운로드할 필요가 있을 때 참고합니다. 터미널에서 아래의 경로로 이동해서 삭제해주시면 됩니다. cd ~/Library/MobileDevice/Provisioning Profiles 참고: stackoverflow.com/questions/45625347/xcode-provisioning-profiles-location 2021. 3. 15.