일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- stack
- String
- rxswift
- Session
- error
- Archive
- Swift
- github
- darkmode
- Code
- mac
- FLUTTER
- Realm
- MacOS
- JPA
- 웹뷰
- view
- SwiftUI
- iOS16
- Xcode
- Apple
- IOS
- 개발자
- appstore
- 한글
- Firebase
- Git
- Python
- UIButton
- Notification
- Today
- Total
목록error (9)
EEYatHo 앱 깎는 이야기
Error Xcode 14.3 으로 업데이트 후, Archive시 아래 에러 발생 에러 이미지 에러 코드 Run custom shell script '[CP] Embed Pods Frameworks' ... rsync error: some files could not be transferred (code 23) at /AppleInternal/Library/BuildRoots/97f6331a-ba75-11ed-a4bc-863efbbaf80d/Library/Caches/ com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9] Command PhaseScriptExecution failed with a nonzero exit code Solution {A..
에러 배경설명 API 호출시 아래와 같은 에러가 나옴 status code : 1103 NSLocalizedDescription : 리소스가 최대 크기를 초과함 Solution iOS 13 이상에서 나타나는 버그이다. API 호출 시, request 의 httpMethod 를 GET 이라면, httpBody 를 비워야한다... 🫠 body 를 통해 데이터를 전달하고 싶으면, API 가 POST 를 지원하도록 하고 사용한다. GET 을 유지하고 데이터를 전달하고 싶으면, header 나 url query를 사용한다. Reference https://stackoverflow.com/questions/56955595/1103-error-domain-nsurlerrordomain-code-1103-resourc..
HapticEngine 으로 진동을 구현했었다. 구현 포스팅 그런데 백그라운드로 갔다가 포그라운드로 돌아온 후, 진동을 켜면 com.apple.CoreHaptics Code=-4805 에러가 발생했다. CHHapticError 정의 를 보니, 엔진이 켜져있지 않다고 한다. Solution HapticEngine 은 앱이 백그라운드 상태로 가면 꺼진다. 따라서 포그라운드 진입시, HapticEngine 을 다시 start 시켜 해결했다. /// in AppDelegate override func applicationWillEnterForeground(_ application: UIApplication) { do { try VibrationManager.shared?.hapticEngine.start() }..
iOS16 에서 특정 조건을 만족하는 케이스에서 present 시 UI 가 깨진다. 버그 조건 설명 iOS16 디바이스의 orientation 과, 앱에서 인지하는 orientation 이 다른 상황 modalPresentStyle 이 pageSheet 와 formSheet 가 아닌 viewController 를 present 구현 영상 with gif iOS16 시뮬레이터에서, 디바이스의 방향은 potraits, 앱의 방향은 landscape 로 바꾼 뒤, ( 그 반대도 버그가 발생한다. ) modalPresentStyle 을 overFullScreen 으로 present 하는 gif 이다. 앱의 orientation 를 무시하고 디바이스의 orientation 에 맞게 present 되어버린다. ho..
맥 OS 카탈리나부터, 터미널이 bash에서 zsh로 바뀌었습니다. 터미널의 환경변수를 bash에서는 ~/.bash_profile에 적었었지만, zsh에서는 ~/.zshrc에 적습니다. 때문에, zsh를 쓰시는 분들은 bash_profile에 Path 추가해줘도 터미널에서 flutter 명령을 인식하지 못합니다. ( "command not found: flutter" 에러가 뜨게 됩니다. ) zsh 터미널에 환경변수 추가하기 ~/.zshrc 파일끝에 아래 코드를 적어주시면 됩니다. 터미널로 하셔도 되고, 직접 GUI로 열어서 적으셔도 됩니다. export PATH="$PATH:[flutter bin폴더 경로]" 참고 블로그 : https://eunjin3786.tistory.com/221 아기개발자님 감..
웹뷰에서 내려오는 status code 로 에러처리를 하려하는데, 테스트할 만한 stub이 없어서 정리. 테스트할 status code URL 404 https://github.com/qwdscxzvdw 502 https://scrap.uznam8x.space/ 코드 /* 웹뷰 response가 오고 난 후, 다시한번 탐색여부를 결정하는 대리자 메소드 statusCode로 에러처리 decidePolicyFor navigationAction에서 탐색을 거부했다면 이 대리자까지 오지않음 */ func webView(_ webView: WKWebView, decidePolicyFor navigationResponse: WKNavigationResponse, decisionHandler: @escaping (W..
nib must contain exactly one top level object which must be a UITableViewCell instance xib 최상단에 view가 2개 이상일 경우 발생. 언제 드갔지.. ㅡ,ㅜ
그동안 Xcode 12.4를 사용하다가, 13로 업데이트 했다. 그런데 기존에 잘 배포하고있던 앱이, Archive 시 RealmSwift에서 에러가 발생했다. 처음엔 업데이트한 Xcode가 문제겠거니 생각했다가, 지인과 오픈톡에 물어보니 나만 겪는 현상이었다. 즉 Xcode 13만의 문제가 아니였다. RealmSwift 같은 몇몇 프레임워크들은 Xcode의 버전에 종속성을 가진다. Releases · realm/realm-cocoa Realm is a mobile database: a replacement for Core Data & SQLite - realm/realm-cocoa github.com 위의 Realm Github에서 확인해보면, Xcode 12.4에서는 RealmSwift 10.7.2를..