-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
d1:easyAn easy ticket that is a good start for first-time contributorsAn easy ticket that is a good start for first-time contributorss3:detailedIssues with in-depth explanations and examples that make it easier to troubleshootIssues with in-depth explanations and examples that make it easier to troubleshoott2:defectThese are known bugs. The issue should also contain steps to reproduce. PRs welcome!These are known bugs. The issue should also contain steps to reproduce. PRs welcome!
Description
I am building an app which uses cocoapods to handle my external dependencies.
Cocoapods version 0.37.2 this works fine.
But I got error after I upgrade Cocoapods to 0.38.2.
Xcode version: 6.4
My Podfile:
platform :ios, "7.0"
pod "Pingpp", "~> 2.1.0"
pod "AFNetworking"
error:
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_PingppInternal", referenced from:
l_OBJC_$_CATEGORY_PingppInternal_$_Alipay in libpingpp+alipay.a(PingppInternal+Alipay.o)
l_OBJC_$_CATEGORY_PingppInternal_$_Bfb in libpingpp+bfb.a(PingppInternal+Bfb.o)
l_OBJC_$_CATEGORY_PingppInternal_$_Up in libpingpp+up.a(PingppInternal+Up.o)
l_OBJC_$_CATEGORY_PingppInternal_$_Wx in libpingpp+wx.a(PingppInternal+Wx.o)
"_OBJC_CLASS_$_PingppUtil", referenced from:
objc-class-ref in libpingpp+alipay.a(PingppInternal+Alipay.o)
objc-class-ref in libpingpp+bfb.a(PingppViewController.o)
objc-class-ref in libpingpp+bfb.a(PingppInternal+Bfb.o)
objc-class-ref in libpingpp+up.a(PingppInternal+Up.o)
objc-class-ref in libpingpp+wx.a(PingppInternal+Wx.o)
"_PingppLocalizedString", referenced from:
-[PingppInternal(Alipay) alipayResult:] in libpingpp+alipay.a(PingppInternal+Alipay.o)
-[PingppInternal(Bfb) channelBfb:withViewController:] in libpingpp+bfb.a(PingppInternal+Bfb.o)
___53-[PingppInternal(Bfb) channelBfb:withViewController:]_block_invoke103 in libpingpp+bfb.a(PingppInternal+Bfb.o)
-[PingppInternal(Up) channelUpmp:withViewController:] in libpingpp+up.a(PingppInternal+Up.o)
-[PingppInternal(Wx) onResp:] in libpingpp+wx.a(PingppInternal+Wx.o)
ld: symbol(s) not found for architecture arm64
And it works when using subspecs of Pingpp.
Podfile:
platform :ios, '7.0'
pod "Pingpp/Alipay", "~> 2.1.0"
pod "Pingpp/Wx", "~> 2.1.0"
pod "Pingpp/UnionPay", "~> 2.1.0"
pod "AFNetworking"
I'm not sure if the podspec file is correct.
Metadata
Metadata
Assignees
Labels
d1:easyAn easy ticket that is a good start for first-time contributorsAn easy ticket that is a good start for first-time contributorss3:detailedIssues with in-depth explanations and examples that make it easier to troubleshootIssues with in-depth explanations and examples that make it easier to troubleshoott2:defectThese are known bugs. The issue should also contain steps to reproduce. PRs welcome!These are known bugs. The issue should also contain steps to reproduce. PRs welcome!