You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Got this error ('shared' is unavailable in application extensions for iOS: Use view controller based solutions where appropriate instead.) inside TLAssetPreviewViewController class and in this line updatePreferredContentSize(for: asset, isPortrait: UIApplication.shared.orientation?.isPortrait == true) When I'm using this pods in any App Extension. Though I solved this by following ways.
go to Pods project
Select TLPhotoPicker
Build Setting
set NO for Require Only App-Extension-Safe-API
But Can you solve this please. Because when I install pod again then everytime I need to solve this error manually.
The text was updated successfully, but these errors were encountered:
post_install do |installer|
react_native_post_install(installer)
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = 'No'
end
end
end
Got this error (
'shared' is unavailable in application extensions for iOS: Use view controller based solutions where appropriate instead.
) insideTLAssetPreviewViewController
class and in this lineupdatePreferredContentSize(for: asset, isPortrait: UIApplication.shared.orientation?.isPortrait == true)
When I'm using this pods in any App Extension. Though I solved this by following ways.
Pods
projectTLPhotoPicker
NO
forRequire Only App-Extension-Safe-API
But Can you solve this please. Because when I install pod again then everytime I need to solve this error manually.
The text was updated successfully, but these errors were encountered: