6

だから私はこれを私の現在のプロジェクトに実装しようとしています:

https://github.com/mobitar/MBAlertView

ウェン私は自分のアプリでこれを使おうとすると、このエラーが発生します:

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_ /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 / ZBarSDK -F / Users / florianschaal Developer / Xcode / DerivedData / Janssenapp-egfiwitwudiuhubsglmuhxxuafya / Build / Products / Debug-iphoneos -filelist /Users/florianschaal/Library/Developer/Xcode/DerivedData/Janssenapp-egfiwitwudiuhubsglmuhxxuafya/Build/Intermediates/Janssen. 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/Janssenappapp / Janssenappapp / Janssenappapp / Janssenappapp / JanssenappLinkFileList -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/JanssenappLinkFileList -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:] in MBAlertView.o "_kCATransitionFade"、参照元:-[UIView(アニメーション)addFadingAnimationWithDuration:] in UIView + Animations.o "_kCAMediaTimingFunctionEaseInEaseOut"、参照元:-[UIView(Animations)animationPop] in UIView + Animations.o-[UIView(Animations)addPulsingAnimation] in UIView + Animations.o-[UIView(アニメーション)addFadingAnimationWithDuration:] in UIView + Animations.o "_kCATransitionFromBottom"、参照元:-[UIView(Animations)addFadingAnimationWithDuration:] in UIView + Animations.o "_OBJC_CLASS _ $ _ CATransition "、参照元:objc-class-ref in UIView + Animations.o" _kCAMediaTimingFunctionEaseIn "、参照元:-[MBAlertView addDismissAnimation] in MBAlertView.o" _kCAFillModeForwards "、参照元:-[UIView(Animations)animationPop] in UIView + Animations.o-[UIView(Animations)addPulsingAnimation] in UIView + Animations.o-[MBAlertView AnimationWithValues:times:duration:] in MBAlertView.o "_OBJC_CLASS _ $ _ CAMediaTimingFunction"、参照元:objc-class-ref in UIView + Animations.o objc-class-ref in MBAlertView.o "_OBJC_CLASS _ $ _ CAKeyframeAnimation"、参照元:objc-class-ref in UIView + Animations.o objc-class-ref in MBAlertView.o "_CATransform3DMakeScale"、参照元:-UIView + Animations.oの[UIView(Animations)animationPop]-UIView + Animations.oの[UIView(Animations)addPulsingAnimation]-MBAlertView.oの[MBAlertView addDismissAnimation]-MBAlertView.oの[MBAlertViewaddBounceAnimationToLayer:]-[MBAlertView didSelectBodyLabel:] in MBAlertView.o-[MBAlertView didHighlightButton:] in MBAlertView.o ld:アーキテクチャarmv7sのシンボルが見つかりませんclang:エラー:リンカーコマンドが終了コード1で失敗しました(呼び出しを確認するには-vを使用してください)o-[MBAlertView didHighlightButton:] in MBAlertView.o ld:アーキテクチャarmv7sのシンボルが見つかりませんclang:エラー:リンカーコマンドが終了コード1で失敗しました(呼び出しを確認するには-vを使用してください)o-[MBAlertView didHighlightButton:] in MBAlertView.o ld:アーキテクチャarmv7sのシンボルが見つかりませんclang:エラー:リンカーコマンドが終了コード1で失敗しました(呼び出しを確認するには-vを使用してください)

4

3 に答える 3

6

サンプルプロジェクトをコンパイルするよりもMBAlertViewリポジトリをダウンロードしましたが、機能しました。その後、プロジェクトにMBAlertViewディレクトリを追加し、プロジェクトファイルのビルドフェーズの[リンクバイナリとライブラリ]セクションにQuartzCore.frameworkを追加した後、動作を開始しました。

于 2013-02-12T14:07:39.207 に答える
1

あなたはあなたを助けるかもしれない次の質問を見るだけです

  1. 質問1

  2. 質問2

于 2013-02-12T14:11:28.910 に答える
0

高性能ゲームを作成してアセンブリに書き込む場合を除いて、ビルド設定でarmv7sアーキテクチャをオフにするだけです。これは通常のアプリでは何の違いもありません(iphone5のプロセッサです)。

于 2013-02-12T14:13:00.333 に答える