0

Objective-C の経験はまったくありませんが、今始めたばかりです。私が一緒に働いている開発者は数日間海外に行かなければならず、誤ってコードにエラーを残してしまい、今では iPhone アプリケーションをコンパイルして完成させることができません...

彼からメールでいくつかの情報を入手したところ、彼はダイアログと呼ばれるライブラリを残していて、それを機能させるには削除する必要があるとのことでした...

問題は、私はobjective-cとXcodeの経験がないということです...私はWeb開発者です:)

私はプロジェクトを実行しようとしましたが、このエラーが発生しました:

ターゲットモルマーを構築する

Ld /Users/yanivshimony/Library/Developer/Xcode/DerivedData/mormar-cxfykryhzfovlbgtsjfowgleiyxu/Build/Products/Debug-iphonesimulator/mormar.app/mormar normal i386 cd /Users/yanivshimony/Desktop/mormar setenv MACOSX_DEPLOYMENT_TARGET 10.6 setenv PATH "/Applications /Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.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 i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/ iPhoneSimulator5.0。sdk -L/Users/yanivshimony/Library/Developer/Xcode/DerivedData/mormar-cxfykryhzfovlbgtsjfowgleiyxu/Build/Products/Debug-iphonesimulator -F/Users/yanivshimony/Library/Developer/Xcode/DerivedData/mormar-cxfykryhzfovlbgtsjfowgleiyxu/Build/Products/ Debug-iphonesimulator -filelist /Users/yanivshimony/Library/Developer/Xcode/DerivedData/mormar-cxfykryhzfovlbgtsjfowgleiyxu/Build/Intermediates/mormar.build/Debug-iphonesimulator/mormar.build/Objects-normal/i386/mormar.LinkFileList -mmacosx- version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED=40300 -framework UIKit -framework Foundation -framework CoreGraphics -o /Users/yanivshimony/Library/Developer/Xcode/DerivedData/mormar- cxfykryhzfovlbgtsjfowgleiyxu/Build/Products/Debug-iphonesimulator/mormar.app/mormarアプリ/モルマーアプリ/モルマーアプリ/モルマーアプリ/モルマー6 -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED=40300 -framework UIKit -framework Foundation -framework CoreGraphics -o /Users/yanivshimony/Library/Developer/Xcode/DerivedData/mormar-cxfykryhzowlbgtsjgle製品/Debug-iphonesimulator/mormar.app/mormar6 -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED=40300 -framework UIKit -framework Foundation -framework CoreGraphics -o /Users/yanivshimony/Library/Developer/Xcode/DerivedData/mormar-cxfykryhzowlbgtsjgle製品/Debug-iphonesimulator/mormar.app/mormar

アーキテクチャ i386 の未定義シンボル:
"_OBJC_CLASS_$_CATransition"、次から参照: LoadingView.o の objc-class-ref "_kCATransitionFade"、次から参照: LoadingView.o の +[LoadingView loadingViewInView:] - LoadingView.o の [LoadingView removeView] ld: アーキテクチャ i386 のシンボルが見つかりませんでした。

これをしばらくグーグルで調べた後、これを解決する方法がまだわかりません...助けていただければ幸いです。

4

2 に答える 2

3

QuartzCore にリンクする必要があります。

Xcode サイドバーでプロジェクト名をクリックします。次に、ターゲットをクリックし、[概要] タブで、リンクされたフレームワークとライブラリのリストを見つけます。このリストの下にあるプラス ボタンをクリックして、QuartzCore を追加します。

于 2012-05-30T13:22:33.813 に答える
2

QuartzCore フレームワークが必要です。プロジェクトに追加します (プロジェクト設定の「リンク バイナリ」ビルド フェーズを介して)。#import <QuartzCore/QuartzCore.h>プロジェクトのプレフィックス ヘッダーに を追加します (通常はPrefix.pchまたは{ProjectName}-Prefix.pch)。これにより、このライブラリを削除しなくても問題が解決するはずです。

于 2012-05-30T13:22:10.263 に答える