Section 4
Simulate data corruption
부분중
com.example.apple-samplecode.Scrumdinger 부분에 현재 실행중인 프로젝트 Bundle Identifer를 넣어야한다.
해당 경로에 Bundle Identifiler이 위치해있다.
터미널을 연후
xcrun simctl get_app_container booted <Bundle Identifer경로> data
를 입력하면 sandbox 경로가 생성된다.
(<>는 빼고 붙여넣자)
터미널에서 open -a Finder <sanbox경로> 붙여 넣으면
문서 폴더의 scrums.data 파일로 이동합니다.
(<>는 빼고 붙여넣자)