question

nyktotani avatar image
nyktotani asked

How to use Multiplayer C++ SDK for iOS?

I tried linking Multiplayer C++ SDK for iOS, but got an error.

 dyld[54380]: Library not loaded: '@rpath/HttpClient.framework/HttpClient'

What is HttpClient.framework and how can I get it? If any install guide for iOS C++ SDK, please tell me that.


STEP

  1. Create new empty iOS app project.

  2. Download Multiplayer SDK 1.4.3.

  3. Drag drop PlayFabMultiplayerFramework_iOS.framework to Xcode.

  4. Run on iPhone device.

  5. Crash before launch.

Full error message

 dyld[54380]: Library not loaded: '@rpath/HttpClient.framework/HttpClient'
   Referenced from: '/private/var/containers/Bundle/Application/E7B111CA-3CFF-43ED-98CE-E7EDE53FD8D4/hoge.app/Frameworks/PlayFabMultiplayerFramework_iOS.framework/PlayFabMultiplayerFramework_iOS'
   Reason: tried: '/private/var/containers/Bundle/Application/E7B111CA-3CFF-43ED-98CE-E7EDE53FD8D4/hoge.app/Frameworks/HttpClient.framework/HttpClient' (no such file), '/private/var/containers/Bundle/Application/E7B111CA-3CFF-43ED-98CE-E7EDE53FD8D4/hoge.app/Frameworks/PlayFabMultiplayerFramework_iOS.framework/Frameworks/HttpClient.framework/HttpClient' (no such file), '/private/var/containers/Bundle/Application/E7B111CA-3CFF-43ED-98CE-E7EDE53FD8D4/hoge.app/Frameworks/HttpClient.framework/HttpClient' (no such file), '/private/var/containers/Bundle/Application/E7B111CA-3CFF-43ED-98CE-E7EDE53FD8D4/hoge.app/Frameworks/HttpClient.framework/HttpClient' (no such file), '/System/Library/Frameworks/HttpClient.framework/HttpClient' (no such file)
sdksmultiplayer
3 comments
10 |1200

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

Xiao Zha avatar image Xiao Zha commented ·

May I ask which version of party sdk you are using, what device it is running on, whether it is running on an emulator or a real device. And how you reference the SDK and call SDK methods. If possible, please provide a sample so that we can help you solve the problem.

0 Likes 0 ·
nyktotani avatar image nyktotani Xiao Zha commented ·

Thank you for asking.

  • I dont use Party SDK, just only Multiplayer SDK

  • I run on real iPhone device (iOS 15.6)

  • I dont call any SDK methods, just link framework and run on device then crash.

This is sample project.

https://github.com/ntotani/pf-multiplayer-sample

0 Likes 0 ·
Xiao Zha avatar image Xiao Zha nyktotani commented ·

We've run your sample on real device without any code changes, but couldn't reproduce your issue, it worked fine in the test.

1 Like 1 ·

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.