diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8fd4779c..e34a6e65 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ concurrency: jobs: build: name: Build using xcodebuild command - runs-on: macos-latest + runs-on: xcode-27 env: scheme: OpenParsec archive_path: archive @@ -28,7 +28,7 @@ jobs: steps: - uses: maxim-lobanov/setup-xcode@v1 with: - xcode-version: "26.2" + xcode-version: "27.1" - name: Checkout uses: actions/checkout@v3 with: diff --git a/OpenParsec.xcodeproj/project.pbxproj b/OpenParsec.xcodeproj/project.pbxproj index 5526ba57..b47d455e 100644 --- a/OpenParsec.xcodeproj/project.pbxproj +++ b/OpenParsec.xcodeproj/project.pbxproj @@ -384,7 +384,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; @@ -440,7 +440,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; SDKROOT = iphoneos; @@ -464,7 +464,7 @@ ENABLE_PREVIEWS = YES; "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64; INFOPLIST_FILE = OpenParsec/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 14.0; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -495,7 +495,7 @@ ENABLE_PREVIEWS = YES; "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64; INFOPLIST_FILE = OpenParsec/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 14.0; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", diff --git a/OpenParsec/MainView.swift b/OpenParsec/MainView.swift index fff370fc..9367611f 100644 --- a/OpenParsec/MainView.swift +++ b/OpenParsec/MainView.swift @@ -279,7 +279,11 @@ struct MainView: View { } } .padding() + .frame(maxWidth: .infinity) } + .frame(maxWidth: .infinity, maxHeight: .infinity) + .background(Color("BackgroundGray")) + .contentShape(Rectangle()) .zIndex(page == .hosts ? 0 : -1) .disabled(page != .hosts) .opacity(page == .hosts ? 1 : 0) diff --git a/README.md b/README.md index 31d90eed..91852cbc 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ OpenParsec is a simple, open-source Parsec client for iOS/iPadOS written in Swif This project is still a major WIP, so apologies for the currently lackluster documentation. I'm also very new to both Swift and SwiftUI so I'm sure there are many places for improvement. -Before building, make sure you have the Parsec SDK framework symlinked or copied to the `Frameworks` folder. Builds were tested on Xcode Version 12.5. +Before building, make sure you have the Parsec SDK framework symlinked or copied to the `Frameworks` folder. Use Xcode 27.1 or later to build for iPhone Duo: older SDKs run the app in a smaller compatibility window on its inner display. The GitHub Actions build uses Xcode 27.1. After building, install the new IPA to get the full-screen layout; an already installed IPA will still use the SDK it was built with. ## Downloads @@ -30,4 +30,4 @@ When streaming, press any trigger button in your controller and parsec will reco ## Lag / Low Bitrate Issue If you encounter lags from nowhere or your bitrate hardly goes over 10 Mbps, download Steam Link and do a network test. If you see constant lag spike in the graph, then it's a problem with Apple and there's little we can do to solve this problem. See [here](https://github.com/moonlight-stream/moonlight-ios/issues/627) for more disscussion. -If you can't change your wireless router's channel to 149 like me, my personal experience is that you can try to power off the device you are using to stream as well as any nearby Apple devices, especially Mac, then only power on the device you are using to stream and do the aforementioned network test again. You can turn on other devices if the lag spike is gone and it may sustain for couple hours or days. \ No newline at end of file +If you can't change your wireless router's channel to 149 like me, my personal experience is that you can try to power off the device you are using to stream as well as any nearby Apple devices, especially Mac, then only power on the device you are using to stream and do the aforementioned network test again. You can turn on other devices if the lag spike is gone and it may sustain for couple hours or days.