King of Stock

iOS 시뮬레이터 버전 업데이트 본문

IT 기술

iOS 시뮬레이터 버전 업데이트

king of stock 2018. 3. 31. 19:35

별거는 아니지만 그래도 혹시 당황하시는 사람들을 위해서 작성합니다.


시뮬레이터를 통해서 앱을 테스트 하고자 할때 아래와 같은 비스무리한 오류가 발생 한다면 시뮬레이터 버젼이 낮아서 나오는 오류로 볼 수 있습니다.


가볍게 시뮬레이터의 버전 업데이트를 수행해주시면 됩니다.


CopySwiftLibs /Users/awesome/Library/Developer/Xcode/DerivedData/MyAwesomeApp-hivqjkvpcyksquaztfalzhypnhhn/Build/Products/Debug-iphonesimulator/MyAwesomeApp.app

    cd /Users/awesome/Desktop/remote_repository/my-awesome-app

    export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate

    export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer

    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"

    export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk

    builtin-swiftStdLibTool --copy --verbose --sign - --scan-executable /Users/awesome/Library/Developer/Xcode/DerivedData/MyAwesomeApp-hivqjkvpcyksquaztfalzhypnhhn/Build/Products/Debug-iphonesimulator/MyAwesomeApp.app/MyAwesomeApp --scan-folder /Users/awesome/Library/Developer/Xcode/DerivedData/MyAwesomeApp-hivqjkvpcyksquaztfalzhypnhhn/Build/Products/Debug-iphonesimulator/MyAwesomeApp.app/Frameworks --scan-folder /Users/awesome/Library/Developer/Xcode/DerivedData/MyAwesomeApp-hivqjkvpcyksquaztfalzhypnhhn/Build/Products/Debug-iphonesimulator/MyAwesomeApp.app/PlugIns --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/AudioToolbox.framework --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/LocalAuthentication.framework --scan-folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/AdSupport.framework --scan-folder /Users/awesome/Library/Developer/Xcode/DerivedData/MyAwesomeApp-hivqjkvpcyksquaztfalzhypnhhn/Build/Products/Debug-iphonesimulator/Pods_MyAwesomeApp.framework --platform iphonesimulator --toolchain /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain --destination /Users/awesome/Library/Developer/Xcode/DerivedData/MyAwesomeApp-hivqjkvpcyksquaztfalzhypnhhn/Build/Products/Debug-iphonesimulator/MyAwesomeApp.app/Frameworks --strip-bitcode --resource-destination /Users/awesome/Library/Developer/Xcode/DerivedData/MyAwesomeApp-hivqjkvpcyksquaztfalzhypnhhn/Build/Products/Debug-iphonesimulator/MyAwesomeApp.app --resource-library libswiftRemoteMirror.dylib


error: The following binaries use incompatible versions of Swift:

/Users/awesome/Library/Developer/Xcode/DerivedData/MyAwesomeApp-hivqjkvpcyksquaztfalzhypnhhn/Build/Products/Debug-iphonesimulator/MyAwesomeApp.app/PlugIns/MyAwesomeAppTests.xctest/Frameworks/RealmSwift.framework/RealmSwift

/Users/awesome/Library/Developer/Xcode/DerivedData/MyAwesomeApp-hivqjkvpcyksquaztfalzhypnhhn/Build/Products/Debug-iphonesimulator/MyAwesomeApp.app/MyAwesomeApp


상단 메뉴 Xcode > Preferences 누르시고 아래로 이동하신 뒤에 다운로드 화살표 눌러주시면 되세요.




그러면 상단에 가운데를 보시면 아래와 같이 설치 과정이 보이죠




그 과정이 끝나면 아래와 같이 버전업!



도움이 되길...


Comments