libtool /Users/******/library/Developer/Xcode/DerivedData/Mylib-eyucoczochpovhcqduwoIEknpyer/Build/Intermediates/Mylib.build/DeBUG-iphoneos/Mylib.build/Objects-normal/armv7/libmylib.a normal armv7cd /Users/******/Desktop/Mylibexport IPHONEOS_DEPLOYMENT_TARGET=7.1export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only armv7 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk -L/Users/******/library/Developer/Xcode/DerivedData/Mylib-eyucoczochpovhcqduwoIEknpyer/Build/Products/DeBUG-iphoneos -fileList /Users/******/library/Developer/Xcode/DerivedData/Mylib-eyucoczochpovhcqduwoIEknpyer/Build/Intermediates/Mylib.build/DeBUG-iphoneos/Mylib.build/Objects-normal/armv7/Mylib.linkfileList -ObjC -framework Foundation -o /Users/shafraz/library/Developer/Xcode/DerivedData/Mylib-eyucoczochpovhcqduwoIEknpyer/Build/Intermediates/Mylib.build/DeBUG-iphoneos/Mylib.build/Objects-normal/armv7/libmylib.a
我也得到了armv7s的类似错误,arm64也是如此
(null): /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning for library: /Users/******/library/Developer/Xcode/DerivedData/Mylib-eyucoczochpovhcqduwoIEknpyer/Build/Products/DeBUG-iphoneos/libmylib.a for architecture: armv7 the table of contents is empty (no object file members in the library define global symbols)
我也得到了armv7s的类似错误,arm64也是如此
只有在Mylib.h文件中删除Mylib.m和类声明后才能显示此蠕虫.
我怎样才能解决这个问题?
解决方法 如果静态库只包含类别或非正式协议,则通常会发生这种情况.链接器警告您似乎没有任何要链接的类. 总结以上是内存溢出为你收集整理的iOS静态库编译错误 – 目录为空全部内容,希望文章能够帮你解决iOS静态库编译错误 – 目录为空所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)