XCode各類問題

2018.07.10html

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

 2.2018.07.29  海康威視視頻監控從新集成問題git

Undefined symbols for architecture arm64:github

  "_SSL_CTX_set_alpn_select_cb", referenced from:sql

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

  "_SSL_set_alpn_protos", referenced from:app

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

  "_SSL_CTX_set_alpn_protos", referenced from:spa

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

  "_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

 

 

 

個人公衆號:

相關文章
相關標籤/搜索