当我在iOS目标上归档我的应用程序时,我收到了此警告:3.0 可能是因为我修改了构建设置,我收到了警告。
Ld /Users/Benoit/Library/Developer/Xcode/DerivedData/NanoWar2-epaqhmmjlngxpwaedknxqymopqbj/Build/Intermediates/ArchiveIntermediates/NanoWar2/IntermediateBuildFilesPath/NanoWar2.build/Release-iphoneos/NanoWar2.build/Objects-normal/armv7/NanoWar2 normal armv7
cd /Users/Benoit/Workshop/Dropbox/NanoWar2_Iphone
setenv IPHONEOS_DEPLOYMENT_TARGET 3.0
setenv 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/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -L/Users/Benoit/Library/Developer/Xcode/DerivedData/NanoWar2-epaqhmmjlngxpwaedknxqymopqbj/Build/Intermediates/ArchiveIntermediates/NanoWar2/BuildProductsPath/Release-iphoneos -L/Users/Benoit/Workshop/Dropbox/NanoWar2_Iphone/NanoWar2/libs/TestFlightSDK1.0 -F/Users/Benoit/Library/Developer/Xcode/DerivedData/NanoWar2-epaqhmmjlngxpwaedknxqymopqbj/Build/Intermediates/ArchiveIntermediates/NanoWar2/BuildProductsPath/Release-iphoneos -F/Users/Benoit/Workshop/Dropbox/NanoWar2_Iphone/NanoWar2/Frameworks -filelist /Users/Benoit/Library/Developer/Xcode/DerivedData/NanoWar2-epaqhmmjlngxpwaedknxqymopqbj/Build/Intermediates/ArchiveIntermediates/NanoWar2/IntermediateBuildFilesPath/NanoWar2.build/Release-iphoneos/NanoWar2.build/Objects-normal/armv7/NanoWar2.LinkFileList -dead_strip -lz -miphoneos-version-min=3.0 -lz -framework GameKit -framework SystemConfiguration -framework BugSense-iOS -framework CFNetwork -framework QuartzCore -framework OpenGLES -framework OpenAL -framework AudioToolbox -framework AVFoundation -framework UIKit -framework Foundation -framework CoreGraphics -lTestFlight -o /Users/Benoit/Library/Developer/Xcode/DerivedData/NanoWar2-epaqhmmjlngxpwaedknxqymopqbj/Build/Intermediates/ArchiveIntermediates/NanoWar2/IntermediateBuildFilesPath/NanoWar2.build/Release-iphoneos/NanoWar2.build/Objects-normal/armv7/NanoWar2
ld: warning: alignment lost in merging tentative definition _paused
ld: warning: alignment lost in merging tentative definition _paused
ld: warning: alignment lost in merging tentative definition _paused
答案 0 :(得分:1)
固定
我从.h文件中删除了外部关键字。
external BOOL paused
到
BOOL paused