Skip to content

Ios swift build fixes#355

Open
ltOgt wants to merge 4 commits intoKasemJaffer:masterfrom
ltOgt:ios-swift-build-fixes
Open

Ios swift build fixes#355
ltOgt wants to merge 4 commits intoKasemJaffer:masterfrom
ltOgt:ios-swift-build-fixes

Conversation

@ltOgt
Copy link

@ltOgt ltOgt commented Feb 17, 2025

fix for #356

fixes swift compile errors for ios in RSIShareViewController in flutter stable 3.29.0

  • fix viewDidAppear:
    • Value of type 'Any' has no member 'hasItemConformingToTypeIdentifier'
    • Value of type 'Any' has no member 'loadItem'
    • Cannot infer type of closure parameter 'error' without a type annotation
  • fix writeTempFile and getVideoInfo
    • Swift Compiler Error (Xcode): 'pngData()' has been renamed to 'UIImagePNGRepresentation(:)'
    • Swift Compiler Error (Xcode): Extraneous argument label 'preferredTimescale:'

- Value of type 'Any' has no member 'hasItemConformingToTypeIdentifier'
- Value of type 'Any' has no member 'loadItem'
- Cannot infer type of closure parameter 'error' without a type annotation
- Swift Compiler Error (Xcode): 'pngData()' has been renamed to 'UIImagePNGRepresentation(:)'
- Swift Compiler Error (Xcode): Extraneous argument label 'preferredTimescale:'
@PBomermustekiin
Copy link

@ltOgt hi, can u share your RSIShareViewController.swift file please?

@ltOgt
Copy link
Author

ltOgt commented Mar 24, 2025

@ltOgt hi, can u share your RSIShareViewController.swift file please?

see the "files changed" tab

https://github.com/KasemJaffer/receive_sharing_intent/blob/fba02d18884bfd2ceb203303ec86b7487d886412/ios/Classes/RSIShareViewController.swift

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants