question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[!] Unable to determine Swift version for the following pods:

See original GitHub issue

I tried to add the pod using Xcode10, but I got this error:

[!] Unable to determine Swift version for the following pods:

  • flutter_crashlytics does not specify a Swift version and none of the targets (Runner) integrating it have the SWIFT_VERSION attribute set. Please contact the author or set the SWIFT_VERSION attribute in at least one of the targets that integrate this pod.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

49reactions
guitcastrocommented, Oct 10, 2018

Fixed by creating an empty swift file in the project.

22reactions
guitcastrocommented, Jan 25, 2019

Fixed by creating an empty swift file in the project.

hi, I’m new to xcode and experiencing this issue, can you provide steps to implement this solution?

Just open the iOS project in the folder ios/Runner/Runner.xcworkspace with xcode and then just add a new swift file anywhere, xcode will automatic apply the changes need to your project support swift.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to determine Swift version for the following pod" - Error
It's because your project is very old and never set Swift version in the project. Try to create one new swift ...
Read more >
iOS : 'Unable to determine Swift version for the following pod
iOS : ' Unable to determine Swift version for the following pod " - Error [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] ...
Read more >
Pod install error on new project: TensorFlowLiteSwift - iOS
Unable to determine Swift version for the following pods: - `TensorFlowLiteSwift` does not specify a Swift version and none of the targets (` ......
Read more >
pod install 报错[!] Unable to determine Swift version for ... - 简书
Unable to determine Swift version for the following pods: xxx does not specify a Swift version and none of the targets ( Runner...
Read more >
[!] Unable to determine Swift version for the following pods
[!] Unable to determine Swift version for the following pods: - `InputMask` does not specify a Swift version and none of the targets...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found