2017-09-22 1 views
-1

스위프트로 가져올 수 없습니다 : '모듈 스위프트 컴파일 3.1은 Swift 3.2에서 가져올 수 없습니다. 'AviasalesSDKTemplate이 Swift 3.2와 호환되지 않는다고 생각하며 cocoapods를 업데이트했지만 오류를 해결하지 못했습니다.AviasalesSDKTemplate는 내가 거기에 오류가 나는 그것을 통과되지 수</p> <p><a href="https://github.com/KosyanMedia/Aviasales-iOS-SDK" rel="nofollow noreferrer">https://github.com/KosyanMedia/Aviasales-iOS-SDK</a></p> <p>AviasalesSDKTemplate의 모바일 SDK의 새 버전을 다운로드 한 3.2

아이디어가 있으십니까? 코드에서

2017-09-23 18:59:25.481038-0400 AviasalesSDKTemplate[41438:401434] Could not successfully update network info during initialization. 
2017-09-23 18:59:25.507113-0400 AviasalesSDKTemplate[41438:401434] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /Users/nedbayne-powell/Library/Developer/CoreSimulator/Devices/085DA53F-227C-4D81-97A9-EBF11E1A621A/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles 
2017-09-23 18:59:25.507550-0400 AviasalesSDKTemplate[41438:401434] [MC] Reading from private effective user settings. 
2017-09-23 18:59:25.512063-0400 AviasalesSDKTemplate[41438:401434] [core] isAvailableForServiceType: for com.apple.social.twitter returning NO 
2017-09-23 18:59:25.512203-0400 AviasalesSDKTemplate[41438:401434] [core] isAvailableForServiceType: for com.apple.social.facebook returning NO 
2017-09-23 18:59:25.512307-0400 AviasalesSDKTemplate[41438:401434] [core] isAvailableForServiceType: for com.apple.social.sinaweibo returning NO 
2017-09-23 18:59:25.551071-0400 AviasalesSDKTemplate[41438:401896] [WC] -[WCSession onqueue_handleUpdateSessionState:]_block_invoke dropping as pairingIDs no longer match. pairingID (null), client pairingID: (null) 
2017-09-23 18:59:25.552819-0400 AviasalesSDKTemplate[41438:401896] [WC] WCSession is not paired 
2017-09-23 18:59:26.020166-0400 AviasalesSDKTemplate[41438:401978] Could not successfully update network info during initialization. 
2017-09-23 18:59:26.091983-0400 AviasalesSDKTemplate[41438:401434] [MC] Lazy loading NSBundle MobileCoreServices.framework 
2017-09-23 18:59:26.092827-0400 AviasalesSDKTemplate[41438:401434] [MC] Loaded MobileCoreServices.framework 
2017-09-23 18:59:26.283677-0400 AviasalesSDKTemplate[41438:401978] Could not successfully update network info during initialization. 
2017-09-23 18:59:26.427909-0400 AviasalesSDKTemplate[41438:401434] Could not successfully update network info during initialization. 
2017-09-23 18:59:26.455692-0400 AviasalesSDKTemplate[41438:401434] Could not successfully update network info during initialization. 
2017-09-23 18:59:26.458611-0400 AviasalesSDKTemplate[41438:401434] Could not successfully update network info during initialization. 
2017-09-23 18:59:26.463569-0400 AviasalesSDKTemplate[41438:401434] Could not successfully update network info during initialization. 
2017-09-23 18:59:26.468689-0400 AviasalesSDKTemplate[41438:401434] Could not successfully update network info during initialization. 
2017-09-23 18:59:26.562240-0400 AviasalesSDKTemplate[41438:401978] [BoringSSL] Function boringssl_context_get_peer_sct_list: line 1754 received sct extension length is less than sct data length 
2017-09-23 22:59:26 +0000 [Appodeal 2.1.4][error] Error while fetching ad queue for "Skippable Video" request: Error Domain=com.appodeal.error Code=195944099 "Got error while fetching ad items from sever" UserInfo={NSLocalizedDescription=Got error while fetching ad items from sever, NSUnderlyingError=0x60c000649cf0 {Error Domain=com.alamofire.error.serialization.response Code=-1016 "Request failed: unacceptable content-type: text/plain" UserInfo={NSLocalizedDescription=Request failed: unacceptable content-type: text/plain, NSErrorFailingURLKey=https://api.appodeal.com/get, com.alamofire.serialization.response.error.data=<20>, com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x60c000636280> { URL: https://api.appodeal.com/get } { status code: 200, headers { 
    "Cache-Control" = "max-age=0, private, must-revalidate"; 
    "Content-Encoding" = gzip; 
    "Content-Type" = "text/plain; charset=utf-8"; 
    Date = "Sat, 23 Sep 2017 22:59:26 GMT"; 
    Etag = "W/\"7215ee9c7d9dc229d2921a40e899ec5f\""; 
    Server = "cloudflare-nginx"; 
    Vary = Origin; 
    "cf-ray" = "3a311d499853184c-EWR"; 
    "x-backend-server" = "10.64.130.236:5000"; 
    "x-content-type-options" = nosniff; 
    "x-frame-options" = SAMEORIGIN; 
    "x-request-id" = "dbfcb694-d73e-4cf0-a736-d55f94514e56"; 
    "x-runtime" = "0.003548"; 
    "x-xss-protection" = "1; mode=block"; 
} }}}} 
2017-09-23 18:59:26.707385-0400 AviasalesSDKTemplate[41438:402000] 2017-09-23 22:59:26 +0000 [Appodeal 2.1.4][error] Error while fetching ad queue for "Skippable Video" request: Error Domain=com.appodeal.error Code=195944099 "Got error while fetching ad items from sever" UserInfo={NSLocalizedDescription=Got error while fetching ad items from sever, NSUnderlyingError=0x60c000649cf0 {Error Domain=com.alamofire.error.serialization.response Code=-1016 "Request failed: unacceptable content-type: text/plain" UserInfo={NSLocalizedDescription=Request failed: unacceptable content-type: text/plain, NSErrorFailingURLKey=https://api.appodeal.com/get, com.alamofire.serialization.response.error.data=<20>, com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x60c000636280> { URL: https://api.appodeal.com/get } { status code: 200, headers { 
    "Cache-Control" = "max-age=0, private, must-revalidate"; 
    "Content-Encoding" = gzip; 
    "Content-Type" = "text/plain; charset=utf-8"; 
    Date = "Sat, 23 Sep 2017 22:59:26 GMT"; 
    Etag = "W/\"7215ee9c7d9dc229d2921a40e899ec5 
2017-09-23 22:59:26 +0000 [Appodeal 2.1.4][error] Error while fetching ad queue for "Native Ad" request: Error Domain=com.appodeal.error Code=195944099 "Got error while fetching ad items from sever" UserInfo={NSLocalizedDescription=Got error while fetching ad items from sever, NSUnderlyingError=0x604000444da0 {Error Domain=com.alamofire.error.serialization.response Code=-1016 "Request failed: unacceptable content-type: text/plain" UserInfo={NSLocalizedDescription=Request failed: unacceptable content-type: text/plain, NSErrorFailingURLKey=https://api.appodeal.com/get, com.alamofire.serialization.response.error.data=<20>, com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x608000a21a40> { URL: https://api.appodeal.com/get } { status code: 200, headers { 
    "Cache-Control" = "max-age=0, private, must-revalidate"; 
    "Content-Encoding" = gzip; 
    "Content-Type" = "text/plain; charset=utf-8"; 
    Date = "Sat, 23 Sep 2017 22:59:26 GMT"; 
    Etag = "W/\"7215ee9c7d9dc229d2921a40e899ec5f\""; 
    Server = "cloudflare-nginx"; 
    Vary = Origin; 
    "cf-ray" = "3a311d499852184c-EWR"; 
    "x-backend-server" = "10.64.130.76:5000"; 
    "x-content-type-options" = nosniff; 
    "x-frame-options" = SAMEORIGIN; 
    "x-request-id" = "f5df517a-1d41-4632-9e8c-aa97d0b55b65"; 
    "x-runtime" = "0.004656"; 
    "x-xss-protection" = "1; mode=block"; 
} }}}} 
2017-09-23 18:59:26.717444-0400 AviasalesSDKTemplate[41438:402015] 2017-09-23 22:59:26 +0000 [Appodeal 2.1.4][error] Error while fetching ad queue for "Native Ad" request: Error Domain=com.appodeal.error Code=195944099 "Got error while fetching ad items from sever" UserInfo={NSLocalizedDescription=Got error while fetching ad items from sever, NSUnderlyingError=0x604000444da0 {Error Domain=com.alamofire.error.serialization.response Code=-1016 "Request failed: unacceptable content-type: text/plain" UserInfo={NSLocalizedDescription=Request failed: unacceptable content-type: text/plain, NSErrorFailingURLKey=https://api.appodeal.com/get, com.alamofire.serialization.response.error.data=<20>, com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x608000a21a40> { URL: https://api.appodeal.com/get } { status code: 200, headers { 
    "Cache-Control" = "max-age=0, private, must-revalidate"; 
    "Content-Encoding" = gzip; 
    "Content-Type" = "text/plain; charset=utf-8"; 
    Date = "Sat, 23 Sep 2017 22:59:26 GMT"; 
    Etag = "W/\"7215ee9c7d9dc229d2921a40e899ec5f\""; 

2017-09-23 22:59:26 +0000 [Appodeal 2.1.4][error] Error while fetching ad queue for "Native Ad Precache" request: Error Domain=com.appodeal.error Code=195944099 "Got error while fetching ad items from sever" UserInfo={NSLocalizedDescription=Got error while fetching ad items from sever, NSUnderlyingError=0x604000444da0 {Error Domain=com.alamofire.error.serialization.response Code=-1016 "Request failed: unacceptable content-type: text/plain" UserInfo={NSLocalizedDescription=Request failed: unacceptable content-type: text/plain, NSErrorFailingURLKey=https://api.appodeal.com/get, com.alamofire.serialization.response.error.data=<20>, com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x608000a21a40> { URL: https://api.appodeal.com/get } { status code: 200, headers { 
    "Cache-Control" = "max-age=0, private, must-revalidate"; 
    "Content-Encoding" = gzip; 
    "Content-Type" = "text/plain; charset=utf-8"; 
    Date = "Sat, 23 Sep 2017 22:59:26 GMT"; 
    Etag = "W/\"7215ee9c7d9dc229d2921a40e899ec5f\""; 
    Server = "cloudflare-nginx"; 
    Vary = Origin; 
    "cf-ray" = "3a311d499852184c-EWR"; 
    "x-backend-server" = "10.64.130.76:5000"; 
    "x-content-type-options" = nosniff; 
    "x-frame-options" = SAMEORIGIN; 
    "x-request-id" = "f5df517a-1d41-4632-9e8c-aa97d0b55b65"; 
    "x-runtime" = "0.004656"; 
    "x-xss-protection" = "1; mode=block"; 
} }}}} 
2017-09-23 18:59:26.718286-0400 AviasalesSDKTemplate[41438:402015] 2017-09-23 22:59:26 +0000 [Appodeal 2.1.4][error] Error while fetching ad queue for "Native Ad Precache" request: Error Domain=com.appodeal.error Code=195944099 "Got error while fetching ad items from sever" UserInfo={NSLocalizedDescription=Got error while fetching ad items from sever, NSUnderlyingError=0x604000444da0 {Error Domain=com.alamofire.error.serialization.response Code=-1016 "Request failed: unacceptable content-type: text/plain" UserInfo={NSLocalizedDescription=Request failed: unacceptable content-type: text/plain, NSErrorFailingURLKey=https://api.appodeal.com/get, com.alamofire.serialization.response.error.data=<20>, com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x608000a21a40> { URL: https://api.appodeal.com/get } { status code: 200, headers { 
    "Cache-Control" = "max-age=0, private, must-revalidate"; 
    "Content-Encoding" = gzip; 
    "Content-Type" = "text/plain; charset=utf-8"; 
    Date = "Sat, 23 Sep 2017 22:59:26 GMT"; 
    Etag = "W/\"7215ee9c7d9dc229d2921a40e899 
2017-09-23 22:59:27 +0000 [Appodeal 2.1.4][error] Error while fetching ad queue for "Interstitial Ad" request: Error Domain=com.appodeal.error Code=195944099 "Got error while fetching ad items from sever" UserInfo={NSLocalizedDescription=Got error while fetching ad items from sever, NSUnderlyingError=0x60800085ca40 {Error Domain=com.alamofire.error.serialization.response Code=-1016 "Request failed: unacceptable content-type: text/plain" UserInfo={NSLocalizedDescription=Request failed: unacceptable content-type: text/plain, NSErrorFailingURLKey=https://api.appodeal.com/get, com.alamofire.serialization.response.error.data=<20>, com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x60c000631460> { URL: https://api.appodeal.com/get } { status code: 200, headers { 
    "Cache-Control" = "max-age=0, private, must-revalidate"; 
    "Content-Encoding" = gzip; 
    "Content-Type" = "text/plain; charset=utf-8"; 
    Date = "Sat, 23 Sep 2017 22:59:26 GMT"; 
    Etag = "W/\"7215ee9c7d9dc229d2921a40e899ec5f\""; 
    Server = "cloudflare-nginx"; 
    Vary = Origin; 
    "cf-ray" = "3a311d499854184c-EWR"; 
    "x-backend-server" = "10.64.131.28:5000"; 
    "x-content-type-options" = nosniff; 
    "x-frame-options" = SAMEORIGIN; 
    "x-request-id" = "e2a3570a-f915-4991-9dd3-b2d3dc322a59"; 
    "x-runtime" = "0.003715"; 
    "x-xss-protection" = "1; mode=block"; 
} }}}} 
2017-09-23 18:59:27.278370-0400 AviasalesSDKTemplate[41438:402015] 2017-09-23 22:59:27 +0000 [Appodeal 2.1.4][error] Error while fetching ad queue for "Interstitial Ad" request: Error Domain=com.appodeal.error Code=195944099 "Got error while fetching ad items from sever" UserInfo={NSLocalizedDescription=Got error while fetching ad items from sever, NSUnderlyingError=0x60800085ca40 {Error Domain=com.alamofire.error.serialization.response Code=-1016 "Request failed: unacceptable content-type: text/plain" UserInfo={NSLocalizedDescription=Request failed: unacceptable content-type: text/plain, NSErrorFailingURLKey=https://api.appodeal.com/get, com.alamofire.serialization.response.error.data=<20>, com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x60c000631460> { URL: https://api.appodeal.com/get } { status code: 200, headers { 
    "Cache-Control" = "max-age=0, private, must-revalidate"; 
    "Content-Encoding" = gzip; 
    "Content-Type" = "text/plain; charset=utf-8"; 
    Date = "Sat, 23 Sep 2017 22:59:26 GMT"; 
    Etag = "W/\"7215ee9c7d9dc229d2921a40e899ec5 
2017-09-23 22:59:27 +0000 [Appodeal 2.1.4][error] Error while fetching ad queue for "Interstitial Ad Precache" request: Error Domain=com.appodeal.error Code=195944099 "Got error while fetching ad items from sever" UserInfo={NSLocalizedDescription=Got error while fetching ad items from sever, NSUnderlyingError=0x60800085ca40 {Error Domain=com.alamofire.error.serialization.response Code=-1016 "Request failed: unacceptable content-type: text/plain" UserInfo={NSLocalizedDescription=Request failed: unacceptable content-type: text/plain, NSErrorFailingURLKey=https://api.appodeal.com/get, com.alamofire.serialization.response.error.data=<20>, com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x60c000631460> { URL: https://api.appodeal.com/get } { status code: 200, headers { 
    "Cache-Control" = "max-age=0, private, must-revalidate"; 
    "Content-Encoding" = gzip; 
    "Content-Type" = "text/plain; charset=utf-8"; 
    Date = "Sat, 23 Sep 2017 22:59:26 GMT"; 
    Etag = "W/\"7215ee9c7d9dc229d2921a40e899ec5f\""; 
    Server = "cloudflare-nginx"; 
    Vary = Origin; 
    "cf-ray" = "3a311d499854184c-EWR"; 
    "x-backend-server" = "10.64.131.28:5000"; 
    "x-content-type-options" = nosniff; 
    "x-frame-options" = SAMEORIGIN; 
    "x-request-id" = "e2a3570a-f915-4991-9dd3-b2d3dc322a59"; 
    "x-runtime" = "0.003715"; 
    "x-xss-protection" = "1; mode=block"; 
} }}}} 
2017-09-23 18:59:27.279398-0400 AviasalesSDKTemplate[41438:402015] 2017-09-23 22:59:27 +0000 [Appodeal 2.1.4][error] Error while fetching ad queue for "Interstitial Ad Precache" request: Error Domain=com.appodeal.error Code=195944099 "Got error while fetching ad items from sever" UserInfo={NSLocalizedDescription=Got error while fetching ad items from sever, NSUnderlyingError=0x60800085ca40 {Error Domain=com.alamofire.error.serialization.response Code=-1016 "Request failed: unacceptable content-type: text/plain" UserInfo={NSLocalizedDescription=Request failed: unacceptable content-type: text/plain, NSErrorFailingURLKey=https://api.appodeal.com/get, com.alamofire.serialization.response.error.data=<20>, com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x60c000631460> { URL: https://api.appodeal.com/get } { status code: 200, headers { 
    "Cache-Control" = "max-age=0, private, must-revalidate"; 
    "Content-Encoding" = gzip; 
    "Content-Type" = "text/plain; charset=utf-8"; 
    Date = "Sat, 23 Sep 2017 22:59:26 GMT"; 
    Etag = "W/\"7215ee9c7d9dc229d2921a 
2017-09-23 18:59:29.472925-0400 AviasalesSDKTemplate[41438:401434] Could not successfully update network info during initialization. 
2017-09-23 18:59:29.493490-0400 AviasalesSDKTemplate[41438:402000] -[NSURL init] called; this results in an NSURL instance with an empty URL string. Please use one of the documented NSURL initialization methods instead (initWithString:, initFileURLWithPath:, etc.). This message shown only once. 
dyld: lazy symbol binding failed: Symbol not found: __T013SwiftProtobuf7MessagePAAEx10Foundation4DataV010serializedE0_AA12ExtensionMap_pSg10extensionsSb7partialAA21BinaryDecodingOptionsV7optionstKcfcfA0_ 
    Referenced from: /Users/nedbayne-powell/Library/Developer/CoreSimulator/Devices/085DA53F-227C-4D81-97A9-EBF11E1A621A/data/Containers/Bundle/Application/62DDB7FE-D82F-4A17-A9D8-9C434735B684/AviasalesSDKTemplate.app/Frameworks/HotellookSDK.framework/HotellookSDK 
    Expected in: /Users/nedbayne-powell/Library/Developer/CoreSimulator/Devices/085DA53F-227C-4D81-97A9-EBF11E1A621A/data/Containers/Bundle/Application/62DDB7FE-D82F-4A17-A9D8-9C434735B684/AviasalesSDKTemplate.app/Frameworks/SwiftProtobuf.framework/SwiftProtobuf 

dyld: Symbol not found: __T013SwiftProtobuf7MessagePAAEx10Foundation4DataV010serializedE0_AA12ExtensionMap_pSg10extensionsSb7partialAA21BinaryDecodingOptionsV7optionstKcfcfA0_ 
    Referenced from: /Users/nedbayne-powell/Library/Developer/CoreSimulator/Devices/085DA53F-227C-4D81-97A9-EBF11E1A621A/data/Containers/Bundle/Application/62DDB7FE-D82F-4A17-A9D8-9C434735B684/AviasalesSDKTemplate.app/Frameworks/HotellookSDK.framework/HotellookSDK 
    Expected in: /Users/nedbayne-powell/Library/Developer/CoreSimulator/Devices/085DA53F-227C-4D81-97A9-EBF11E1A621A/data/Containers/Bundle/Application/62DDB7FE-D82F-4A17-A9D8-9C434735B684/AviasalesSDKTemplate.app/Frameworks/SwiftProtobuf.framework/SwiftProtobuf 

(lldb) 

이에 오류 포인트 : 내 영어에 대한

  (queue ?? DispatchQueue.main).async { completionHandler(dataResponse) } 
+0

라이브러리 업데이트를 요청 하시겠습니까? – Chisko

+0

감사합니다. 나는 그들에게 이메일을 보냈습니다. –

+0

그들과 대화를 나누었습니다. :) –

답변

0

죄송합니다

다음은 오류가 아래의 버전으로 포드를 업데이트 한 후 함께 제공 메시지입니다. 콘솔에서 "포드 업데이트"명령을 통해 podfile 업데이트에 https://github.com/KosyanMedia/Hotellook-iOS-SDK-Core

이동이 라인

use_frameworks! 
pod 'HotellookSDK', :git => 'https://github.com/KosyanMedia/Hotellook-iOS-SDK-Core.git' 
pod 'SwiftProtobuf', :git => 'https://github.com/apple/swift-protobuf.git', :tag => '0.9.902'

그리고 업데이트 포드.

스위프트 언어 버전 3.2를 사용하십시오.

+0

고마워요. –

+0

아직 작동하지 않습니다. 시도했지만 오류가 발생했습니다. 위의 메시지를 게시했습니다. –

+0

귀하의 Podfile에서 나는이 버전을 사용해 보았습니다. pod 'HotellookSDK', : git => 'https://github.com/KosyanMedia/Hotellook-iOS-SDK-Core.git', : tag => ' v1.0.2 ' pod'SwiftProtobuf ', : git =>'https://github.com/apple/swift-protobuf.git ', : tag =>'0.9.905 ' –

관련 문제