当我试图为iphone模拟器构建时,我得到了这个错误:
d: warning: ignoring file /users/salehshah/SmartSwipe/libANMobilePaymentLib.a, file was built for archive which is not the architecture being linked (i386) Undefined symbols for architecture i386:
请注意,我使用的是Xcode4.2和iOS 5。项目在设备上构建和运行良好。我认为在链接静态库的时候有一些问题。可能是架构有问题。