错误架构armv7的未定义符号:“_ RELEASE_SAFELY”,引自:

时间:2014-01-13 10:20:24

标签: ios iphone compiler-errors linker-errors

  

Ld的   /Users/macmini2/Library/Developer/Xcode/DerivedData/Vocab-cieqpeybobkktaberajtbzmxptpx/Build/Products/Debug-iphoneos/Vocab.app/Vocab   正常的armv7       cd“/ Users / macmini2 / Desktop / utkal / LAnguage_forest14 / Language_Forest / Vocabulary   导师/翻译”       setenv IPHONEOS_DEPLOYMENT_TARGET 6.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/iPhoneOS7.0.sdk   -L /用户/ macmini2 /库/开发商/ Xcode中/ DerivedData /翻译-cieqpeybobkktaberajtbzmxptpx /编译/产品/调试-的iPhoneOS   -L /用户/ macmini2 /桌面/ utkal / LAnguage_forest14 / Language_Forest /词汇\   导师/翻译/飞艇   -L /用户/ macmini2 /桌面/ utkal / LAnguage_forest14 / Language_Forest /词汇\   导师/翻译   -F /用户/ macmini2 /库/开发商/ Xcode中/ DerivedData /翻译-cieqpeybobkktaberajtbzmxptpx /编译/产品/调试-的iPhoneOS   -F /用户/ macmini2 /桌面/ utkal / LAnguage_forest14 / Language_Forest /词汇\   导师/词汇/../ iOS \ Framework   -F /用户/ macmini2 /桌面/ utkal / LAnguage_forest14 / Language_Forest /词汇\   Tutor / Vocab /../ iOS \ Framework -filelist   /Users/macmini2/Library/Developer/Xcode/DerivedData/Vocab-cieqpeybobkktaberajtbzmxptpx/Build/Intermediates/Vocab.build/Debug-iphoneos/Vocab.build/Objects-normal/armv7/Vocab.LinkFileList   -dead_strip -ObjC -lz -all_load -fobjc-link-runtime -miphoneos-version-min = 6.0 -framework MapKit -lUAirship-2.1.0 -lUAirship-2.1.0 -framework Social -framework CoreData -framework CFNetwork -framework CoreLocation - 框架StoreKit -framework   CoreTelephony -lz -lOAuth-ios6 -framework MobileCoreServices   -framework MediaPlayer -framework Security -lxml2 -framework QuartzCore -framework MessageUI -framework AVFoundation -framework   AudioToolbox -framework SystemConfiguration -framework CoreText   -lsqlite3 -framework UIKit -framework Foundation -framework CoreGraphics -framework WordnikUI -Xlinker -dependency_info -Xlinker   /Users/macmini2/Library/Developer/Xcode/DerivedData/Vocab-cieqpeybobkktaberajtbzmxptpx/Build/Intermediates/Vocab.build/Debug-iphoneos/Vocab.build/Objects-normal/armv7/Vocab_dependency_info.dat   -o /Users/macmini2/Library/Developer/Xcode/DerivedData/Vocab-cieqpeybobkktaberajtbzmxptpx/Build/Products/Debug-iphoneos/Vocab.app/Vocab

     

架构armv7的未定义符号:“_ RELEASE_SAFELY”,   引自:          - VocabViewController.o中的[VocabViewController dealloc] ld:找不到架构armv7 clang的符号:错误:链接器   命令失败,退出代码为1(使用-v查看调用)

  • 我收到这个错误,我不知道这是什么意思我用Google搜索了 很多,但没有得到任何解决方案。
  • 我要提交我的应用程序并使用libUAirship 1.1.2.a 导致错误的UDID和苹果验证失败。
  • SO下载最新的libUariship 2.1.0.a并在实现之后 我收到此错误。帮助我。

1 个答案:

答案 0 :(得分:0)

我认为它来自xCode版本和定义的宏。因为RELEASE SAFELY不是一个函数。

#define RELEASE_SAFELY(__POINTER) { [__POINTER release]; __POINTER = nil; }

source link这有助于您提供更多信息