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.

[ios] Unable to find included file "../plugins-release.xcconfig"

See original GitHub issue

When upgrading to 2.4.X cli, the plugins-release.xcconfig file is never created in platforms/ios/ folder.

I’m thinking it has to do with these errors when trying to archive my project: error http://i.imgur.com/w0itMOc.png

Running pod install does not resolve these errors.

Issue Analytics

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

github_iconTop GitHub Comments

3reactions
3rror404commented, Dec 20, 2016

I’ve also been seeing the same errors listed above whilst trying to produce an archive in xcode.

I finally got the app to Archive by doing the following:

  1. Open the xcworkspace in xcode.
  2. Add ${SRCROOT}/Pods to the PODS_ROOT Release key under Build Settings - this was only set for Debug and not Release in my workspace. This removes the pod errors but introduces may others.
  3. Run $ tns build ios --release in Terminal
  4. Go back to xcode and archive the app. All errors are now gone and the archive succeeds.

I don’t know where in the process this is failing but I’ve tried many things to get the app to archive. The above steps are the only way I’ve managed to get an archive to succeed.

Edit: Validating the archive throws up a number of other errors. Back to square one.

1reaction
tzraikovcommented, Dec 12, 2016

@roblav96 We changed the build process in 2.4.0. Now plugins-release.xcconfig is created only when using the --release flag. Please, could you confirm that everything works as expected when using this flag?

Read more comments on GitHub >

github_iconTop Results From Across the Web

0 - Stack Overflow
Xcode throws error while taking build archive for release"could not find included file '../plugins-release.xcconfig' in search paths (in target ) ...
Read more >
Xcode 13 (xcodebuild) regression, … | Apple Developer Forums
Essentially, after updating to Xcode 13, xcodebuild (not Xcode IDE) is unable to find .xcconfig files we are including from an existing .xcconfig...
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 >
Cordova iOS 4.0.0
We are happy to announce that Cordova iOS 4.0.0 has been released.This is a major release, and deprecated APIs have been removed.
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') ... Your browser can't play this...
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