question

Chenkai Liu avatar image
Chenkai Liu asked

How to integrate PlayFab Party SDK with new iOS Project,How to integrate PlayFab Party to new iOS Project

I am trying to integrate PlayFab Party SDK into my new iOS project and the instructions are extremely sparse and out of date.

Things I have tried:

1. Follow instructions here: https://github.com/PlayFab/PlayFabParty

Instruction literally just says:

The compiled PlayFabParty library binaries are attached as assets to releases. Please download, unzip and copy to a corresponding folder:

iOS: /iOS/bin/Release 
Android: /android/bin 

Is this relative to project root? What other configuration is needed? When I follow the exact instructions above by creating a directory '/iOS/bin/Release' relative to my root project and add these libraries to 'Build Phases'. When I try to import the framework, I get tons of build failures:

'Party.h' file not found with <angled> include; use "quotes" instead
'PartyImpl.h' file not found with <angled> include; use "quotes" instead 

And tons of other syntax errors

2. Follow instructions here: https://docs.microsoft.com/en-us/gaming/playfab/features/multiplayer/networking/ios-specific-requirements

Instructions says: You'll need to include the following header files from the [PlayFab Party distribution repository] (https://github.com/PlayFab/PlayFabParty/releases).

LIB Files

Party.a

libcrypto.a

libssl.a

I am really confused what this means. The 3 files above is NOT included in the release link. The only files inside of the release assets 'PlayFabParty.framework-for-iOS-armv7-arm64-no-bitcode-Release.zip' are: libplayfabxplatcppsdk.a PlayFabParty.framework.dSYM PlayFabParty.framework Why it asking me to add lib files that is not provided.

Instructions also mention "Please take a look at the project file organization for the Swithc Sample for more info." Where is the 'Swithc' sample app? It doesn't exist in Playfab Party repo. When I tried to include the .a and .framework above in my project and try it in my code, I get the same syntax errors as above.

At this point, I am totally stuck and really disappointed by the super hard to follow and inaccurate integration instructions. Please add step by step instructions on how to integrate PlayFab SDK and PlayFab Party SDK with a brand new XCode project.

,

I am trying to integrate PlayFab Party SDK into my new iOS project and the instructions are extremely sparse and out of date.

Things I have tried:

1. Follow instructions here: https://github.com/PlayFab/PlayFabParty

Instruction literally just says:

The compiled PlayFabParty library binaries are attached as assets to releases. Please download, unzip and copy to a corresponding folder:

iOS: /iOS/bin/Release
Android: /android/bin

Is this relative to project root? What other configuration is needed? When I follow the exact instructions above by creating a directory '/iOS/bin/Release' relative to my root project and add these libraries to 'Build Phases'. When I try to import the framework, I get tons of build failures:

'Party.h' file not found with <angled> include; use "quotes" instead

'PartyImpl.h' file not found with <angled> include; use "quotes" instead

And tons of other syntax errors

2. Follow instructions here: https://docs.microsoft.com/en-us/gaming/playfab/features/multiplayer/networking/ios-specific-requirements

Instructions says:

You'll need to include the following header files from the [PlayFab Party distribution repository] (https://github.com/PlayFab/PlayFabParty/releases).

LIB Files

  1. Party.a
  2. libcrypto.a
  3. libssl.a

I am really confused what this means. The 3 files above is NOT included in the release link. The only files inside of the release assets 'PlayFabParty.framework-for-iOS-armv7-arm64-no-bitcode-Release.zip' are:

libplayfabxplatcppsdk.a

PlayFabParty.framework.dSYM

PlayFabParty.framework

Why it asking me to add lib files that is not provided.

Instructions also mention

"Please take a look at the project file organization for the Swithc Sample for more info."

Where is the 'Swithc' sample app? It doesn't exist in Playfab Party repo.

When I tried to include the .a and .framework above in my project and try it in my code, I get the same syntax errors as above.

At this point, I am totally stuck and really disappointed by the super hard to follow and inaccurate integration instructions. Please add step by step instructions on how to integrate PlayFab SDK and PlayFab Party SDK with a brand new XCode project.

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Seth Du avatar image Seth Du ♦ commented ·

Thank you for your feedback. We will dig into it and discuss with the corresponding team about this issue. You will be informed if there are any updates.

0 Likes 0 ·

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.