SKMaps not found when installing as CocoaPods dependency

I cannot get the SKMaps module to solve by installing it as a Cocoapods dependency.

Upon import:

import SKMaps

I get the following error: No such module 'SKMaps'. My subfile is as follows:

platform :ios, '8.0'

target 'TestSpace' do
use_frameworks!

pod 'ScoutMaps-iOS-SDK'

end

I performed pod install, and it succeeded. As far as I understand, the bridge title should not be necessary when installing Cocoapods dependency on declaration use_frameworks!.

More details:

I opened the .xcworkspace generated pod install. I don’t understand all the details of the Cocoapods structure, but at the end Pods-TestSpace-frameworks.shat the end there is a section that appears only 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 do not know if this depends only on a dependency using a different type of configuration, or if it indicates that something is wrong.

, ScoutMaps-iOS-SDK, /, 2.5.1.

+4
1

pod Xcode .xcworkspace.

0

Source: https://habr.com/ru/post/1622781/


All Articles