Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/116.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/unix/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 苹果Mach-O链接错误_Ios_Objective C_Iphone_Xcode - Fatal编程技术网

Ios 苹果Mach-O链接错误

Ios 苹果Mach-O链接错误,ios,objective-c,iphone,xcode,Ios,Objective C,Iphone,Xcode,嗨,我找到了很多答案,但没有得到答案。在这里,我张贴我的错误,我得到。请帮我把这个处理掉 Ld /Users/Rupesh/Library/Developer/Xcode/DerivedData/JEDI-fptiyjulpownybgfqknfffphqrvl/Build/Products/Debug-iphonesimulator/JEDI.app/JEDI normal i386 cd /Applications/XAMPP/xamppfiles/htdocs/bsharp/sites/d

嗨,我找到了很多答案,但没有得到答案。在这里,我张贴我的错误,我得到。请帮我把这个处理掉

Ld /Users/Rupesh/Library/Developer/Xcode/DerivedData/JEDI-fptiyjulpownybgfqknfffphqrvl/Build/Products/Debug-iphonesimulator/JEDI.app/JEDI normal i386
cd /Applications/XAMPP/xamppfiles/htdocs/bsharp/sites/default/iOS_Development/JEDI
export IPHONEOS_DEPLOYMENT_TARGET=7.0
export 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/iPhoneSimulator8.0.sdk -L/Users/Rupesh/Library/Developer/Xcode/DerivedData/JEDI-fptiyjulpownybgfqknfffphqrvl/Build/Products/Debug-iphonesimulator -F/Users/Rupesh/Library/Developer/Xcode/DerivedData/JEDI-fptiyjulpownybgfqknfffphqrvl/Build/Products/Debug-iphonesimulator -filelist /Users/Rupesh/Library/Developer/Xcode/DerivedData/JEDI-fptiyjulpownybgfqknfffphqrvl/Build/Intermediates/JEDI.build/Debug-iphonesimulator/JEDI.build/Objects-normal/i386/JEDI.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=7.0 -Xlinker -dependency_info -Xlinker /Users/Rupesh/Library/Developer/Xcode/DerivedData/JEDI-fptiyjulpownybgfqknfffphqrvl/Build/Intermediates/JEDI.build/Debug-iphonesimulator/JEDI.build/Objects-normal/i386/JEDI_dependency_info.dat -o /Users/Rupesh/Library/Developer/Xcode/DerivedData/JEDI-fptiyjulpownybgfqknfffphqrvl/Build/Products/Debug-iphonesimulator/JEDI.app/JEDI

duplicate symbol _IS_ALREADY_LOGIN in:
/Users/Rupesh/Library/Developer/Xcode/DerivedData/JEDI-fptiyjulpownybgfqknfffphqrvl/Build/Intermediates/JEDI.build/Debug-iphonesimulator/JEDI.build/Objects-normal/i386/CustomCell.o
/Users/Rupesh/Library/Developer/Xcode/DerivedData/JEDI-fptiyjulpownybgfqknfffphqrvl/Build/Intermediates/JEDI.build/Debug-iphonesimulator/JEDI.build/Objects-normal/i386/ViewController.o
duplicate symbol _TRUE_CHECK in:
/Users/Rupesh/Library/Developer/Xcode/DerivedData/JEDI-fptiyjulpownybgfqknfffphqrvl/Build/Intermediates/JEDI.build/Debug-iphonesimulator/JEDI.build/Objects-normal/i386/CustomCell.o
/Users/Rupesh/Library/Developer/Xcode/DerivedData/JEDI-fptiyjulpownybgfqknfffphqrvl/Build/Intermediates/JEDI.build/Debug-iphonesimulator/JEDI.build/Objects-normal/i386/ViewController.o
duplicate symbol _FONT_NAME in:
/Users/Rupesh/Library/Developer/Xcode/DerivedData/JEDI-fptiyjulpownybgfqknfffphqrvl/Build/Intermediates/JEDI.build/Debug-iphonesimulator/JEDI.build/Objects-normal/i386/CustomCell.o
/Users/Rupesh/Library/Developer/Xcode/DerivedData/JEDI-fptiyjulpownybgfqknfffphqrvl/Build/Intermediates/JEDI.build/Debug-iphonesimulator/JEDI.build/Objects-normal/i386/ViewController.o
ld: 3 duplicate symbols for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

您的项目包含重复符号,这意味着您试图编译两个相同的文件,其中包含同一类的实现。检查项目文件并消除任何重复的.m文件(如CustomCell和ViewController)


可能在CustomCell.h/m和ViewController.h/m中多次定义了_已经_登录,_TRUE_检查等?

感谢您的回复,但在我的项目中只有一个文件是ViewController和CustomCell。