usr-sse2 / RDM

Easily set Mac Retina display to higher unsupported resolutions
1.13k stars 75 forks source link

Installation error #45

Closed yackinn closed 2 years ago

yackinn commented 2 years ago

That's the error I'm seeing when using the installer. Does anyone know a workaround/fix?

I'm using an Intel Macbook Pro on Macos Big Sur 11.5.1. Xcode Version 13.1 (13A1030d)

~/Downloads/RDM-edit-resolutions
λ sudo ./install
Password: Install RDM to /Applications? (Y/n): y

An error occured; try again

--- xcodebuild: WARNING: Using the first of multiple matching destinations: { platform:macOS, arch:x86_64, id:A7242399-A924-5C59-A126-CC1AD7604E2C } { platform:macOS, name:Any Mac } ARCHIVE FAILED

The following build commands failed: CompileC /var/root/Library/Developer/Xcode/DerivedData/RDM-fnvusjtnyxunizddvhdautgbtnsk/Build/Intermediates.noindex/ArchiveIntermediates/RDM/IntermediateBuildFilesPath/RDM.build/Release/RDM.build/Objects-normal/arm64/utils-641b650dac2a9545feb7359eb61ef07b.o /Users/boetzkes/Downloads/RDM-edit-resolutions/src/utils.mm normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'RDM' from project 'RDM') (1 failure) error: archive not found at path '/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.HcZM8Y8N/RDM.xcarchive'

ConflictGK commented 2 years ago

I have the same problem on macOS monterey.

JosefBackovsky commented 2 years ago

I have same issue with Macbook Air M1 on Macos Moterey

perez987 commented 2 years ago

Same error here, in a MacPro7,1 with Monterey 12.0.1. error: archive not found at path '/var/folders/l1/9xy96x253rjbqydy_fv4zqlm0000gn/T/tmp.Hvf1Ch76/RDM.xcarchive'

perez987 commented 2 years ago

Catalina with Xcode 12 runs fine, no error.

jnooree commented 2 years ago

This issue will be fixed once #48 gets merged. One workaround is using this patch. It could be applied to the repo by downloading the file and running the following command at the project repository root directory.

git am RDM-pr-48.patch
perez987 commented 2 years ago

Thank you @jnooree the patch works well and fixes the error. Now compiling in Monterey is okey.