因此,我的应用程序在设备(iPhone XR)上完美运行,但是当我尝试在模拟器上运行它时抛出错误。
错误: 没有这样的模块 'SwiftyStoreKit'
它基本上没有检测到“Pod” 我已经尝试了很多步骤
我的 Xcode 版本是 12.2 最近,我更新了我的 Mac OS,之后我开始面临这个问题。早些时候,一切都运行良好。
感谢您的帮助。
#Uncomment the next line to define a global platform for your project
#platform :ios, '10.0'
#Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
target 'Vivaji' do
pod 'Alamofire'
pod 'ObjectMapper'
pod 'IQKeyboardManagerSwift'
pod 'SWRevealViewController', '~> 2.3',:modular_headers => true
pod 'moa', '~> 12.0'
pod 'SideMenu', '~> 6.0'
pod 'AlamofireImage'
pod 'SwiftyStoreKit'
target 'VivajiTests' do
inherit! :search_paths
# Pods for testing
end
target 'VivajiUITests' do
inherit! :search_paths
# Pods for testing
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['DEBUG_INFORMATION_FORMAT'] = 'dwarf'
config.build_settings['ARCHS'] = 'arm64'
end
end
installer.pods_project.build_configurations.each do |config|
config.build_settings.delete('CODE_SIGNING_ALLOWED')
config.build_settings.delete('CODE_SIGNING_REQUIRED')
end
end
end