square/SquarePointOfSaleSDK-iOS

'SquarePointOfSaleSDK/SquarePointOfSaleSDK.h' file not found

giadat99 opened this issue · 7 comments

i was trying to use react-native-square-pos package to take payments, i followed the instructions but it came out an error that 'SquarePointOfSaleSDK/SquarePointOfSaleSDK.h' file not found

I'm in the same trouble. I can not find SquarePointOfSaleSDK.xcodeproj

Also facing this issue. Any resolution?

Can you send me a sample project showcasing this error

I am also facing this issue. @MikeSilvis, I will create a sample project showcasing this error shortly

@MikeSilvis Here's a sample project showing this error https://github.com/zacdemi/testSquarePos
I had to set the react-native-square-pos/RNSquarePos.podspec file to use the latest version of this repository:

Pod::Spec.new do |s|
s.name = "RNSquarePos"
s.version = "1.0.13"
s.summary = "RNSquarePos"
s.description = <<-DESC
RNSquarePos
DESC
s.homepage = "https://github.com/matix-io/react-native-square-pos"
s.license = "MIT"
s.license = { :type => "MIT", :file => "FILE_LICENSE" }
s.author = { "author" => "connor@matix.io" }
s.platform = :ios, "7.0"
s.source = { :git => "https://github.com/matix-io/react-native-square-pos.git", :tag => "master" }
s.source_files = "ios/**/*.{h,m}"
s.requires_arc = true

s.dependency "React"
s.dependency "SquarePointOfSaleSDK", "~> 3.5.2"
end

@zacdemi I believe your issue is happening in another repository not owned by Square https://github.com/matix-io/react-native-square-pos/tree/master/ios

@MikeSilvis Thanks. I moved the issue over.