美文网首页
ld: file too small (length=0) fi

ld: file too small (length=0) fi

作者: 阴中阳 | 来源:发表于2016-12-19 09:35 被阅读691次

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.重新编译

相关文章

网友评论

      本文标题:ld: file too small (length=0) fi

      本文链接:https://www.haomeiwen.com/subject/ofzzmttx.html