본문 바로가기

에러7

[Xcode Cloud] Failed to prepare build for App Store Connect 안녕하세요 ◠‿◠ 고고입니다. 저한테는 Build Number를 업데이트하지 않아 생긴 오류였습니다. Build Number를 잘 업데이트하고 나니 성공했습니다. +) 작성일 기준으로 아직 Xcode Cloud에는 Fastlane에는 있는 Testflight에 업로드된 마지막 Build Number를 가져오는 기능은 없는 것 같습니다.🥲 2021. 12. 8.
소스 컨트롤 제공업체와 Xcode Cloud의 연결이 완료되지 않았습니다. 깃허브 등의 소스 컨트롤 계정이 연결되어 있지 않거나 권한이 어드민이 아니라면 '소스 컨트롤 제공업체와 Xcode Cloud의 연결이 완료되지 않았습니다.'라는 문구와 함께 Workflow를 생성할 수 없습니다. 권한 참고 출처 : Requirements for Using Xcode Cloud 2021. 12. 7.
[SwiftUI] `ForEach(_:content:)` should only be used for *constant* data. === AttributeGraph: cycle detected through attribute 697368 === ForEach count (8) != its initial count (7). `ForEach(_:content:)` should only be used for *constant* data. Instead conform data to `Identifiable` or use `ForEach(_:id:content:)` and provide an explicit `id`! 안녕하세요 ◠‿◠ 고고입니다. 갑자기 저 위의 문구가 한 20개쯤은 떠서 당황했는데 읽어보면 ForEach를 할 때 idenfiable을 상속하는 데이터를 쓰거나 id를 넣어달란 뜻이었습니다. 따라서 다음과 같이 고쳤습니다. .. 2021. 11. 25.
Error: realm accessed from incorrect thread realm accessed from incorrect thread, cannot construct reference to unmanaged object, which can be passed across threads directly 안녕하세요 ◠‿◠ 고고입니다. 스택오버플로우를 보다보니 ‘you should never try to use let realm = try! Realm() to create a singleton Realm instance and than try to access that everywhere from your app.’ let realm = try! Realm() 저거를 하나로 두고 여러 개의 함수에서 불렀던 게 문제였습니다. ‘The best way to use Realm in .. 2021. 11. 19.
Nimble library not found for -lswiftXCTest 안녕하세요 ◠‿◠ 고고입니다. https://github.com/Quick/Nimble/issues/863를 보고 임시방편으로 Podfile 밑에 이걸 추가하니 오류가 해결되었습니다. post_install do |installer| installer.pods_project.targets.each do |target| if target.name == "Nimble" target.build_configurations.each do |config| xcconfig_path = config.base_configuration_reference.real_path xcconfig = File.read(xcconfig_path) new_xcconfig = xcconfig.sub('lswiftXCTest', 'lXCT.. 2021. 11. 7.
[SwiftUI] navigationBarTitle LayoutConstraints error 안녕하세요 ◠‿◠ 고고입니다. Xcode를 업데이트하고나니 아래같이 네비게이션뷰에 타이틀을 지정하면 레이아웃 경고가 콘솔에 뜨더군요. import SwiftUI struct HomeView: View { var body: some View { NavigationView { Text("Text") .navigationBarTitle("My Title") } } } 2021-11-06 15:58:37.451585+0900 Daily Bible[17299:601787] [LayoutConstraints] Unable to simultaneously satisfy constraints. Probably at least one of the constraints in the following list is one .. 2021. 11. 6.