I just downloaded the latest iOS SDK and am attempting to work with it for the first time (I've previously been working with the Windows C++ SDK and native Android SDK successfully.
The first issue I've run into is that the code doesn't seem to compile. Building the "PlayFab ObjC Test" project results in a bunch of compile errors like this:
Objective_C_SDK/PlayFabSDK/PlayFabClientDataModels.h:3167:46: error: interface type cannot be statically allocated@property GetPlayerCombinedInfoRequestParams InfoRequestParameters
Resulting from a bunch of properties defined as returning non-pointer instances of NSObject derived types. I bisected the problem in the git repo to this commit:
https://github.com/PlayFab/Objective_C_SDK/commit/9ad0a718c46434a3756bbfc7044daaf855edf51a
So it seems it's been broken for almost 2 years.
If I fix the errors (by changing all the affected properties to return pointer types) then I'm able to build and run my application. However any login request I try to make through the Objective-C API never returns any result. After hanging for a minute I'll see messages like this in the output Window:
2018-06-05 19:22:20.220427-0700 MyAppName[296:188717] [BoringSSL] Function nw_protocol_boringssl_input_finished: line 1386 Peer disconnected during the middle of a handshake. Sending errSSLFatalAlert(-9802) alert
2018-06-05 19:22:20.233022-0700 MyAppName[296:188717] TIC TCP Conn Failed [1:0x1070cb520]: 3:-9802 Err(-9802)
2018-06-05 19:22:20.235665-0700 MyAppName[296:188717] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)
2018-06-05 19:22:20.236047-0700 MyAppName[296:188717] Task <0EF03B86-7009-41AA-9257-78EB243C3E39>.<0> HTTP load failed (error code: -1200 [3:-9802])
2018-06-05 19:22:20.241026-0700 MyAppName[296:188807] NSURLConnection finished with error - code -1200
So it seems like this SDK is not in very good shape, are there plans to release a new version anytime soon?