3

I'm just trying to implement react-native code push on my react-native application but I just can't find Build Location -> Per-configuration Build Products Path on Xcode 10.

Here's the guide I'm following: https://learn.microsoft.com/en-us/appcenter/distribution/codepush/react-native#multi-deployment-testing

Where did that change go to?

Cœur
  • 37,241
  • 25
  • 195
  • 267
Ricbermo
  • 815
  • 1
  • 6
  • 28

3 Answers3

4

Xcode 11 has removed this setting moving to the new build settings found in the Workspace Settings.

For CodePush, you want to create another user-defined section named CONFIGURATION_BUILD_DIR, using the same per-configuration settings.

enter image description here

NOTE: I found that Xcode would crash anytime I set the section name to CONFIGURATION_BUILD_DIR after creating it (most likely due to the empty values). To avoid this issue, create the section without renaming, set the configuration specific build folders, and then change the name.

Best of luck!

DBrown
  • 5,111
  • 2
  • 23
  • 24
3
  1. Press Cmd+1 to open Project Navigator

  2. Click on Project you need to edit

  3. In the pane that opens click on target

  4. Click on Build Settings tab

  5. Select "All" in the filters

  6. Select "Levels" in the filters

  7. Search for "Build Location" in search.

How to edit Build Locations

Paul
  • 13,042
  • 3
  • 41
  • 59
-1

Xcode 11, you can find this option at PODS_CONFIGURATION_BUILD_DIR

  • This is incorrect. What you have posted is a Pod specific build folder, not anything that alters the derived data folder path. – DBrown Feb 16 '20 at 20:59