error 4

[Realm] The document “default.realm” could not be opened.

The document “default.realm” could not be opened. Realm file is currently open in another process which cannot share access with this process. All processes sharing a single file must be the same architecture. For sharing files between the Realm Browser and an iOS simulator, this means that you must use a 64-bit simulator. MacOS에서 Realm broser 3.0.1 설치 후 해당 경로로 파일을 열어줄 때 발생 - 시뮬레이터 끄고 하면 된다고 함. ..

FlexLayout 'YGEnums.h' file not found Error

FlexLayout 'YGEnums.h' file not found Error 위 제목으로 이슈가 발생한다면 매우 간단하게 처리할 수 있음.SPM으로 사용할 때 발생  해결 방법1. 프로젝트 build setting으로 가서 2. 공식문서에서 안내하는 형태로 수정   요즘 cocoapod에서 SPM으로 넘어가면서 아직은 환경 설정쪽 관련해서는 부족한게 많다고 느낌.아무튼 해결 방법은 공식 문서에 README.md 영역에 적혀 있는대로 고고!   (참고) 해당 이슈와 관련해 깃헙에 등록된 이슈https://github.com/layoutBox/FlexLayout/issues/203

[iOS] SPM 프로젝트 이름 변경시 오류

SPM 프로젝트 이름 변경시 오류 🚨 에러코드 Build input file cannot be found: '/Users/Jason/Desktop/kuring-campus-map-ios/kuring-campus-map-ios.xcodeproj/kuring_campus_map_ios_Info.plist 🚨에러상황 프로젝트에서 새로운 기능을 추가하고자 했습니다. 해당 기능을 추가하면서, 프로젝트를 따로 관리하고자 했고, 처음에 만든 프로젝트 이름이 마음에 들지 않아서 프로젝트 이름을 변경하고자 했습니다. 변경은 성공했으나 위와 같은 에러가 나타났습니다. - 방법 2가지 1. 경로 변경: 이렇게 해서 해결되면 아주 쉽다,, 근데 안되며 2번으로 2. info.plist 파일 만들어서 넣어주기 그냥 직접 만들어..

[REST API] Alarmofire error 해결!

[REST API] Alarmofire error 해결! 우선 서버와 데이터 통신 성공해서 결과 가져오고 이후에 처리하는 과정에서 아래의 에러 발생. 그냥 쉽게 말해서 error을 던지는 것을 저 위쪽에서 받을 수 없음.try를 하게되면 throw과정이 생기는데 catch를 반드시 작성해야 함.  ✅ 에러코드Invalid conversion from throwing function of type '(AFDataResponse) throws -> Void' (aka '(DataResponse) throws -> ()') to non-throwing function type '(AFDataResponse) -> Void' (aka '(DataResponse) -> ()') ✅ catch 작성 후 빨간색 사라..