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 fails with Xcode 10 with error could not find included file '../plugins-debug.xcconfig' in search paths

See original GitHub issue

Did you verify this is a real problem by searching the NativeScript Forum and the other open issues in this repo?

Yes

Tell us about the problem

Build fails for iOS in case the following circumstances are fulfilled:

  • Xcode 10 is used
  • application does not have build.xcconfig file in App_Resources/iOS/build.xcconfig
  • none of the plugins have build.xcconfig file in <plugin dir>/platforms/ios/build.xcconfig

The error is:

error: <path to project>/platforms/ios/<app name>/build-debug.xcconfig:3: could not find included file '../plugins-debug.xcconfig' in search paths (in target 'tests')

Which platform(s) does your issue occur on?

iOS

Please provide the following version numbers that your issue occurs with:

  • CLI: 4.2.4
  • Cross-platform modules: Not applicable
  • Runtime(s): Not applicable
  • Plugin(s): Ensure all plugins do not have build.xcconfig in <plugin dir>/platforms/ios

Please tell us how to recreate the issue in as much detail as possible.

$ tns create app1
$ cd app1
$ rm app/App_Resources/iOS/build.xcconfig
$ tns build ios

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

No

Workaround

Create empty build.xcconfig in <path to project's App_Resources>/iOS/build.xcconfig

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
Fatmecommented, Oct 20, 2018

@MarkPieszak,

You need to update your CocoaPods. Just execute pod install.

1reaction
anaszghcommented, Oct 19, 2018

@rosen-vladimirov build.xcconfig already is there in the <App_Resources>/IOS but still the issue occur

Read more comments on GitHub >

github_iconTop Results From Across the Web

ios - Error: Could not find included file 'Generated.xcconfig' in ...
Try running flutter build ios and then rerun in Xcode.
Read more >
How to fix Flutter + Xcode Debug.xcconfig:2 - Phong Yew Tong
This is the full error on my Xcode. project/ios/Flutter/Debug.xcconfig:2: could not find included file 'Generated.xcconfig' in search paths ...
Read more >
iOS : Error: Could not find included file 'Generated.xcconfig' in ...
iOS : Error : Could not find included file 'Generated. xcconfig ' in search paths (in target 'Runner') [ Gift : Animated Search...
Read more >
Xcode 13 (xcodebuild) regression, … | Apple Developer Forums
Xcode 13 (xcodebuild) regression, cannot find xcconfig files in the search path. The attached project does reproduce this issue. I hope it can...
Read more >
without cocoapods, plugins will not work on ios or macos.
This problem is present with Android Studio Bumblebee on Mac. Launching flutter from the IDE causes this issue where it can't find the...
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