Skip to content

Build fails with Xcode 10 with error could not find included file '../plugins-debug.xcconfig' in search paths #3912

Closed
@rosen-vladimirov

Description

@rosen-vladimirov

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions