关于报错'sharedApplication' is unavailable: not available on iOS (App Extension)

解决办法:

在Podfile中增加以下代码,然后重新pod即可解决问题

post_install do |installer_representation|

installer_representation.pods_project.targets.each do |target|

target.build_configurations.each do |config|

config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = 'NO'

end

end

end

你可能感兴趣的:(关于报错'sharedApplication' is unavailable: not available on iOS (App Extension))