ios,swift
[xcode]module compiled with swift 5.4 cannot be imported by the swift 5.5.2 compiler 해결방법
thdeodls85
2022. 4. 6. 10:57
[xcode]module compiled with swift 5.4 cannot be imported by the swift 5.5.2 compiler 해결방법
자 일단 왜 문제가 생겻냐면...
sdk를 framwork 로 관리하고 -> 앱에 연결해서 보내줄려고 했는데..
프로젝트를 2개 빌드해야했다..
sdk가 빌드가 5.5.2로 되더라..??? 앱은 5.4??
자 그러면 sdk빌드 버젼을 낮춰야 한다.. 어떻게 낮추나??
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
이걸하면 된다고 하고 그러던데?? 안된다..
target -> build settings 들어가서.. swift compiler laungage 를 낮춰주면... complier 버젼자체가 내려간다..