glaumar / QRookie

Download and install Quest games from ROOKIE Public Mirror (like VRP Rookie Sideloader but for Linux and MacOS)
GNU General Public License v3.0
35 stars 2 forks source link

Using QRookie on mac os version below 13.0 #40

Open Sidak08 opened 1 month ago

Sidak08 commented 1 month ago

Hi I tried installing QRookie on my macbook and I got this error. (You have macOS 12.7.6. The application requires macOS 13.0 or later.) is using a macOs version below 13 not technically possible or do I just have to download it using nix. Screen Shot 2024-09-04 at 7 43 50 PM

MikeRatcliffe commented 1 month ago

This is caused by LSMinimumSystemVersion being set to 13 in Info.plist and OS_TARGET being set to "13" in projectConfig.sh.

These changes were made by victorwads in pull #22 when he made ci changes a while back (he changed from the latest MacOs version to 13).

@victorwads is there a technical reason to restrict users to MacOs v13+ (Ventura)? As far as I can see, we should be able to reduce this limitation to at least MacOs v11 (Big Sur).

I have access to an old Mac, so I'll test it on that.

MikeRatcliffe commented 1 month ago

Yup, I have a patch that supports macOS v10.15 and runs without any problems. It only changes the minimum version numbers.

We can't go further back than v10.15 because both QTCore and Kirigami require at least that version.

@Sidak08 Can you download the build from this link and let us know whether it works for you?

https://app.box.com/s/b1bz4memxspzuuhz71d6z4eoj04r2id3 (you don't need to log in)

victorwads commented 1 month ago

I don't see a problem reducing Target Versions on code FOR NIX VERSION only, but problems with QTookie executable or any sub-executables (aapt2, zip, unzip, apksigner, etc..) that ends up opening a Issue on any Old MacOs version WILL BE IGNORED or at least have a very low priority.

We had some problem with MacOs 13 or lower missing libraries and crashing "App Bundled QRookie", thats why we remove such years old versions of MacOs to reduce this type of error. But it can be happening on users without Xcode installed, cause Xcodes brings a lot of libraries to system.

Best Scenario for now:

If thats ok for you guys @MikeRatcliffe @Sidak08. Any tech info about issues related to older macos versions and macdeployqt that u known, please share. I personally never worked with Qt before, so, my knowledge is not the best.

Note: Guys, update yours systems OS 🤣. we are almost on MacOs 15, FIFTEEN! 🥹

Sidak08 commented 1 month ago

@MikeRatcliffe Hi I tried opening the application and it instantly crashed here is the error message

Translated Report (Full Report Below)

Process: QRookie [3394] Path: /private/var/folders/*/QRookie.app/Contents/MacOS/QRookie Identifier: io.github.glaumar.QRookie Version: v0.4.0 Code Type: X86-64 (Native) Parent Process: launchd [1] User ID: 502

Date/Time: 2024-09-05 14:05:58.9411 -0400 OS Version: macOS 12.7.6 (21H1320) Report Version: 12 Anonymous UUID: 93CC2989-0B60-0496-3C37-09B94E0F808C

Sleep/Wake UUID: E351E7E3-0FBD-49C2-891C-319A3DF70ED2

Time Awake Since Boot: 2800 seconds Time Since Wake: 49 seconds

System Integrity Protection: enabled

Crashed Thread: 0

Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: Namespace DYLD, Code 1 Library missing Library not loaded: '/usr/local/opt/qt/lib/QtXml.framework/Versions/A/QtXml' Referenced from: '/private/var/folders/*/QRookie.app/Contents/MacOS/QRookie' Reason: tried: '/usr/local/opt/qt/lib/QtXml.framework/Versions/A/QtXml' (no such file), '' (no such file), '' (no such file) (terminated at launch; ignore backtrace)

Thread 0 Crashed: 0 dyld 0x1071349a2 __abort_with_payload + 10 1 dyld 0x10714aab2 abort_with_payload_wrapper_internal + 80 2 dyld 0x10714aae4 abort_with_payload + 9 3 dyld 0x1070f8699 dyld4::halt(char const) + 615 4 dyld 0x1070f45b5 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const) + 3995 5 dyld 0x1070f34e4 start + 388

Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000002000209 rbx: 0x0000000000000000 rcx: 0x00007ff7b93c95a8 rdx: 0x00007ff7b93c9a10 rdi: 0x0000000000000006 rsi: 0x0000000000000001 rbp: 0x00007ff7b93c95f0 rsp: 0x00007ff7b93c95a8 r8: 0x00007ff7b93c9610 r9: 0x0000000000000000 r10: 0x00000000000000df r11: 0x0000000000000246 r12: 0x00000000000000df r13: 0x00007ff7b93c9a10 r14: 0x0000000000000001 r15: 0x0000000000000006 rip: 0x00000001071349a2 rfl: 0x0000000000000246 cr2: 0x0000000000000000

