bundleID for Xcode是什么?

huangapple go评论64阅读模式
英文:

What is bundleID for Xcode?

问题

我想通过Appium运行Xcode,需要Xcode的bundleId(例如com.apple.TextEdit)。我使用Appium2和驱动程序'Mac2'。

Capabilities(能力):

"platformName": "Mac",
"appium:automationName": "Mac2",
"appium:bundleId": "com.apple.Xcode"

当我尝试启动我的测试时,我收到错误消息:

'Failed to create session. An unknown server-side error occurred while processing the command. Original error: The app representing com.apple.Xcode could not be found.'

Xcode的bundleId是什么?

感谢帮助。

英文:

I want to run Xcode via Appium and I need Xcode bundeId (like com.apple.TextEdit). I use Appium2 and driver 'Mac2'.

Capabilities:

"platformName": "Mac",
"appium:automationName": "Mac2",
"appium:bundleId": "com.apple.Xcode"

When I try to start my test, I receive error:

Failed to create session. An unknown server-side error occurred while processing the command. Original error: The app representing com.apple.Xcode could not be found.

What is bundleId for Xcode?

Thanks for help.

答案1

得分: 0

Xcode的捆绑标识符是com.apple.dt.Xcode

您可以像这样找到它(在终端中运行):

defaults read /Applications/Xcode.app/Contents/Info CFBundleIdentifier
英文:

The bundle identifier for Xcode is com.apple.dt.Xcode

You can find it like so (run in terminal)

defaults read /Applications/Xcode.app/Contents/Info CFBundleIdentifier

huangapple
  • 本文由 发表于 2023年6月6日 13:17:13
  • 转载请务必保留本文链接:https://go.coder-hub.com/76411615.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定