xcode鏈接真機運行后報錯:
ld: file too small (length=0) file '/Users/zhao95outlook.com/Library/Developer/Xcode/DerivedData/演示-asgkhnqmsjvrireygkedpqbwafaz/Build/Intermediates/演示.build/Debug-iphoneos/演示.build/Objects-normal/arm64/SwiftNotice.o' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
解決:
1.選擇xcode菜單的Product下的Clean,或者組合鍵是Cmd+Shift+K,清除一遍
2.重新編譯