Logical CPU: 0 Error Code: 0x02000209 Trap Number: 133

Binary Images: 0x1070ee000 - 0x107159fff dyld (*) /usr/lib/dyld

External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by all processes on this machine: task_for_pid: 0 thread_create: 0 thread_set_state: 0

VM Region Summary: ReadOnly portion of Libraries: Total=3216K resident=0K(0%) swapped_out_or_unallocated=3216K(100%) Writable regions: Total=9220K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=9220K(100%)

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= STACK GUARD 56.0M 1 Stack 8192K 1 VM_ALLOCATE 12K 3 DATA 32K 2 DATA_CONST 112K 2 LINKEDIT 1248K 4 TEXT 1984K 2 dyld private memory 1024K 1 =========== ======= ======= TOTAL 68.3M 16


Full Report

{"app_name":"QRookie","timestamp":"2024-09-05 14:05:59.00 -0400","app_version":"","slice_uuid":"d1050c3c-e961-3c9e-8fc9-611b87d84e07","build_version":"v0.4.0","platform":1,"bundleID":"io.github.glaumar.QRookie","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.7.6 (21H1320)","incident_id":"105A01DD-2085-4E7B-9BA4-7670502A1A33","name":"QRookie"} { "uptime" : 2800, "procLaunch" : "2024-09-05 14:05:58.9156 -0400", "procRole" : "Default", "version" : 2, "userID" : 502, "deployVersion" : 210, "modelCode" : "MacBookAir7,2", "procStartAbsTime" : 2830398872107, "coalitionID" : 1664, "osVersion" : { "train" : "macOS 12.7.6", "build" : "21H1320", "releaseType" : "User" }, "captureTime" : "2024-09-05 14:05:58.9411 -0400", "incident" : "105A01DD-2085-4E7B-9BA4-7670502A1A33", "bug_type" : "309", "pid" : 3394, "procExitAbsTime" : 2830414094044, "cpuType" : "X86-64", "procName" : "QRookie", "procPath" : "\/private\/var\/folders\/\/QRookie.app\/Contents\/MacOS\/QRookie", "bundleInfo" : {"CFBundleVersion":"v0.4.0","CFBundleIdentifier":"io.github.glaumar.QRookie"}, "storeInfo" : {"deviceIdentifierForVendor":"35A07C2A-0F27-5703-AA0D-76848F4F1522","thirdParty":true}, "parentProc" : "launchd", "parentPid" : 1, "coalitionName" : "io.github.glaumar.QRookie", "crashReporterKey" : "93CC2989-0B60-0496-3C37-09B94E0F808C", "wakeTime" : 49, "sleepWakeUUID" : "E351E7E3-0FBD-49C2-891C-319A3DF70ED2", "sip" : "enabled", "isCorpse" : 1, "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"}, "termination" : {"code":1,"flags":518,"namespace":"DYLD","indicator":"Library missing","details":["(terminated at launch; ignore backtrace)"],"reasons":["Library not loaded: '\/usr\/local\/opt\/qt\/lib\/QtXml.framework\/Versions\/A\/QtXml'","Referenced from: '\/private\/var\/folders\/\/QRookie.app\/Contents\/MacOS\/QRookie'","Reason: tried: '\/usr\/local\/opt\/qt\/lib\/QtXml.framework\/Versions\/A\/QtXml' (no such file), '' (no such file), '' (no such file)"]}, "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0}, "faultingThread" : 0, "threads" : [{"triggered":true,"id":46759,"threadState":{"r13":{"value":140701941406224},"rax":{"value":33554953},"rflags":{"value":582},"cpu":{"value":0},"r14":{"value":1},"rsi":{"value":1},"r8":{"value":140701941405200},"cr2":{"value":0},"rdx":{"value":140701941406224},"r10":{"value":223},"r9":{"value":0},"r15":{"value":6},"rbx":{"value":0},"trap":{"value":133},"err":{"value":33554953},"r11":{"value":582},"rip":{"value":4413671842,"matchesCrashFrame":1},"rbp":{"value":140701941405168},"rsp":{"value":140701941405096},"r12":{"value":223},"rcx":{"value":140701941405096},"flavor":"x86_THREAD_STATE","rdi":{"value":6}},"frames":[{"imageOffset":289186,"symbol":"abort_with_payload","symbolLocation":10,"imageIndex":0},{"imageOffset":379570,"symbol":"abort_with_payload_wrapper_internal","symbolLocation":80,"imageIndex":0},{"imageOffset":379620,"symbol":"abort_with_payload","symbolLocation":9,"imageIndex":0},{"imageOffset":42649,"symbol":"dyld4::halt(char const)","symbolLocation":615,"imageIndex":0},{"imageOffset":26037,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const)","symbolLocation":3995,"imageIndex":0},{"imageOffset":21732,"symbol":"start","symbolLocation":388,"imageIndex":0}]}], "usedImages" : [ { "source" : "P", "arch" : "x86_64", "base" : 4413382656, "size" : 442368, "uuid" : "eea022bb-a6ab-3cd1-8ac1-54ce8cfd3333", "path" : "\/usr\/lib\/dyld", "name" : "dyld" } ], "sharedCache" : { "base" : 140703272636416, "size" : 19331678208, "uuid" : "246818c3-4b9f-3462-bcaf-fdf71975e5fe" }, "vmSummary" : "ReadOnly portion of Libraries: Total=3216K resident=0K(0%) swapped_out_or_unallocated=3216K(100%)\nWritable regions: Total=9220K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=9220K(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nSTACK GUARD 56.0M 1 \nStack 8192K 1 \nVM_ALLOCATE 12K 3 \nDATA 32K 2 \n__DATA_CONST 112K 2 \nLINKEDIT 1248K 4 \nTEXT 1984K 2 \ndyld private memory 1024K 1 \n=========== ======= ======= \nTOTAL 68.3M 16 \n", "legacyInfo" : { "threadTriggered" : {

} }, "trialInfo" : { "rollouts" : [ { "rolloutId" : "60186475825c62000ccf5450", "factorPackIds" : {

  },
  "deploymentId" : 240000074
},
{
  "rolloutId" : "5fc94383418129005b4e9ae0",
  "factorPackIds" : {

  },
  "deploymentId" : 240000614
}

], "experiments" : [ { "treatmentId" : "c47ab4cc-c9c3-4b5d-a87c-e2433ce02597", "experimentId" : "6639bc6ba73d460582162323", "deploymentId" : 400000006 } ] } }

