usr-sse2 / RDM

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

Installation error persists #57

Open gregorp90 opened 2 years ago

gregorp90 commented 2 years ago

I'm getting the following error:

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:D4884E5D-8E87-5E0A-84B4-80FF5F4C74A1 }
{ platform:macOS, name:Any Mac }
** ARCHIVE FAILED **

The following build commands failed:
    CompileAssetCatalog /Users/gregorpirs/Library/Developer/Xcode/DerivedData/RDM-guickbhfaavizvebbirqqgrjqxgj/Build/Intermediates.noindex/ArchiveIntermediates/RDM/InstallationBuildProductsLocation/Applications/RDM.app/Contents/Resources /Users/gregorpirs/git-apps/RDM/Assets.xcassets (in target 'RDM' from project 'RDM')
    CompileStoryboard /Users/gregorpirs/git-apps/RDM/Base.lproj/Main.storyboard (in target 'RDM' from project 'RDM')
(2 failures)
error: archive not found at path '/var/folders/c2/z489s8216lz5p8p992c0qckm0000gn/T/tmp.D68hFKmH/RDM.xcarchive'

I checked #45 and #48 , but it seems the error still persists, even after the merged pull request. I cloned the repo and ran ./install inside the directory. After this I also tried it with the patch proposed in #45, but I am getting this:

Applying: Fix build error on XCode 13
error: patch failed: src/utils.h:1
error: src/utils.h: patch does not apply
Patch failed at 0001 Fix build error on XCode 13
hint: Use 'git am --show-current-patch=diff' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

I'm using Big Sur 11.6 and Xcode 13.

matthbull commented 2 years ago

same problem here. Is this still maintained?

abhinavd commented 1 year ago

The patch on #45 works for me on Ventura 13.2.1 (and Xcode 14.2). I applied the patch manually instead of running git am and it works.