MonkeyDev icon indicating copy to clipboard operation
MonkeyDev copied to clipboard

升级到Monterey系统xcode13后一直Executable Not Found

Open wengxianxun opened this issue 3 years ago • 20 comments

/Users/xx/Library/Developer/Xcode/DerivedData/xxx-ezbhimhlylfaqnchcowcuiasrgrm/Build/Products/Debug-iphoneos/xx.app is not a valid path to an executable file. Please rebuild the project to ensure that all required executables are created. Check your project settings to ensure that a valid executable will be built.

wengxianxun avatar Nov 02 '21 02:11 wengxianxun

Mark

SpaceQ-Z avatar Nov 19 '21 10:11 SpaceQ-Z

😢

KiddoLin avatar Nov 22 '21 15:11 KiddoLin

mark

Mcoon avatar Nov 23 '21 07:11 Mcoon

解决了: 1. https://github.com/devdawei/libstdc- 执行install-xcode_11+.sh 2. fishhook去拉最新的 不然crash

Mcoon avatar Nov 23 '21 07:11 Mcoon

解决了: 1. https://github.com/devdawei/libstdc- 执行install-xcode_11+.sh 2. fishhook去拉最新的 不然crash

@Mcoon 请问在哪里更新fishhook呢?我安装这个插件的时候,好像没自己安装过fishhook

KiddoLin avatar Nov 23 '21 14:11 KiddoLin

fishhook

解决了: 1. https://github.com/devdawei/libstdc- 执行install-xcode_11+.sh 2. fishhook去拉最新的 不然crash

我执行了也换成新的了。。。一样提这个错。。。

SpaceQ-Z avatar Nov 24 '21 10:11 SpaceQ-Z

解决了: 1. https://github.com/devdawei/libstdc- 执行install-xcode_11+.sh 2. fishhook去拉最新的 不然crash

@Mcoon 请问在哪里更新fishhook呢?我安装这个插件的时候,好像没自己安装过fishhook https://github.com/facebook/fishhook

SpaceQ-Z avatar Nov 24 '21 10:11 SpaceQ-Z

https://github.com/facebook/fishhook

解决了吗

wengxianxun avatar Dec 03 '21 06:12 wengxianxun

解决了: 1. https://github.com/devdawei/libstdc- 执行install-xcode_11+.sh 2. fishhook去拉最新的 不然crash

我更新了,还是同样的问题

wengxianxun avatar Dec 03 '21 06:12 wengxianxun

创建的工程名称和目标应用的bundle name保持一致即可

ZachQin avatar Dec 10 '21 07:12 ZachQin

创建的工程名称和目标应用的bundle name保持一致即可

Bundle name 和 创建的工程名字 保持一致 ,问题没有解决,你当时除了做了这个操作,还有哪些操作或者配置吗?

anbabyQAQ avatar Dec 14 '21 16:12 anbabyQAQ

Bundle name 和 创建的工程名字 保持一致 ,首次run还是可以的,但是第二次run ,真机屏幕是黑的,切无法查看视图层级结构

anbabyQAQ avatar Dec 14 '21 16:12 anbabyQAQ

Bundle name 和 创建的工程名字 保持一致 ,首次run还是可以的,但是第二次run ,真机屏幕是黑的,切无法查看视图层级结构

command + shift + k 清理下build data 就可以正常运行,但是每次都要 command + shift + k 才行~ 大家是怎么解决的?

anbabyQAQ avatar Dec 14 '21 16:12 anbabyQAQ

Bundle name 和 创建的工程名字 保持一致 ,首次run还是可以的,但是第二次run ,真机屏幕是黑的,切无法查看视图层级结构

command + shift + k 清理下build data 就可以正常运行,但是每次都要 command + shift + k 才行~ 大家是怎么解决的?

我是每次都clean build folder清空重装才可以

wengxianxun avatar Dec 17 '21 07:12 wengxianxun

XCode Build Setting->Info.plist File,填上plist相对路径,解决。 具体可以看看我的帖子:https://justinsongtx.github.io/2022/03/26/Monkeydev%E7%9A%84%E9%82%A3%E4%BA%9B%E9%9A%BE%E8%A8%80%E4%B9%8B%E9%9A%90/

justinsongtx avatar Mar 26 '22 14:03 justinsongtx

👍

anbabyQAQ avatar Mar 28 '22 02:03 anbabyQAQ

XCode Build Setting->Info.plist File,填上plist相对路径,解决。 具体可以看看我的帖子:https://justinsongtx.github.io/2022/03/26/Monkeydev%E7%9A%84%E9%82%A3%E4%BA%9B%E9%9A%BE%E8%A8%80%E4%B9%8B%E9%9A%90/

7月8号这个方法解决不了,依旧是报Executable Not Found xcode 13.4 ipa是本地development证书打出来的ipa包 有其他人遇到这问题吗?

Rick630 avatar Jul 08 '22 11:07 Rick630

XCode Build Setting->Info.plist File,填上plist相对路径,解决。 具体可以看看我的帖子:https://justinsongtx.github.io/2022/03/26/Monkeydev%E7%9A%84%E9%82%A3%E4%BA%9B%E9%9A%BE%E8%A8%80%E4%B9%8B%E9%9A%90/

7月8号这个方法解决不了,依旧是报Executable Not Found xcode 13.4 ipa是本地development证书打出来的ipa包 有其他人遇到这问题吗?

mark

iOSPrincekin avatar Jul 27 '22 07:07 iOSPrincekin

CleanShot 2022-08-14 at 17 02 51@2x

  1. 在MonkeyDev中选中对应的Target;
  2. 选择Target的 Build Settings;
  3. 搜索 Info.plist;
  4. 将选项Generate Info.plist File 改为 NO;
  5. 重新编译,修复问题。

备注: image

  1. 这里的Info.plist File还是要填写成 工程名/Info.plist,比如目前工程名是xxx,这里就要写成xxx/Info.plist。否则的话安装的app会出现尺寸不正确,隐私权限读不到的问题。其实也就是没找到对应的Info.plist。

adamwangxx avatar Aug 14 '22 09:08 adamwangxx

owesone trick

nanshihui avatar Mar 01 '23 06:03 nanshihui