Closed SpectreWulf closed 2 years ago
If your app does not already use Swift, could you try using Xcode to create and add a blank .swift
file to your main project?
If your app does not already use Swift, could you try using Xcode to create and add a blank
.swift
file to your main project?
Thanks for your quick reply!
I have already figured out the solution myself and forgot to update here! :3 I will close this issue now.
For anyone facing this issue follow these steps to resolve it:
.swift
file to your react native project project in Xcode. This will trigger XCode to add configurations to your project so that it is Swift compatible. You can delete this file after that.use_frameworks!
pod deintegrate
pod install
react-native v0.61.5 react-native-file-access v1.7.1
My react native project successfully installs all the dependencies during pod install, but in the end throws an error for react-native-file-access saying:
'react-native-file-access' does not specify a Swift version and none of the targets ('ProjectName') integrating it has the 'SWIFT_VERSION' attribute set. Please contact the author or set the 'SWIFT_VERSION' in at least one of the targets that integrate this pod.
Am I missing some configuration in the Build Settings?