J'ai téléchargé la nouvelle version du SDK mobile AviasalesSDKTemplateAviasalesSDKTemplate ne peut pas être importé avec Swift 3.2
https://github.com/KosyanMedia/Aviasales-iOS-SDK
Il y a une erreur et je ne peux pas passer ce: « module compilé avec Swift 3.1 ne peut pas être importé dans Swift 3.2 'Je ne pense pas que le AviasalesSDKTemplate soit compatible avec Swift 3.2 et j'ai mis à jour les cocoapods mais cela n'a pas permis d'effacer l'erreur.
Des idées?
Voici le message d'erreur, il arrive avec après la mise à jour des gousses à la version ci-dessous:
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)
Dans le code des points d'erreur à ceci:
(queue ?? DispatchQueue.main).async { completionHandler(dataResponse) }
Demandez-leur de mettre à jour la bibliothèque, peut-être? – Chisko
Merci, je leur ai envoyé un email à ce sujet. –
Je leur ai parlé et ça marche maintenant. :) –