-
Notifications
You must be signed in to change notification settings - Fork 380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to run on iOS 12 in 5.0.8 #363
Comments
Hi Igor, Did you managed to get this resolved? |
Hi @philipborbon , I remember some API from LinkPresentation (not available in iOS 12) was used in 5.0.8, I switched to previous version. Probably weak linking of LinkPresentation should fix the issue |
Thanks for the info. I got it working as suggested also in this thread "Xcode 13 does not weak link LinkPresentation framework?". "Manually adding Adding it in Pods > |
Is the project not being maintained anymore? |
@philipborbon or we can add to Podfile: post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == "NYTPhotoViewer"
target.build_configurations.each do |config|
config.build_settings['OTHER_LDFLAGS'] ||= ['-weak_framework', 'LinkPresentation']
config.build_settings['OTHER_LDFLAGS'] << '$(inherited)'
end
end
end
end |
PR with fix #372 |
We add NYTPhotoViewer using Cocopods and in 5.0.8 appeared an issue during application launch
The text was updated successfully, but these errors were encountered: