Info.plist 中未找到 Detox 字段 CFBundleIdentifier

Vgo*_*ose 5 react-native expo detox

遵循 Expo 使用指南进行排毒,并在运行排毒测试时出现以下错误。

使用:

"detox": "^10.0.10",
"detox-expo-helpers": "^0.6.0",
"expo-detox-hook": "^1.0.10"
Run Code Online (Sandbox Code Playgroud)

IPA 制成:

xcode v 9.4.1
expo v 31.0.6
Run Code Online (Sandbox Code Playgroud)

还尝试使用 xcode v10 和 expo v 32.0.0 构建的 IPA,同样的错误。

错误:

Error: field CFBundleIdentifier not found inside Info.plist of app binary at /Users/admin/Desktop/expo-test/bin/gogonow.app
at SimulatorDriver.getBundleIdFromBinary (/Users/admin/Desktop/expo-test/node_modules/detox/src/devices/drivers/SimulatorDriver.js:70:13)
Run Code Online (Sandbox Code Playgroud)

Kar*_*Rao -1

尝试在排毒配置中,您应该注意 .app 路径、xcodeproj 路径、Scheme[应用程序名称] 和 info.plist 路径。

这应该有效..


归档时间:

查看次数:

2346 次

最近记录:

5 年,6 月 前