Ios 意外删除目标后架构arm64的未定义符号错误

Ios 意外删除目标后架构arm64的未定义符号错误,ios,xcode,Ios,Xcode,我不小心删除了目标。我再次创建,但无法再次运行我的应用程序。当我设置AppDelegate时,我得到一个错误 Ld /Users/cihanozdiker/Library/Developer/Xcode/DerivedData/Moka-foueugicfassxcdbtgwkndrougpu/Build/Intermediates/Moka.build/Debug-iphoneos/Moka.build/Objects-normal/arm64/Moka normal arm64 cd /Us

我不小心删除了目标。我再次创建,但无法再次运行我的应用程序。当我设置AppDelegate时,我得到一个错误

Ld /Users/cihanozdiker/Library/Developer/Xcode/DerivedData/Moka-foueugicfassxcdbtgwkndrougpu/Build/Intermediates/Moka.build/Debug-iphoneos/Moka.build/Objects-normal/arm64/Moka normal arm64
cd /Users/cihanozdiker/Documents/MokaAfterMerchantFinished
export IPHONEOS_DEPLOYMENT_TARGET=9.1
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk -L/Users/cihanozdiker/Library/Developer/Xcode/DerivedData/Moka-foueugicfassxcdbtgwkndrougpu/Build/Products/Debug-iphoneos -L../include -L../include/barcode -L../include/common -L../include/cyclone_crypto -L../include/EstimoteSDK -L../include/openssl -L../include/EstimoteSDK/Headers -L/Users/cihanozdiker/Documents/MokaAfterMerchantFinished -L../lib -L../lib/AESCrypt-ObjC-master -L../lib/RNCryptor -F/Users/cihanozdiker/Library/Developer/Xcode/DerivedData/Moka-foueugicfassxcdbtgwkndrougpu/Build/Products/Debug-iphoneos -filelist /Users/cihanozdiker/Library/Developer/Xcode/DerivedData/Moka-foueugicfassxcdbtgwkndrougpu/Build/Intermediates/Moka.build/Debug-iphoneos/Moka.build/Objects-normal/arm64/Moka.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=9.1 -ObjC -ObjC -fobjc-arc -fobjc-link-runtime -lcrypto -lssl -lC4NetSdk -Xlinker -dependency_info -Xlinker /Users/cihanozdiker/Library/Developer/Xcode/DerivedData/Moka-foueugicfassxcdbtgwkndrougpu/Build/Intermediates/Moka.build/Debug-iphoneos/Moka.build/Objects-normal/arm64/Moka_dependency_info.dat -o /Users/cihanozdiker/Library/Developer/Xcode/DerivedData/Moka-foueugicfassxcdbtgwkndrougpu/Build/Intermediates/Moka.build/Debug-iphoneos/Moka.build/Objects-normal/arm64/Moka

Undefined symbols for architecture arm64:


"_OBJC_CLASS_$_MokaAppDelegate", referenced from:
      objc-class-ref in main.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我修不好。我使用的是XCode 7.2

确保将
MokaAppDelegate
实现文件(可能是MokaAppDelegate.m)标记为新目标的一部分


在项目导航器中选择文件,查看“文件检查器”面板,确保在“目标成员资格”窗格中选择了正确的目标。

谢谢。你救了我一天!没有任何东西被标记为我的新目标的一部分。