brunch

You can make anything
by writing

C.S.Lewis

by 오진성 Aug 24. 2020

SwiftUI Preview Error

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)



브런치는 최신 브라우저에 최적화 되어있습니다. IE chrome safari