#daben
1 messages · Page 1 of 1 (latest)
Hi there, can you change @import to import and try again
Are you using cocoapods?
yes
Did you add pod 'StripePaymentSheet' in the Podfile ?
no, i using podspec. s.dependency 'StripePaymentSheet', '23.3.1'
Can I see you Podfile?
use_frameworks!
source 'https://gitee.com/mirrors/CocoaPods-Specs.git'
platform :ios, '13.0'
target 'CIPay_Example' do
pod 'CIPay/CIPay', :path => '../'
target 'CIPay_Tests' do
inherit! :search_paths
end
end
I don't see StripePaymentSheet in this Podfile
pod 'CIPay/CIPay', :path => '../' then perform CIPay.podspec
What's inside CIPay?
I'm an engineer. I'm not an expert in iOS and I'm asking around and see who else can help you.
oh, thank you.
unfortunately I only really use Swift(and I use Swift Package Manager in my projects and not Cocoapods) , so I haven't tried adding our dependencies in an Obj-C project like yours so likely won't be able to help much
I actually think the PaymentSheet might only be supported in Swift, checking...
ah, you need to write your own wrapper and can't use it directly. See https://github.com/stripe/stripe-ios/issues/2002#issuecomment-1233041120 .
ok, i will change to swift. thank you