zoukankan      html  css  js  c++  java
  • XCode各种问题

    2018.07.10

    1.clang: warning: libstdc++ is deprecated; move to libc++ [-Wdeprecated]

     2.2018.07.29  海康威视视频监控重新集成问题

    Undefined symbols for architecture arm64:

      "_SSL_CTX_set_alpn_select_cb", referenced from:

          NetSDK::CSSLTrans::LoadSSLLib(int, unsigned int) in libHCCore.a(SSLTrans.o)

      "_SSL_set_alpn_protos", referenced from:

          NetSDK::CSSLTrans::LoadSSLLib(int, unsigned int) in libHCCore.a(SSLTrans.o)

      "_SSL_CTX_set_alpn_protos", referenced from:

          NetSDK::CSSLTrans::LoadSSLLib(int, unsigned int) in libHCCore.a(SSLTrans.o)

      "_SSL_get0_alpn_selected", referenced from:

          NetSDK::CSSLTrans::LoadSSLLib(int, unsigned int) in libHCCore.a(SSLTrans.o)

    ld: symbol(s) not found for architecture arm64

    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    3.2018.07.29

    libz.1.2.5.tbd是否是libz.tbd的升级包?

    4.2018.07.29

    Undefined symbols for architecture armv7: "_BZ2_bzDecompressInit",
    referenced from: _matroska_decode_buffer in libavformat.a(matroskadec.o) "_iconv",
    referenced from: _avcodec_decode_subtitle2 in libavcodec.a(utils.o) "_BZ2_bzDecompress",
    referenced from: _matroska_decode_buffer in libavformat.a(matroskadec.o) "_BZ2_bzDecompressEnd",
    referenced from: _matroska_decode_buffer in libavformat.a(matroskadec.o) "_iconv_open",
    referenced from: _avcodec_open2 in libavcodec.a(utils.o) _avcodec_decode_subtitle2 in libavcodec.a(utils.o) "_iconv_close",
    referenced from: _avcodec_open2 in libavcodec.a(utils.o) _avcodec_decode_subtitle2 in libavcodec.a(utils.o)
    ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)
    在Targets -> General -->Linked Frameworks and Libraries 中,添加 libbz2.dylib,libiconv.dylib两个文件
     5.2018.08.08
    ERROR ITMS-90475: "Invalid Bundle. Your app supports Multitasking on iPad, so you must include the UILaunchStoryboardName key in your bundle, 'com.tongyan.subwaytutelage.nc’. Learn more (https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP40009252-SW40)."
    6. (20180815)symbols for architecture arm64:

    ndefined symbols for architecture arm64:

      "_g_pController", referenced from:

          ____Z21fRealDataCallBack_V30ijPhjPv_block_invoke in Preview.o

          stopPreview(int) in Preview.o

    ld: symbol(s) not found for architecture arm64

    clang: error: linker command failed with exit code 1 (use -v to see invocation)

     

    7.Right operand to ? is void, but left operand is of type 'int' (20180816)

    #define bg_completeBlock(obj) !complete?:complete(obj);   这种写法我也是醉了

    代码来源于:https://github.com/huangzhibiao/BGFMDB 

     8.20180817  No matching function for call to 'sqlite3_column_count'

     

       

    将Objective-C++改成 Accroding to file type

     9.20180821 Cannot initialize a parameter of type 'ResultBlock' (aka 'void (^)(BOOL, __strong id)') with an rvalue of type 'void (^)(int, __strong id)'

     在.mm文件下会报这个错误

    10.20180823 Expected a type

    少了个import 

    #import <CoreLocation/CoreLocation.h>

    11.20190108

    ld: library not found for -lIQKeyboardManager

     关闭Xcode,在控制台打开到工程目录,用pod install 命令重新安装,成功后再打开Xcode编译项目,注意自学查看install日志。

    12.20190628

    1.数据线问题(重新插拔)

    2.设置 --> 通用 --> 重置 --> 重置位置和隐私

    3.重启xcode

     

     

     

     

  • 相关阅读:
    java中native的用法
    用uWSGI和Nginx部署Flask项目
    elasticsearch之使用Python批量写入数据
    mysql 远程访问
    Chrome扩展及应用开发
    jQuery ajax
    Chrome扩展及应用开发-储存数据
    Chrome扩展及应用开发-扩展页面间的通信
    Python3 将本地时间转换成指定时区时间
    python如何编译py文件生成pyc、pyo、pyd以及如何和C语言结合使用
  • 原文地址:https://www.cnblogs.com/royi123/p/9288818.html
Copyright © 2011-2022 走看看