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.

Build failing for iOS

See original GitHub issue

I get the following error when building for iOS:

=== BUILD TARGET Komed Health OF PROJECT Komed Health WITH CONFIGURATION Debug ===

Check dependencies
The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. Supported values are: 3.0, 4.0, 4.2. This setting can be set in the build settings editor.
The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. Supported values are: 3.0, 4.0, 4.2. This setting can be set in the build settings editor.

The following build commands failed:
	Check dependencies
** ARCHIVE FAILED **

I’m guessing this plugin specifies an outdated Swift version? I’m building with XCode 10+ and I specified the swift version as 3.0 in my project.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
csalmi-branchcommented, Jan 15, 2019

@BorntraegerMarc We believe that it is likely being caused by this known issue in Cordova: https://github.com/akofman/cordova-plugin-add-swift-support/issues/47

We are still looking into it though, and trying to confirm the root cause.

0reactions
csalmi-branchcommented, Jan 17, 2019

Ok. Thanks for responding and letting us know!

I’m closing this issue due to it being caused by the known issue in cordova.

If anyone is still experiencing this issue or a new problem arises, please let us know by filling a support ticket or a new github issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build Failed — but no reason! | Apple Developer Forums
Hi, I'm experiencing weird Xcode behavior. I'm getting "build failed" after some alterations to the code, but Xcode will NOT give me the...
Read more >
Xcode 4: Build Failed, No Issues - ios - Stack Overflow
I've been getting 'Build Failed' with no errors in the Issue navigator(only warnings). Report navigator, though, displayed errors correctly.
Read more >
Resolved: Failed to build iOS app error ** BUILD ... - YouTube
Steps to resolve failed to build iOS app error:1. rm ios /Podfile2. flutter pub upgrade3. flutter pub run4. flutter clean && flutter ...
Read more >
Build failed on iOS device · Issue #9823 - GitHub
When I'm trying to build project for real device or open xcode project I get error. Reproduction. ns create app --react; cd app;...
Read more >
iOS build fail - KonyLogger.Framework error
Hi Team. We are facing issue building in iOS for our project. Attached is the error we see. We tried adding Binary and...
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