英文:
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
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论