-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UPnP Incompatibility with iOS 17.x+ #19246
Comments
Same issue, it seems: |
May be try to update the miniupnp repo, there might be new commits there |
Maybe will help #19246, but no idea really.
A lot of new commits actually. Can someone test the PR? #19249 |
Maybe will help #19246, but no idea really. Windows buildfix UWP buildfix miniupnpc path fixes libretro buildfix attempt, android.mk
Here is the iOS IPA artifact (for testing) generated after that PR https://github.com/hrydgard/ppsspp/actions/runs/9375693751/artifacts/1568951264 |
No luck! UPnP seems to work on my desktop but is still giving me an error on the test build. Something else that was mentioned in forum threads discussing the issue was the UPnP timeout, which might be a factor here. Worth mentioning is that the app does request permission to view devices on the local network. |
Did you gave the permission? because UPnP use SDDP (Simple Device Discovery Protocol) through UDP port 1900 to detect UPnP-compatible devices as i remembered. |
May be similar issue to this https://superuser.com/questions/1512639/upnp-server-behind-firewall-wont-show-up-in-ios-apps
Something related to TTL ? not sure how to change that programmatically (may be using
But it's old issue from 2019, so not sure. |
Yes, I gave PPSSPP access to the local network. There's one or two posts I've seen of people able to use multiplayer, and a guide from about 2 or 3 months ago on how to connect to the soccom.cc servers using a modified IPA and specific add-on; |
Is that version still have working UPnP on your test? because it's only modified to support infrastructure i think, and the add-on you mean is the infra_plugin, right? |
Btw the PR that expose UPnP timeout in networking settings is here #18867 |
This might also be related (Multicast Networking entitlement issue?) https://forums.developer.apple.com/forums/thread/661606
May be we need to add the
But the Info.plist file inside the IPA seems to have a different content than the one in source code, was it auto-generated? |
@yzsnes try this IPA. i only modified the Info.plist inside the IPA from the artifact above https://www.dropbox.com/scl/fi/lj97osa8ubq4zc8qcdukb/PPSSPP-iOS.zip?rlkey=jwr9j5x2wgnfy8bwvgfvx1zbn&st=ormahmcl&dl=0 PS: because i edited the file on Windows, the Info.plist attributes became different than it was, so not sure whether the new attribute will be accepted by iOS or not. Edit: oops i put the |
Okay, here is iOS artifacts with iOS artifact: https://github.com/ANR2MERefork/ppsspp/actions/runs/9378116947/artifacts/1569463815 |
Entitlements should bundle into code sign, not in Info.plist, see also: https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_networking_multicast?changes=l__9&language=objc |
Oh! I'll make sure to add that for the next update. |
Oh right, I have to ask Apple for the entitlement too. Will do, hopefully they'll accept. |
Is this mean only PPSSPP Gold users will be able to detects UPnP properly? |
I've put in requests for both the free version and the gold version (both App Store versions). As for sideloaded builds, I don't know how to solve that. |
...No |
You mean as long the App ID is the same one with the one having the entitlement provisioned it will also works when sideloaded? |
Yes |
|
Hm, we don't use the same app ID, but could change the sideload versions' ID though. OK, I'll move them together and make more similar. |
The Edit: probably not, since adding it manually could cause signing issue according to this https://stackoverflow.com/questions/76591665/is-it-enough-to-add-entitlements-manually
|
Read this: #19246 (comment) |
I got approval for both the App Store versions to use multicast. So, hopefully it'll start working after the next update, if it hasn't already? I'm not sure what else I need to do. |
Game or games this happens in
None
What area of the game / PPSSPP
Attempting to enable UPnP under networking settings will give a "Unable to find UPnP device" error regardless if the router has UPnP enabled or not.
What should happen
The application should be able to detect the router as a UPnP device and allow for online play
Logs
No response
Platform
iOS
Mobile device model or graphics card (GPU)
iPhone 15
PPSSPP version affected
v1.17.1-491-g9cdd97c13b
Last working version
No response
Graphics backend (3D API)
Vulkan
Checklist
The text was updated successfully, but these errors were encountered: