pr1*_*001 10 linker core-data ios restkit
我刚刚升级到Xcode 7和CocoaPods 0.38.2,在解决了一些Swift 2问题后,我的混合Objective-C&Swift项目针对iOS 7得到了以下链接器错误:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_RKManagedObjectRequestOperation", referenced from:
objc-class-ref in NetworkHelper.o
"_OBJC_CLASS_$_RKManagedObjectResponseMapperOperation", referenced from:
type metadata accessor for ObjectiveC.RKManagedObjectResponseMapperOperation in MappingHelper.o
"_RKLogCoreDataError", referenced from:
___33-[RKEntityByAttributeCache load:]_block_invoke in libRestKit.a(RKEntityByAttributeCache.o)
___43-[RKManagedObjectImporter finishImporting:]_block_invoke in libRestKit.a(RKManagedObjectImporter.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Run Code Online (Sandbox Code Playgroud)
CoreData包含在我的.pch文件中,并且在桥接头中包含在RestKit之前,并且Bitcode已关闭.我正在使用RestKit 0.24.1.
由于似乎RestKit没有检测到CoreData框架的存在,并且其条件声明因此被传递,我已经尝试了很多方法来告诉我的应用程序或RestKit pod有关Core Data的存在,但没有似乎有所帮助.
归档时间: |
|
查看次数: |
2925 次 |
最近记录: |