Start a new topic

xcode 8 GM and swift 3

after updating the Xcode to Xcode 8 GM and swift 3 the app won't working and the many errors appearing to me please need support 




Rami,


Please answer following questions:

  1. What is the version of Kinvey SDK?
  2. Can you send me few more errors that you are seeing?


I will convey them to the engineering and get back to you.


Thanks,

Pranav

Kinvey Support

Pranav,


i am using KinveyKit-1.40.9as SDK 


kindly find the below Screenshot for the red error i got .




Thanks, 


1 person likes this
Rami,

Can you try the following Project setting:
Set the “Swift Compiler - Version => Use Legacy Swift Language Version” setting to “Yes” and let me know if you are able to compile and run with that.

Thanks,
Pranav
Kinvey Support

 

Pranav, 


i have already try this but still the same 


Thanks ,

I changed to some information I found on the internet the NSError! to Error?

It worked for some... 

check following post 

stackoverflow.com


but still I get some errors with the others, where I use [AnyObject!]

Peter, 


thanks i have try it and still have some issue , i think the SDK is the issue 

i have fix this issue but other issue and errors appearing to me please your advice ?

Rami,

  1. Were there any warnings you got while migrating to Swift 3?
  2. Also, did you migrate all the dependent libraries to Swift 3?

Thanks,
Pranav
Kinvey Support

 

Pranav , 


all the issue know fixed by "Swift Compiler - Version => Use Legacy Swift Language Version” setting to “Yes”" with some other fixing to use the swift 2.3 instead of swift 3,  but the issue now the app not working ever with connection is not working with the DB  when i use iOS 10 ?


but when i use iOS 9 every thing is working fine 


SDK  = KinveyKit-1.41.1.



this the console record when using iOS 10 




objc[5013]: Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x11450a910) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x114334210). One of the two will be used. Which one is undefined.

2016-09-28 14:09:57.475888 Chbe[5013:244251] subsystem: com.apple.UIKit, category: HIDEventFiltered, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 1, privacy_setting: 2, enable_private_data: 0

2016-09-28 14:09:57.483786 Chbe[5013:244251] subsystem: com.apple.UIKit, category: HIDEventIncoming, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 1, privacy_setting: 2, enable_private_data: 0

2016-09-28 14:09:57.537223 Chbe[5013:244248] subsystem: com.apple.BaseBoard, category: MachPort, enable_level: 1, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0, enable_private_data: 0

2016-09-28 14:09:57.633259 Chbe[5013:244152] subsystem: com.apple.UIKit, category: StatusBar, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 1, privacy_setting: 2, enable_private_data: 0

2016-09-28 14:09:57.933479 Chbe[5013:244152] subsystem: com.apple.libsqlite3, category: logging, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 1, privacy_setting: 2, enable_private_data: 0

2016-09-28 14:09:57.944125 Chbe[5013:244152] subsystem: com.apple.SystemConfiguration, category: SCNetworkReachability, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 2, enable_private_data: 0

2016-09-28 14:09:57.948179 Chbe[5013:244152] subsystem: com.apple.network, category: , enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 2, enable_private_data: 0

2016-09-28 14:09:57.948493 Chbe[5013:244152] [] nw_resolver_create_dns_service_on_queue Starting host resolution baas.kinvey.com:0, flags 0x4000d000

2016-09-28 14:09:57.949190 Chbe[5013:244259] [] nw_resolver_host_resolve_callback flags=0x2 ifindex=0 error=NoSuchRecord(-65554) hostname=baas.kinvey.com. addr=::.0 ttl=60

2016-09-28 14:09:57.949704 Chbe[5013:244259] [] nw_resolver_start_query_timer Starting 1s query timer to receive all address families for baas.kinvey.com:0

2016-09-28 14:09:58.251729 Chbe[5013:244152] subsystem: com.apple.BackBoardServices.fence, category: App, enable_level: 1, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0, enable_private_data: 0

2016-09-28 14:09:58.979269 Chbe[5013:244250] [] __nw_resolver_start_query_timer_block_invoke Query fired: did not receive both families in time for baas.kinvey.com:0

2016-09-28 14:09:58.979606 Chbe[5013:244250] [] nw_resolver_cancel_query_timer Cancelling query timer for baas.kinvey.com

2016-09-28 14:10:01.297607 Chbe[5013:244259] [] nw_resolver_host_resolve_callback flags=0x3 ifindex=0 error=NoError(0) hostname=aw-kvy-mt-us1-ext-lb.kinvey.com. addr=52.70.173.60:0 ttl=75

2016-09-28 14:10:01.298440 Chbe[5013:244259] [] nw_resolver_host_resolve_callback flags=0x2 ifindex=0 error=NoError(0) hostname=aw-kvy-mt-us1-ext-lb.kinvey.com. addr=52.1.168.159:0 ttl=75

2016-09-28 14:10:01.299223 Chbe[5013:244259] [] sa_dst_compare_statistics prefering 1 slightly, dst1 min rtt 171.656250 < dst2 min rtt 213.000000, leeway 100 small leeway 10

2016-09-28 14:10:01.299599 Chbe[5013:244259] [] sa_dst_compare_internal 52.1.168.159:0@0 > 52.70.173.60:0@0

 


Login or Signup to post a comment