DK308C
close
프로필 배경
프로필 로고

DK308C

  • 분류 전체 보기 N
    • CS 지식
      • 컴퓨터 구조와 운영체제
      • Network
    • 알고리즘
    • iOS N
      • Objective-C N
      • App
      • Error
    • Cryptic
    • Study
    • TIL
    • 후기
    • 회고
      • 매주 회고
    • etc
  • 홈
  • 태그
  • 방명록
[error] Interrupted system call

[error] Interrupted system call

테스트를 하다 보면 꽤 자주 뜨는 오류이당. 더는 까먹지 않기 위해 정리하고자 한다. Simulator의 캐시 때문에 해당 오류가 뜨는 것 같다. 해결하기 위해서 stackoverflow의 도움을 받았는데, 해당 방법은 다음과 같다.Xcode를 닫고 terminal에 sudo chmod 1777 /tmp~/Library/Developer/CoreSimulator/Caches/dyld 폴더에 남아 있는 캐시를 삭제해 준다.Xcode 재실행! 방법이 상당히 간단한데, chmod 1777은 왜 하는거지? 싶어서 조금 찾아보았다. chmod 는 흔히 알고 있듯이 파일이나 디렉토리의 권한을 변경할 수 있는 명령어이다. 해당 명령어는 각 bit 자리수를 계산하여 설정할 수 있는데,read(r): 4write(r):..

  • format_list_bulleted iOS/Error
  • · 2024. 5. 22.
  • textsms
.app has comflicting provisioning settings.

.app has comflicting provisioning settings.

문제 상황 .app has comflicting provisioning settings. Invalid Provisioning Profile Signature. The provisioning profile included in the bundle com.blablabla.BlaBla [com.blablaba.BlaBla.pkg/Payload/BlaBla.app] cannot be used to submit apps to the Mac App Store until it has a valid signature from Apple. For more information, visit the macOS Developer Portal. 회사 프로젝트를 빌드하다 보면 간혹 이런 인증서 오류가 뜨면서 빌드가 안 될 때..

  • format_list_bulleted iOS/Error
  • · 2024. 3. 20.
  • textsms
[Error] Layout은 기깔나게 잡았는데 이미지가 자꾸 튀어나와요

[Error] Layout은 기깔나게 잡았는데 이미지가 자꾸 튀어나와요

오른쪽과 왼쪽은 단 한 줄 차이이다. 바로~~~~~~ imageView.clipToBounds...... 이걸 못 찾아서 이틀 동안 몇 시간을 헤맨 건지 ,, ^___^ 도와주신 섭님과 훈님과 코님께 무한 감사를 전한다........... 나는 기본이 true일 줄 알고 있었는데 대체 왜 그랫을까? 진작 해볼걸........................................ clipToBounds는 위 설명과 같이 true일 경우에는 속한 뷰와 그 하위 뷰를 깎아주고 아닐 경우에는 그대로 내비둔다. 나는 ...... clipToBounds보다는 Layout 문제라고 생각해서 이게 왜 안 잡혀~~~!!!!! 하고 레이아웃쪽과 이미지 들어가는 부분을 확인하고 파고 바꾸고 했는데 그냥... 전혀 상관 ..

  • format_list_bulleted iOS/Error
  • · 2023. 12. 14.
  • textsms
[Error] This class is not key value coding-compliant for the key trendTableView.

[Error] This class is not key value coding-compliant for the key trendTableView.

스토리보드 때문에 생기는 문제였다. 현재 이전 코드를 조금 더 예뻐 보이게 바꾸는 중인데 ^__^ ,, SceneDelegate에서 앱을 실행 시 처음에 Storyboard와 연결해서 실행하드라. if UserDefaultsHelper.shared.haveBeenBefore { // 처음이 아닐 때 let sb = UIStoryboard(name: "Main", bundle: nil) guard let tabBarController = sb.instantiateViewController(withIdentifier: "mainTabBarController") as? UITabBarController else { fatalError("탭바 컨트롤러를 가져올 수 없습니다.") } let firstNav = U..

  • format_list_bulleted iOS/Error
  • · 2023. 11. 19.
  • textsms
[Error] The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.

[Error] The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.

App Transport Security 이때, 오류에서 말하는 App Transport Security는 애플리케이션과 웹 사이트 사이에 통신 시 보안 기능 향상을 위한 기능으로, iOS9 이후로 도입되었다. 이는 모든 인터넷 통신 시 안전한 프로토콜을 사용하도록 권장하는 것으로, http로 접근시작하는 웹사이트나 인증되지 않은 https로 네트워크 통신을 하거나 webView를 띄울 경우 해당 오류가 발생한다. 오류 해결 방법 해결 방법은 두 가지가 있다. 1. 모든 http 연결을 허용하기 말 그대로 보안이 완전하지 않은 http 웹사이트의 연결도 모두 허용하는 것과... ... 그것보다 조금 더 범위를 줄여 웹 보기 내에서 이루어지는 호출에 대해서 허용할 수도 있다. 요것처럼! 2. 도메인 하나만..

  • format_list_bulleted iOS/Error
  • · 2023. 11. 17.
  • textsms
[Error] Multiple commands produce Error

[Error] Multiple commands produce Error

Multiple commands produce Error 같은 파일명이 프로젝트 내에 있어서 생기는 오류이다. 위에서 보면 알 수 있듯이 내 경우에는 `String+` 라는 파일명이 두 개가 있어서 발생했다. 프로젝트의 target -> Copy Bundle Resources에서 특정 파일이 있다면 그 파일을 지워주거나 파일 인스펙터에서 겹치는 파일을 찾아 지워주면 된다. 다만, 지울 때 reference를 남기지 않고 지워야 한다!! (파일 이름이 겹쳐서 생기는 문제이므로... 파일이 남아있으면 말짱 도루묵이다.) 만약에 reference(원본 파일)을 남긴 채로 지운 경우에는 해당 파일 경로에 들어가 파일을 지워준 후, clean Build 하면 문제가 해결된다. 참고로 클린 빌드는 요기!!

  • format_list_bulleted iOS/Error
  • · 2023. 10. 7.
  • textsms

[Error] Escaping closure captures 'inout' parameter 'list'

오류난 코드는 다음과 같다. func callRequest(page: Int = 1, list: inout [TrendsMedia]) { let url = "https://api.themoviedb.org/3/trending/all/day?language=en-US&page=\(page)" AF.request(url, method: .get, headers: headers).validate().responseJSON { response in switch response.result { case .success(let value): let json = JSON(value) for element in json["results"].arrayValue { let id = element["id"].intValue..

  • format_list_bulleted iOS/Error
  • · 2023. 8. 13.
  • textsms
  • navigate_before
  • 1
  • navigate_next
공지사항
  • One day at a time
전체 카테고리
  • 분류 전체 보기 N
    • CS 지식
      • 컴퓨터 구조와 운영체제
      • Network
    • 알고리즘
    • iOS N
      • Objective-C N
      • App
      • Error
    • Cryptic
    • Study
    • TIL
    • 후기
    • 회고
      • 매주 회고
    • etc
최근 글
전체 방문자
오늘
어제
전체
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바