Model: MacBookAir7,2, BootROM 489.0.0.0.0, 2 processors, Dual-Core Intel Core i5, 1.8 GHz, 8 GB, SMC 2.27f2 Graphics: Intel HD Graphics 6000, Intel HD Graphics 6000, Built-In Display: Color LCD, 1440 x 900 (Widescreen eXtended Graphics Array Plus), Main, MirrorOff, Online Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x802C, 0x4D5435324C3531324D3332443250462D3130 Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x802C, 0x4D5435324C3531324D3332443250462D3130 AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x117), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1710.4) AirPort: Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports Network Service: Wi-Fi, AirPort, en0 USB Device: USB30Bus USB Device: BRCM20702 Hub USB Device: Bluetooth USB Host Controller USB Device: USB Receiver USB Device: 2.4G Mouse Thunderbolt Bus: MacBook Air, Apple Inc., 27.2

Sidak08 commented 1 month ago

Update


I was able to identify the issue as the Qt library being missing. Now the program does not instantly crash but it still refuses to open

Command use to fix the earlier issue

brew install qt

https://github.com/user-attachments/assets/269f600b-147c-44ee-9fe7-d2832b970b1f

victorwads commented 1 month ago

@Sidak08 i din't undertood what are u trying to do.

If you need to build the project on macos there's a lot more dependencies needed, you can use script inside macOs folder to install everything.

some scripts for bundle a final .app will not work without an Apple Developer Account Configured on ENV VARS, but commands for building local .app linked to brew and locally builded libs should work.

if you need more information faster, you can text me on telegram: @victorwads

Sidak08 commented 1 month ago

Hi sorry for the late response @victorwads but I am referring about the .app https://app.box.com/s/b1bz4memxspzuuhz71d6z4eoj04r2id3 that was given by @MikeRatcliffe I don't have experience building desktop apps but I though all the library would be included in the .app. If that is not the case can you send a small guid on how to install them.