Undefined symbols for armv7s architecture:

So, I'm trying to implement this in my current project:

https://github.com/mobitar/MBAlertView

Wenn I'm trying to use this in my application. I get this error:

Ld / Users / florianschaal / Library / Developer / Xcode / DerivedData / Janssenapp -egfiwitwudiuhubsglmuhxxuafya / Build / Products / Debug-iphoneos / Janssenapp.app / Janssenapp normal armv7s cd / Users / florianschaal / Developer / JanssHONE_DENVET_DEPENVET_DEPENVEN_ SETPET SETPET /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 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 / ZBarSDKF florianschaal / Library / P Developer / Xcode / DerivedData / Janssenapp-egfiwitwudiuhubsglmxxxxuafya / Builden Jandelen / Januenssen / Buildbundss / Januenssen / Build.jpg /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

Undefined symbols for armv7s architecture:
"_OBJC_CLASS _ $ _ CABasicAnimation" referenced: objc-class-ref in MBSpinningCircle.o "_kCAMediaTimingFunctionEaseOut" referenced: - [MBAlertView animationWithValues: times: duration:] in MBAlertView.o "_kATAT_CAT_CAT : - [UIView (animation) addFadingAnimationWithDuration:] in UIView + Animations.o "_kCAMediaTimingFunctionEaseInEaseOut", link: - [UIView (animation) animationPop] in UIView + Animations.o - [UIView (animation) addPulsingAnimation] in UIView + Animations.oIV - [UIView (animation) addFadingAnimationWithDuration:] in UIView + Animations.o "_kCATransitionFromBottom" referenced: - [UIView (animation) addFadingAnimationWithDuration:] in UIView + Animations.o "_OBJC_CLASS _ $ _ CATransition" objc-class-ref in UIView + Anima tions.o "_kCAMediaTimingFunctionEaseIn" referenced by: - ​​[MBAlertView addDismissAnimation] in MBAlertView.o "_kCAFillModeForwards" referenced: - [UIView (animation) animationPop] in UIView + Animations.o - [UIViewing (animation) in UIView + Animations.o - [MBAlertView animationWithValues: times: duration:] in MBAlertView.o "_OBJC_CLASS _ $ _ CAMediaTimingFunction", link from: objc-class-ref in UIView + Animations.o objc-class-ref in MBAlertView. o "_OBJC_CLASS _ $ _ CAKeyframeAnimation" referenced: objc-class-ref in UIView + Animations.o objc-class-ref in MBAlertView.o "_CATransform3DMakeScale" referenced: - [UIView (animation) animationPop] in UIView + Animations.o - [UIView (animation) addPulsingAnimation] in UIView + Animations.o - [MBAlertView addDismissAn imation] in MBAlertView.o - [MBAlertView addBounceAnimationToLayer:] in MBAlertView.o - [MBAlertView didSelectBodyLabel:] in MBAlertView.o - [MBAlertView didHighlightButton:] in MBAlertView.o ld: character7 linker command not for error arm with exit code 1 (use -v to call the call)

+4
source share
3 answers

I downloaded the MBAlertView repository, which compiled a sample project, and it worked. After that, I added the MBAlertView directory to my project, and it started working after I added QuartzCore.framework in the "Linking to the library" section of the "Assembling phases" section of the project file.

+6
source

You just look at the following questions that may help you.

+1
source

If you are not writing a high-performance game and not writing it to the assembly, simply disable the architecture of armv7s in the build settings. It does not make any difference for ordinary applications (this is the processor in iphone5).

0
source

All Articles