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.重新编译
网友评论