• 카테고리

    질문 & 답변
  • 세부 분야

    모바일 앱 개발

  • 해결 여부

    미해결

섹션22 동영상플레이어에서 로고 클릭시 오류 발생합니다.

24.05.14 13:48 작성 24.05.14 14:01 수정 조회수 132

0

IOS 시뮬레이터 사용하여 로고 클릭시

Lost connection to device.

Error: Unable to terminate com.example.vidPlayer on 6913EF1F-C2DE-4C17-A1F2-7948E943B273:

ProcessException: Process exited abnormally with exit code 3:

An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=3):

Simulator device failed to terminate com.example.vidPlayer.

found nothing to terminate

Underlying error (domain=NSPOSIXErrorDomain, code=3):

The request to terminate "com.example.vidPlayer" failed. found nothing to terminate

found nothing to terminate

Command: /usr/bin/arch -arm64e xcrun simctl terminate 6913EF1F-C2DE-4C17-A1F2-7948E943B273 com.example.vidPlayer

the Dart compiler exited unexpectedly.

 

오류가 뜨면서 어플 밖으로 나가버리네요. 해결방법 알 수 있을까요?

답변 2

·

답변을 작성해보세요.

0

두분 공유 감사합니다!

0

Jaehyeok Shin님의 프로필

Jaehyeok Shin

2024.05.14

동일한 에러 떴었는데 해결해서 댓글 남겨봅니다.

IOS 17부터 아마 표시되는 팝업 같고요.
갤러리 등의 접근 권한 여부를 IOS17부터 묻도록 바뀌어서 몇몇만 에러가 나는 것 같습니다.

갤러리에 대한 접근 권한 여부를 묻도록 설정하니 저는 해결했고요.


1. 프로젝트의 디렉토리 IOS > Runner.xcworkspace 우측 클릭 > Open in > Finder

  1. Finder에서 'Runner.xcworkspace' 실행하여 xcode 열기

  2. 좌측 xcode 디렉토리의 Runner > Runner > Info 더블 클릭

  3. 테이블이 나오실 것인데, 최상단 'Information Property List 우측 클릭 > Add Row

  4. NSPhotoLibraryUsageDescription 입력 후 엔터

스크린샷 2024-05-14 오후 10.22.06.png

 

이렇게 하고 나서 다시 앱 빌딩하니, 저는 갤러리 접근 권한 여부 팝업이 정상적으로 표시되었습니다.

참조: https://blog.naver.com/yuyyulee/220987006883

 

rhrbghk님의 프로필

rhrbghk

질문자

2024.05.15

해결됬어요!!!!감사합니다!!!!!!!