LD:警告:合并暂定定义_paused时失去对齐



我在 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

固定

我从 .h 文件中删除了外部关键字。

external BOOL paused

BOOL paused

最新更新