-
[Xcode] - info.plist가 누락되었을 때iOS/Xcode 2024. 8. 5. 21:22728x90반응형
오늘은 inf.oplist를 수정해야하는데 프로젝트 내부에 파일이 존재하지 않을때 해결방법을 포스팅해보겠다.
누락 이유
조사해본 결과 Xcode13이상 버전에서는 plist가 프로젝트 빌드파일로 흡수되어 프로젝트를 생성할 때 파일로 생성되지 않는다고 한다.
근데, 나같은 경우 http통신을 허용하기 위해 plist를 수정해야할 일이 생겼다.
자세하게 보려면 이 곳을 참고하자
https://developer.apple.com/documentation/xcode-release-notes/xcode-13-release-notes
Xcode 13 Release Notes | Apple Developer Documentation
Update your apps to use new features, and test your apps against API changes.
developer.apple.com
해결방법
너무 쉽다.
프로젝트를 열어 TARGETS > Info > Custom iOS Target Properties을 보면 기존에 있어야할 Info리스트를 볼 수 있다.
여기서 App Transport Security Settings를 검색해 추가한다. 그러면,
바로 추가된다.
'iOS > Xcode' 카테고리의 다른 글
[Xcode] Preview error "active scheme does not build this file" (0) 2022.07.14