美文网首页
错误日志汇总

错误日志汇总

作者: Yancy007 | 来源:发表于2019-01-07 09:30 被阅读0次

    使用命令:
    pod spec lint xxx.podspec --verbose,遇到报错:unable to find utility "simctl", not a developer tool or in PATH

    解决方法:设置下command line tools 然后重启终端.解决。


    123.jpg

    The spec did not pass validation, due to 1 warning (but you can use --allow-warnings to ignore it).

    解决:pod lib lint --allow-warnings

    podsearch发现错误Unable to find a pod with name, author, summary, or description matching YXG_Helper

    在桌面上级目录下先执行:rm ~/Library/Caches/CocoaPods/search_index.json
    然后重新搜索

    使用cocopods管理第三方库 有警告:The SPIC-120 [Debug] target overrides the HEADER_SEARCH_PATHS build setting defined in `Pods/Target Support Files/Pods-SPIC-120/Pods-SPIC-120.debug.xcconfig'. This can lead to problems with the CocoaPods installation。并且当你导入头文件则报错

    解决:target ->Build Settings -> Search Paths-> Header Search Paths->靠右边双击 . 添加一行$(inherited)

    pod install报错:[!] The SPIC-120 [Debug] target overrides the OTHER_LDFLAGS build setting defined in Pods/Target Support Files/Pods-SPIC-120/Pods-SPIC-120.debug.xcconfig'. This can lead to problems with the CocoaPods installation - Use the$(inherited)` flag, or
    - Remove the build settings from the target.

    直接在 other link flags 后面修改为$(inherited) 重新pod install

    服务端返回的数据含有中文会出现如下乱码
    转换一次即可

    responseObject:{
        applayStatus = FAIL;
        error = "\U53c2\U6570\U4fe1\U606f\U4e0d\U5168";
        status = 0;
    }
    NSString *str = [responseObject[@"error"] stringByRemovingPercentEncoding];
    即:参数信息不全
    

    operator new[](unsigned long)", referenced from:
    libc++这个导入即可

    相关文章

      网友评论

          本文标题:错误日志汇总

          本文链接:https://www.haomeiwen.com/subject/ueuyrqtx.html