react-native - Xcode 10 Build Location -> Per-configuration Build Products Path

标签 react-native xcode10 code-push react-native-code-push

我只是想在我的 react-native 应用程序上实现 react-native 代码推送,但我在 Xcode 10 上找不到 Build Location -> Per-configuration Build Products Path。

这是我正在关注的指南:https://learn.microsoft.com/en-us/appcenter/distribution/codepush/react-native#multi-deployment-testing

更改到哪里去了?

最佳答案

Xcode 11 已删除此设置,并移至 Workspace Settings 中的新build设置。

对于 CodePush,您想要创建另一个名为 CONFIGURATION_BUILD_DIR 的用户定义部分,使用相同的每个配置设置。

enter image description here

注意:我发现 Xcode 在创建后将部分名称设置为 CONFIGURATION_BUILD_DIR 时会崩溃(很可能是由于空值)。为避免此问题,请在不重命名的情况下创建部分,设置特定于配置的构建文件夹,然后更改名称。

祝你好运!

关于react-native - Xcode 10 Build Location -> Per-configuration Build Products Path,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52708923/

相关文章:

javascript - React Native 不从父应用程序调用 Android native 方法

reactjs - 了解react-native的代码推送

ios - 苹果是否允许OTA更新应用程序

xcode - Xcode 10意外的重复任务:CopyPlistFile

react-native - react native + 代码推送 : Do updates only appear the 2nd time the app has been loaded?

javascript - 在轮播中 react 原生视频

ios - react native ios 警报相互覆盖

javascript - 禁止文件夹 1 从文件夹 2 导入任何内容

swift - Xcode 永远持续加载项目

swift - Xcode10 的 UITests 中未加载库 : @rpath/libswiftMetalKit. dylib