Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: CardInGroupCollectionViewCell 에서 이미지뷰의 이미지 삭제 (#355) #356

Merged
merged 2 commits into from
Jan 31, 2023

Conversation

hyun99999
Copy link
Member

🌴 PR 요약

🌱 작업한 브랜치

🌱 작업한 내용

  • 두 번째 탭. 그룹별 명함 조회 뷰에서 *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Need an imageRef' terminating with uncaught exception of type NSException 에러와 함께 앱이 종료되었습니다.
  • 해당 탭에서는 작업조차하지 않았기때문에 확인을 못했었고 어디서부터 잘못되었는지 커밋 히스토리를 따라가보았습니다.
    • 초록선부터 안되었고, 이게 보라선을 따라서 develop 브랜치에 영향을 준 것이라고 판단하였습니다. 파랑선을 정상적이었습니다.

스크린샷 2023-01-31 오전 1 58 28

스크린샷 2023-01-31 오전 3 23 01

🚨해결

  • CardInGroupCollectionViewCell 에서 프로젝트에서는 삭제된 Card 라는 이미지 에셋을 사용하고 있었고, 이것이 컬러 에셋과 중복되면서 발생한 문제였습니다.
  • 이미지 뷰에서 이미지를 삭제하여 해결하였습니다.
  • 아래를 참고하였습니다.

https://stackoverflow.com/questions/60317240/loading-image-from-xcassets-causes-assertion-failure

스크린샷 2023-01-31 오전 3 05 23

  • 전혀 생각못한 문제였는데 하나 머리에 넣고 가면 좋을 듯 싶습니다.

📮 관련 이슈

@hyun99999 hyun99999 added Hyungyu 🐯 현규 교수님 작업 bug labels Jan 30, 2023
@hyun99999 hyun99999 self-assigned this Jan 30, 2023
Copy link
Member

@dlwns33 dlwns33 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

오 이건... 한번도 못봤던 문제인 것 같아요 덕분에 알아갑니다 감사합니다!

@hyun99999 hyun99999 merged commit 5fe3f8a into develop Jan 31, 2023
@hyun99999 hyun99999 deleted the feature/#355 branch January 31, 2023 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Hyungyu 🐯 현규 교수님 작업
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: 그룹별 명함 조회 뷰에서 앱이 종료되는 버그
2 participants