Appium [iOS] Instruments crashed on startup

依然范特西╮ 提交于 2019-11-29 15:33:38
Liam Ferris
Target failed to run: Permission to debug com.myapp.iphone was denied. 
The app must be signed with a development identity (e.g. iOS Developer).

You application should be signed with developers key. Click here for documentation

If you are using iOS Simulator, do the following...

In Appium, go to Developer Settings, Check Custome Server Flags and write --native-instruments-lib in the text box.

Now start Appium Server.

Hope this helps!

Ananth

BlockquoteTarget failed to run: Permission to debug com.myapp.iphone was denied. The app must be signed with a development identity (e.g. iOS Developer). Blockquote

You should give your developer identity while creating the .ipa...

If you are creating ipa file through terminal, you can follow the given link [blog]: Xcode "Build and Archive" from command line

I also struggled with this problem and found that you need to enable UI automation in developer option in you iDevice

How to enable UI Automation 1. switch off the iDevice, 2. then connect it to the Mac running Xcode 3. before switching it back on to have Developer options appear. 4. tap on developer option and Enable UI automation

Avishek Das

In my case, the following command made my life hell:

rm -rf $HOME/Library/Developer/Xcode/iOS\ DeviceSupport/*

So don't add it to the build step.

To fix the issue: Restart device > run Xcode > connect device > build & run the app > stop & quit Xcode

Now verify launching app without crashing the instruments.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!