我真的很茫然。突然之间,我的项目停止了编译:
架构armv7的未定义符号: “_WURM_PROPYLAXE_FREQUENCY”,引自: - PBZeitenTableViewController.o中的[PBZeitenTableViewController wurmProphylaxeErinnernToggle:] - PBHundEinstellenTableViewController.o中的[PBHundEinstellenTableViewController完成:] ld:找不到架构armv7的符号 clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)
但是,据我所知,一切都在那里。我的AppConstants.h / .m
中定义了一个静态外部常量WURM_PROPYLAXE_FREQUENCY以下是完整的信息:
Ld /Users/michi/Library/Developer/Xcode/DerivedData/Easy-BARF-bqrdhyplvesjkpcuqgjtdfgqlsfo/Build/Products/Debug-iphoneos/Easy-BARF.app/Easy-BARF normal armv7 cd / Users / michi / Downloads / Easy-BARF-iOS-develop export IPHONEOS_DEPLOYMENT_TARGET = 7.1 export PATH =“/ Applications / 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 armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8。 1.sdk -L / Users / michi / Library / Developer / Xcode / DerivedData / Easy-BARF-bqrdhyplvesjkpcuqgjtdfgqlsfo / Build / Products / Debug-iphoneos -F / Users / michi / Library / Developer / Xcode / DerivedData / Easy-BARF- bqrdhyplvesjkpcuqgjtdfgqlsfo / Build / Products / Debug-iphoneos -F / Users / michi / Downloads / Easy-BARF-iOS-develop -filelist / Users / michi / Library / Developer / Xcode / DerivedData / Easy-BARF-bqrdhyplvesjkpcuqgjtdfgqlsfo / Build / Intermediates / Easy-BARF.build/Debug-iphoneos/Easy-BARF.build/Objects-normal/armv7/Easy-BARF.LinkFileList -Xlinker -rpath -Xlinker @ executable_path / Frameworks -dead_strip -fobjc-arc -fobjc-link-runtime - miphoneos-version-min = 7.1 -lsqlite3 -lz -framework SystemConfiguration -framework StoreKit -framework Security -framework QuartzCore -framework MobileCoreServices -framework CoreLocation -fr amework CoreGraphics -framework CFNetwork -framework AudioToolbox -framework EventKit -framework EventKitUI -framework TelerikUI -framework LocalAuthentication -framework NotificationCenter -framework Bolts -framework Accelerate -framework UIKit -framework CoreFoundation -framework CoreData -framework Crashlytics -framework Parse -framework Ensembles -Xlinker - dependency_info -Xlinker /Users/michi/Library/Developer/Xcode/DerivedData/Easy-BARF-bqrdhyplvesjkpcuqgjtdfgqlsfo/Build/Intermediates/Easy-BARF.build/Debug-iphoneos/Easy-BARF.build/Objects-normal/armv7/Easy- BARF_dependency_info.dat -o /Users/michi/Library/Developer/Xcode/DerivedData/Easy-BARF-bqrdhyplvesjkpcuqgjtdfgqlsfo/Build/Products/Debug-iphoneos/Easy-BARF.app/Easy-BARF
答案 0 :(得分:-1)
这可能意味着此文件(PBZeitenTableViewController.m
)未编译到您的二进制文件中。要解决此问题,请尝试以下方法:
PBZeitenTableViewController.m
在要编译的源文件列表中。