brunch

SwiftUI Preview Error

by 오진성

Preview 에서 다음과같은 에러가 난다면 codeCoverageEnabled 를 No 로 셋팅하세요.




linker command failed with exit code 1 (use -v to see invocation)


----------------------------------------


LinkDylibError: Failed to build WidgetTestView.swift


Linking failed: linker command failed with exit code 1 (use -v to see invocation)


ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/SharedFrameworks-iphonesimulator'

undef: ___llvm_profile_runtime

Undefined symbols for architecture x86_64:

"___llvm_profile_runtime", referenced from:

___llvm_profile_runtime_user in FirebaseABTesting(ABTConditionalUserPropertyController.o)

(maybe you meant: ___llvm_profile_runtime_user)

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)



keyword
작가의 이전글Cocoapod에 오픈소스 등록하기