github地址:https://github.com/AloneMonkey/MonkeyDev
1、安裝報(bào)錯(cuò)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
詳見(jiàn) 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桨啃、編譯報(bào)錯(cuò)file not found: /usr/lib/libstdc++.dylib
原因:XCode10之后刪除了libstdc++庫(kù),而monkeydev已經(jīng)很久沒(méi)維護(hù)了惠奸,這貨不支持新的c++庫(kù)占拍。
解決方案:
下載 https://github.com/devdawei/libstdc-勃教,cd到libstdc--master文件夾私痹,執(zhí)行install-xcode_11+.sh
3脐嫂、運(yùn)行報(bào)錯(cuò)Executable Not Found
解決方案:
clean后,直接run正常紊遵。clean后先build再run會(huì)報(bào)錯(cuò)Executable Not Found账千。
也可info.plist(issue 305,未嘗試)
參考:
MonkeyDev官方wiki
MonkeyDev的使用 --- 安裝&代碼注入
Monkeydev編譯報(bào)錯(cuò)及解決方法