react-native - 尝试使用 xcodebuild 创建的 .app 文件运行排毒测试时出错
问题描述
我正在尝试创建一个.app
然后可以在我的文件中引用的.detoxrc.json
文件,但我遇到了 2 个问题。
这是我正在使用的命令...
xcodebuild -workspace ios/Boomin.xcworkspace -scheme Boomin -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build -UseModernBuildSystem=YES -arch x86_64
- 我能看到的唯一
.app
文件是在ios -> build -> Build -> Products -> Debug-iphonesimulator
目录中创建的,它被称为customer.app
. 它看起来customer
来自我的终端用户帐户。我该如何重命名这个? - 当我尝试运行时,
detox test --configuration ios
我得到以下...
detox[19353] ERROR: field CFBundleIdentifier not found inside Info.plist of app binary at /ios/build/Build/Products/Debug-iphonesimulator/customer.app
我该如何解决这两个问题?
谢谢,
解决方案
推荐阅读
- r - R:具有(负)权重的有向图社区检测
- python - 特征列在张量流中如何工作?
- python - 如何计算字典中单词的词频?
- javascript - 范围输入逐渐改变颜色
- ios - UINavigationItem 不显示左右 barButtons
- c# - C#如何删除句尾前的空格
- c# - 通过 backgroundtranferapi 只请求一段文件
- sql - BigQuery 是否支持“立即执行”命令来运行动态查询?
- ionic-framework - 离子,无法找到管道“翻译”,仅在 AoT 编译器中
- python - 根据散点图中的另一列定义气泡大小和气泡颜色(matplotlib)