일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |
- network
- iOS 13.0+
- UI
- tuist #xcodecloud #ios #ci/cd #swiftlint #firebase
- Alamofire
- iOS 개발자
- SWIFTUI
- uikit
- Tuist
- Git
- TCA
- combine
- Firebase
- test
- SWIFT
- concurrency
- IOS
- xcode
- ObjC
- Today
- Total
목록iOS/에러 (4)
iOS 개발 기록
📄목차Error발생 상황 원인해결Reference ErrorFailed to build module '\(SDK 이름)’; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)', while this compiler is 'Apple Swift version 5.8 (swiftlang-5.8.0.124.2 clang-1403.0.22.11.100)'). Please select a toolchain which matches the SDK. 발생 상황 iPhone의 OS를 iOS 16.4로 업데이트 했더니 Xcode에서 ..
📄목차Error발생 상황 원인 질문Reference Error// 로그창 Error Domain=NSURLErrorDomain Code=-999 "cancelled"발생 상황 Combine으로 네트워크 통신을 구현해보려고 시도하다가 발생한 문제. var cancellables = Set() AnyPublisher . ( 각종 메소드 ... ) .sink ( ... ) .store(in: &cancellables) 다음과 같이 코드를 작성했는데 에러가 발생했다. 원인 sink로 구독한 후에 반환되는 AnyCancellable를 메모리에 올리지 않아 바로 구독이 해지되어 생기는 문제. → 때문에 변수로 설정한 후에 메모리에 올려야 한다. var cancellable: AnyCancellable? cancel..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/7yQH3/btrxB3Y4iTq/qCfkqkb99yzkFTQdS5ldAK/img.png)
API 호출을 했는데 이런 에러가 떳다. finished with error [-1200] Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." 검색해보니 IOS10부터는 ATS(App Transport Security)가 강화되어 보안이 안전하지 않은 Https 트래픽을 비활성화 시킨다고 한다. 이거는 Info.plist에서 ATS setting을 수정함으로 해결할 수 있다. 프로젝트 파일의 Info.plist에서 Information Property List 옆의 +버튼을 눌러 App Transport Security Settings 항..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/lBPuj/btrxIMItS25/MZhgKiEW70P00EtNt55aBK/img.png)
터미널에서 CocoaPods으로 외부 라이브러리(나의 경우는 Alamofile)를 설치하려고 하니 이와 같은 에러가 떴다. [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: https://www.ruby-lang.org/bugreport.html [IMPORTANT] Don't forget to include the Crash Report log file under DiagnosticReports directory in bug reports. 해결방법 구글링으로 찾아보니 맥북이 ARM 기반의 애플실리콘 M1칩으로 이전하면서 아키텍쳐 차..