首页 文章

架构armv7s的未定义符号:

提问于
浏览
6

所以我试图将其实现到我当前的项目中:

https://github.com/mobitar/MBAlertView

Wenn我试着在我的应用程序中使用这个我收到此错误:

Ld /Users/florianschaal/Library/Developer/Xcode/DerivedData/Janssenapp-egfiwitwudiuhubsglmuhxxuafya/Build/Products/Debug-iphoneos/Janssenapp.app/Janssenapp normal armv7s cd / Users / florianschaal / Developer / Janssenapp setenv IPHONEOS_DEPLOYMENT_TARGET 6.1 setenv PATH“/应用程序/ Xcode.app /内容/开发/平台/ iPhoneOS.platform /开发人员的/ 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 armv7s -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs /iPhoneOS6.1.sdk -L / Users / florianschaal / Library / Developer / Xcode / DerivedData / Janssenapp-egfiwitwudiuhubsglmuhxxuafya / Build / Products / Debug-iphoneos -L / Users / florianschaal / Developer / Janssenapp / Janssenapp / ZBarSDK -F / Users / florianschaal / Library / Developer / Xcode / DerivedData / Janssenapp-egfiwitwudiuhubsglmuhxxuafya / Build / Products / Debug-iphoneos -filelist / Users / flori anschaal / Library / Developer / Xcode / DerivedData / Janssenapp-egfiwitwudiuhubsglmuhxxuafya / Build / Intermediates / Janssenapp.build / Debug-iphoneos / Janssenapp.build / Objects-normal / armv7s / Janssenapp.LinkFileList -dead_strip -fobjc-arc -fobjc-link- runtime -miphoneos-version-min = 6.1 -framework UIKit -framework Foundation -framework CoreGraphics -o /Users/florianschaal/Library/Developer/Xcode/DerivedData/Janssenapp-egfiwitwudiuhubsglmuhxxuafya/Build/Products/Debug-iphoneos/Janssenapp.app/Janssenapp架构armv7s的未定义符号:“_ OBJC_CLASS _ $ _ CABasicAnimation”,引自:MBSpinningCircle.o中的objc-class-ref“_kCAMediaTimingFunctionEaseOut”,引用自: - [MBAlertView animationWithValues:times:duration:],MBAlertView.o“_kCATransitionFade”,引用来自:[UIView(Animations)addFadingAnimationWithDuration:]在UIView Animations.o“_kCAMediaTimingFunctionEaseInEaseOut”中,引用自: - UIView Animations.o中的[UIView(Animations)animationPop] - [UIView(Animations)addPulsin UIView Animations.o中的[动画] - [UIView(动画)addFadingAnimationWithDuration:]在UIView Animations.o“kCATransitionFromBottom”中,引用自: - [UIView(Animations)addFadingAnimationWithDuration:]在UIView Animations.o“ OBJC_CLASS _ $ _ CATransition”中,引用自:UIView Animations.o中的objc-class-ref.o“kCAMediaTimingFunctionEaseIn”,引用自: - MBAlertView.o中的[MBAlertView addDismissAnimation]“kCAFillModeForwards”,引自: - UIView Animations.o中的[UIView(Animations)animationPop] - [UIView (动画)addPulsingAnimation]在UIView Animations.o中 - [MBAlertView animationWithValues:times:duration:]在MBAlertView.o“ OBJC_CLASS _ $ _ CAMediaTimingFunction”中,引用自:objc-class-ref in UIView Animations.o objc-class-ref in MBAlertView .o“ OBJC_CLASS _ $ _ CAKeyframeAnimation”,引自:UIView Animations.o中的objc-class-ref.MBAlertView.o中的objc-class-ref“_CATransform3DMakeScale”,引自: - UIView Animatio中的[UIView(Animations)animationPop] ns.o - UIView Animations.o中的[UIView(Animations)addPulsingAnimation] - MBAlertView.o中的[MBAlertView addDismissAnimation] - MBAlertView.o中的[MBAlertView addBounceAnimationToLayer:] - MBAlertView.o中的[MBAlertView didSelectBodyLabel:] - [MBAlertView didHighlightButton: ]在MBAlertView.o ld:找不到架构armv7s clang的符号:错误:链接器命令失败,退出代码为1(使用-v查看调用)

3 回答

  • 1

    我已经下载了MBAlertView存储库而不是编译示例项目并且它工作正常 . 之后我将MBAlertView目录添加到我的项目中,并且在我在项目文件中的Link Binses的Libralys部分中添加QuartzCore.framework后,它开始工作 .

  • 0

    您只需看看以下可能对您有所帮助的问题

  • 6

    除非您正在编写高性能游戏并在汇编中编写,否则只需在构建设置中关闭armv7s架构即可 . 这对普通应用程序没有任何影响(它是iphone5中的处理器) .

相关问题