github地址:https://github.com/AloneMonkey/MonkeyDev
1、安装报错File /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Xcode/Specifications/MacOSX Package Types.xcspec not found
解决方案:
把md-install文件中macosxSDKSpecificationsPath=$macosSdkPlatformPath/Developer/Library/Xcode/Specifications
替换为
macosxSDKSpecificationsPath=$macosSdkPlatformPath/Developer/Library/Xcode/PrivatePlugIns/IDEOSXSupportCore.ideplugin/Contents/Resources
详见 issue 307:https://github.com/AloneMonkey/MonkeyDev/issues/307
也可用如下方法直接做映射(issue 266,未尝试)
sudo ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Xcode/PrivatePlugIns/IDEOSXSupportCore.ideplugin/Contents/Resources /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Xcode/Specifications
2、编译报错file not found: /usr/lib/libstdc++.dylib
原因:XCode10之后删除了libstdc++库,而monkeydev已经很久没维护了,这货不支持新的c++库。
解决方案:
下载 https://github.com/devdawei/libstdc-,cd到libstdc--master文件夹,执行install-xcode_11+.sh
3、运行报错Executable Not Found
解决方案:
clean后,直接run正常。clean后先build再run会报错Executable Not Found。
也可info.plist(issue 305,未尝试)
参考:
MonkeyDev官方wiki
MonkeyDev的使用 --- 安装&代码注入
Monkeydev编译报错及解决方法
网友评论