[!] Unable to find a specification for `SpotIMCore...
pod repo update in Terminal to refresh your local spec repos before installation.
[!] Unable to find a pod with name, author, summary, or description matching `SpotIMCore`
CocoaPods search index has some known bugs. Just proceed with usual installation.
Failed to build module 'SpotImCore'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1)', while this compiler is 'Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)'). Please select a toolchain which matches the SDK.
In your Podfile, make sure you are using frameworks
// For static linkage use_frameworks! :linkage => :static // Or for dynamic linkage use_frameworks!
Also if you are using post install, exclude SpotIMCore and the related dependencies from setting IPHONEOS_DEPLOYMENT_TARGET configuration.
So your post install should look something like below
post_install do |installer| update_os_licences installer.generated_projects.each do |project| if project.project_name != "SpotIMCore" && project.project_name != "Alamofire" && project.project_name != "PromiseKit" && project.project_name != "RxCocoa" && project.project_name != "RxSwift" && project.project_name != "RxRelay" project.build_configurations.each do |config| config.build_settings['CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER'] = 'YES' config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0' end project.targets.each do |target| target.deployment_target = '12.0' target.build_configurations.each do |config| config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0' end end end end end
Updated 3 months ago