Solution to the problem that all playcover software cannot run under MacOS Sonoma 14.1 Beta 1

Due to the playtools component built into playcover, error issues such as null pointer exceptions will occur under the MacOS Sonoma14.1 beta version, causing the Mac-Catalyst application to crash.

There are many solutions, this tutorial explains the fastest way:

First go to the following link (as of writing the tutorial, the author of the playtools component has released a beta version update)

https://github.com/Ryu-ga/PlayTools/tree/Sonoma14_1b

If this link loads too slowly, you can download the version I uploaded:

csdn download link (free!! If csdn adjusts to charge, remember to kick me):

​​​​​​​​​​​​​​https://download.csdn.net/download/Androidandios/88409483

Download the latest playtools framework (the default download location is the download folder, please do not change it)

After downloading, unzip:

Open the terminal and run the following commands in sequence: (It is normal that there is no prompt after the command is successfully run)

rm -rf ~/Library/Frameworks/PlayTools.framework
rm -rf /Applications/PlayCover.app/Contents/Frameworks/PlayTools.framework

The above command will remove all playtools components on the local machine to prepare for the next operation.

then run

cp -R ~/Library/Developer/Xcode/DerivedData/[Some path]/Build/Products/Debug-maccatalyst/PlayTools.framework /Applications/PlayCover.app/Contents/Frameworks/PlayTools.framework

or:

cp -R ~/Downloads/PlayTools.framework /Applications/PlayCover.app/Contents/Frameworks/PlayTools.framework

 If there is a permission problem, you can copy the decompressed file to 

/Applications/PlayCover.app/Contents/Frameworks/

Just manually replace the files inside.

After running, the playtools framework of playcover has been replaced with the new version.

Then run the following commands in the terminal to grant permissions to play cover and sign play cover

sudo xattr -r -d com.apple.quarantine /Applications/PlayCover.app

codesign --force --deep --sign - /Applications/PlayCover.app

If an error occurs, indicating insufficient permissions, please close SIP.

After the signature is successful, restart playcover and remove the playtools that requires the use of software, and then re-inject the playtools component.

Then run the software you need to run at the default resolution and open it once before you can adjust the resolution you want, otherwise it will most likely crash.

Then you can use playcover freely.

You can see that Genshin Impact becomes clearer after turning on MetalFX.

After testing, after replacing the playtools framework, applications running under the play cover under Macos Sonoma 14.1beta no longer have crash issues. Apps such as Honkai Impact Star Railroad and Golden Shovel Battle can run perfectly!

Guess you like

Origin blog.csdn.net/Androidandios/article/details/133705329
Recommended