I\'m trying to add PassSlot into my project, but it says it can\'t find the .h file. I\'m following everything correctly from here: https://github.com/passslot/passslot-ios-sdk<
Just hit this problem myself after making a new test target in Objective-C.
One thing to remember is that under some circumstances, each test target must be listed in the Podfile
with pod
dependencies. If the Podfile
only associates the project with the pods, it may not find the pod header files.
Here's an example of a more complex Podfile
from the cocoapods docs.
target 'MyApp' do
pod 'ObjectiveSugar', '~> 0.5'
target "MyAppTests" do
inherit! :search_paths
pod 'OCMock', '~> 2.0.1'
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
puts "#{target.name}"
end
end