Cloning into '/var/folders/2q/kf6k0z916s3gkzqnwxgbwty00000gn/T/d20201027-2004-1khewp0'...
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
XCode 10,OC&Swift混编项目。导入脚本生成的两个framework,真机上编译通过,用模拟器编译报错。形如:
'LOGClient' is unavailable: cannot find Swift declaration for this class
'LogGroup' is unavailable: cannot find Swift declaration for this class
等。
2018-06-14 10:33:00.934198+0800 AliYunLogsTest[22758:680818] Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start with array or object and option to allow fragments not set." UserInfo={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set.}: file /BuildRoot/Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-900.0.74.1/src/swift/stdlib/public/core/ErrorType.swift, line 181
dyld: Symbol not found: __T0BOWV
Referenced from: /Users/apple10/Library/Developer/CoreSimulator/Devices/9E85D055-4FDB-4DEE-AE35-75396B3ACE4C/data/Containers/Bundle/Application/CF6C3F15-CA79-4AEB-8FBC-20BE4FBC2C8E/GameDemo.app/Frameworks/AliyunLOGiOS.framework/AliyunLOGiOS
Expected in: /Users/apple10/Library/Developer/CoreSimulator/Devices/9E85D055-4FDB-4DEE-AE35-75396B3ACE4C/data/Containers/Bundle/Application/CF6C3F15-CA79-4AEB-8FBC-20BE4FBC2C8E/GameDemo.app/Frameworks/libswiftCore.dylib
in /Users/apple10/Library/Developer/CoreSimulator/Devices/9E85D055-4FDB-4DEE-AE35-75396B3ACE4C/data/Containers/Bundle/Application/CF6C3F15-CA79-4AEB-8FBC-20BE4FBC2C8E/GameDemo.app/Frameworks/AliyunLOGiOS.framework/AliyunLOGiOS
2022-06-08 14:53:55.447649+0800xxx[10434:6860520] -[__NSDictionaryI lengthOfBytesUsingEncoding:]: unrecognized selector sent to instance 0x60000067ad00
error = Optional(Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “****-hangzhou.sls.aliyuncs.com” which could put your confidential information at risk." UserInfo={NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x6000029d2760>, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9843, NSErrorPeerCertificateChainKey=(
"<cert(0x7f92c3055a00) s: .log.aliyuncs.com i: GlobalSign Organization Validation CA - SHA256 - G2>",
"<cert(0x7f92c2854000) s: GlobalSign Organization Validation CA - SHA256 - G2 i: GlobalSign Root CA>"
), NSUnderlyingError=0x6000015b42a0 {Error Domain=kCFErrorDomainCFNetwork Code=-1202 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x6000029d2760>, _kCFNetwork36
36
3D
CFStreamSSLErrorOriginalValue=-9843, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9843, kCFStreamPropertySSLPeerCertificates=(
"<cert(0x7f92c3055a00) s: .log.aliyuncs.com i: GlobalSign Organization Validation CA - SHA256 - G2>",
"<cert(0x7f92c2854000) s: GlobalSign Organization Validation CA - SHA256 - G2 i: GlobalSign Root CA>"
)}}, NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “-hangzhou.sls.aliyuncs.com” which could put your confidential information at risk., NSErrorFailingURLKey=https://-hangzhou.sls.aliyuncs.com/logstores//shards/lb, NSErrorFailingURLStringKey=https://-hangzhou.sls.aliyuncs.com/logstores/*/shards/lb, NSErrorClientCertificateStateKey=0})