plist 파일의 경로에 액세스하고 싶습니다.
다음 줄로 경로에 액세스하고 있습니다.
다음 줄로 파일이 루트 폴더에있을 때 액세스 할 수 있습니다.
let filePath = Bundle.main.path(forResource: Constants.googleServiceFileName, ofType: "plist")
하지만 하위 그룹에서 파일을 이동하고 다음 코드를 사용하면 반환 nil
let filePath = Bundle.main.path(forResource: Constants.googleServiceFileName, ofType: "plist",inDirectory: "Firebase")
하지만 반환 nil ..
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다