智捷社区

查看: 4203|回复: 3

WLOOO架构,调试正常,Archive打包时报错

[复制链接]

1

主题

3

帖子

26

积分

新手上路

Rank: 1

积分
26
发表于 2015-11-12 17:41:52 | 显示全部楼层 |阅读模式
根据书中10.7 WLOOO在workspace分层架构项目,在调试状态不论debug或者release设置都正常运行,当使用Archive打包时,无法识别头文件
请问是否有其他设置在真机与模拟器调试时不同
回复

使用道具 举报

1

主题

3

帖子

26

积分

新手上路

Rank: 1

积分
26
 楼主| 发表于 2015-11-12 17:45:24 | 显示全部楼层
buildSetting 设置项为
USER_HEADER_SEARCH_PATHS = $(BUILT_PRODUCTS_DIR)/**
HEADER_SEARCH_PATHS = $(SDKROOT)/usr/include/libxml2
OTHER_LDFLAGS = -all_load
回复 支持 反对

使用道具 举报

1

主题

3

帖子

26

积分

新手上路

Rank: 1

积分
26
 楼主| 发表于 2015-11-16 15:21:36 | 显示全部楼层
debug时无论真机还是模拟器都运行正常,只有Archive打包生成iPa时提示not found file

Libtool /Users/fanming/Library/Developer/Xcode/DerivedData/MonkeyKing-dxbieekzuhdyysfzigcdupjcbkkk/Build/Intermediates/ArchiveIntermediates/MonkeyKingClientHD/IntermediateBuildFilesPath/DataPersistenceLayer.build/Release-iphoneos/DataPersistenceLayer.build/Objects-normal/arm64/libDataPersistenceLayer.a normal arm64
    cd /LehoCode/SVN/Versions_SVN/20141112/MonkeyKing/DataPersistenceLayer
    export IPHONEOS_DEPLOYMENT_TARGET=6.1
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only arm64 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk -L/Users/fanming/Library/Developer/Xcode/DerivedData/MonkeyKing-dxbieekzuhdyysfzigcdupjcbkkk/Build/Intermediates/ArchiveIntermediates/MonkeyKingClientHD/BuildProductsPath/Release-iphoneos -L/LehoCode/SVN/Versions_SVN/20141112/MonkeyKing/DataPersistenceLayer/NetWorkLibrarySource/build/Debug-iphoneos -L/LehoCode/SVN/Versions_SVN/20141112/MonkeyKing/DataPersistenceLayer/XMLDataAnalysis/build/Debug-iphoneos -L/LehoCode/SVN/Versions_SVN/20141112/MonkeyKing/DataPersistenceLayer/OpenSource/MasonryFit/build/Debug-iphoneos -L/LehoCode/SVN/Versions_SVN/20141112/MonkeyKing/DataPersistenceLayer/OpenSource/ReactiveCocoaFit/build/Debug-iphoneos -filelist /Users/fanming/Library/Developer/Xcode/DerivedData/MonkeyKing-dxbieekzuhdyysfzigcdupjcbkkk/Build/Intermediates/ArchiveIntermediates/MonkeyKingClientHD/IntermediateBuildFilesPath/DataPersistenceLayer.build/Release-iphoneos/DataPersistenceLayer.build/Objects-normal/arm64/DataPersistenceLayer.LinkFileList -lMasonryFit -lNetWorkLibrarySource -lReactiveCocoaFit -lXMLDataAnalysis /usr/lib/libxml2.2.dylib -o /Users/fanming/Library/Developer/Xcode/DerivedData/MonkeyKing-dxbieekzuhdyysfzigcdupjcbkkk/Build/Intermediates/ArchiveIntermediates/MonkeyKingClientHD/IntermediateBuildFilesPath/DataPersistenceLayer.build/Release-iphoneos/DataPersistenceLayer.build/Objects-normal/arm64/libDataPersistenceLayer.a

error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/fanming/Library/Developer/Xcode/DerivedData/MonkeyKing-dxbieekzuhdyysfzigcdupjcbkkk/Build/Intermediates/ArchiveIntermediates/MonkeyKingClientHD/IntermediateBuildFilesPath/DataPersistenceLayer.build/Release-iphoneos/DataPersistenceLayer.build/Objects-normal/arm64/NetReachabilityManager.o (No such file or directory)
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/fanming/Library/Developer/Xcode/DerivedData/MonkeyKing-dxbieekzuhdyysfzigcdupjcbkkk/Build/Intermediates/ArchiveIntermediates/MonkeyKingClientHD/IntermediateBuildFilesPath/DataPersistenceLayer.build/Release-iphoneos/DataPersistenceLayer.build/Objects-normal/arm64/NSXMLElement+XML.o (No such file or directory)
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/fanming/Library/Developer/Xcode/DerivedData/MonkeyKing-dxbieekzuhdyysfzigcdupjcbkkk/Build/Intermediates/ArchiveIntermediates/MonkeyKingClientHD/IntermediateBuildFilesPath/DataPersistenceLayer.build/Release-iphoneos/DataPersistenceLayer.build/Objects-normal/arm64/Model.o (No such file or directory)
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/fanming/Library/Developer/Xcode/DerivedData/MonkeyKing-dxbieekzuhdyysfzigcdupjcbkkk/Build/Intermediates/ArchiveIntermediates/MonkeyKingClientHD/IntermediateBuildFilesPath/DataPersistenceLayer.build/Release-iphoneos/DataPersistenceLayer.build/Objects-normal/arm64/HTTPRequestManager.o (No such file or directory)
回复 支持 反对

使用道具 举报

0

主题

1

帖子

4

积分

新手上路

Rank: 1

积分
4
发表于 2016-3-1 16:58:31 | 显示全部楼层
同问,居然没有人来解答。。。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|智捷社区 ( 京ICP备09013343号-1

GMT+8, 2019-1-20 04:27 , Processed in 0.255306 second(s), 28 queries .

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表