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.

Generated Xcode project doesn't set Target dependencies

See original GitHub issue

For a test that uses TEST_HOST it needs to have it’s Target dependency set to the app it will be hosted in. Also, with Xcode’s new build system, explicit targets are desired.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
brentleyjonescommented, Jun 27, 2018

Related, it seems that the BUNDLE_LOADER needs to be BUNDLE_LOADER = $BUILT_PRODUCTS_DIR/App.app/Binary for iOS. The more complicated form confuses Xcode because it includes //.

0reactions
mgrebenetscommented, Oct 23, 2018

Cool. Thanks @ghvg1313 . I’ll keep an eye on when it’s imported and test it then.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Customizing the build phases of a target - Apple Developer
Dependencies. Specifies other targets, in the same project or a referenced project, that Xcode must build before it builds the current target. ·...
Read more >
How to add Private Framework to Target Dependencies?
In Xcode, select your build target, then select "general" tab, scroll down to "Framework, libraries, and Embedded Content", then select "+" ...
Read more >
A comprehensive guide to optimizing your Xcode build - Flexiple
This guide explores all possible ways to reduce Xcode build time. These optimizations are run against an open-source project to observe ...
Read more >
Managing Xcode
A target defines a specific set of build settings that accompany a set of build ... Doesn't start with any code cruft, and...
Read more >
Xcode Build Settings
Typically this path is not set per target, but is provided as an option on the command line when performing an xcodebuild install...
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