I can't get the SKMaps module to resolve when installing it as a Cocoapods dependency.
When importing:
import SKMaps
I get the following error: No such module 'SKMaps'
. My Podfile is as follows:
platform :ios, '8.0'
target 'TestSpace' do
use_frameworks!
pod 'ScoutMaps-iOS-SDK'
end
I have run pod install
, and it succeeded. As far as I understand a bridging header should not be necessary when installing a Cocoapods-dependency when declaring use_frameworks!
.
More details:
I have opened the .xcworkspace generated by pod install
. I don't understand all the details of the Cocoapods framework, but at the end of Pods-TestSpace-frameworks.sh
there is a section at the end that only appears if I add other dependencies.
if [[ "$CONFIGURATION" == "Debug" ]]; then
install_framework "Pods-TestSpace/OtherDependency.framework"
fi
if [[ "$CONFIGURATION" == "Release" ]]; then
install_framework "Pods-TestSpace/OtherDependency.framework"
fi
I don't know if that is just a matter of the dependency using a different configuration type, or if it's an indication of something being wrong.
Also, the version of the ScoutMaps-iOS-SDK
being downloaded/installed is 2.5.1
.