我创建了一个单一视图iOS应用。添加了pod' XBPageCurl'。当我添加#import" XBPageCurlView.h"到任何视图控制器我都会收到此错误
duplicate symbol _XBAnimationInterpolatorEaseInOut in:
/Users/alexander/Library/Developer/Xcode/DerivedData/CurlTest-fphbvwtzauotgidxuqzdympohxqz/Build/Intermediates/CurlTest.build/Debug-iphoneos/CurlTest.build/Objects-normal/arm64/ViewController.o
/Users/alexander/Library/Developer/Xcode/DerivedData/CurlTest-fphbvwtzauotgidxuqzdympohxqz/Build/Products/Debug-iphoneos/libPods-XBPageCurl.a(XBAnimation.o)
ld: 4 duplicate symbols for architecture arm64
github的测试项目不会发生这种情况。
知道怎么摆脱它?
答案 0 :(得分:1)
在构建设置中将“No Common Blocks”设置为NO
答案 1 :(得分:0)
我删除了内插器块的任何引用,并将逻辑从它移到- (BOOL)step:(NSTimeInterval)dt