LuzProject / luz

Build system targeting Apple Darwin-based operating systems.
68 stars 3 forks source link

'preferences' with lowercase in default private_frameworks #9

Open pedromopi opened 9 months ago

pedromopi commented 9 months ago

https://github.com/LuzProject/luz/blob/1f9e952e38482b07665e1e0a1ae14022979dd9e0/luz/config/components/module.py#L14

Running the code without any modifications would trigger the error "ld: framework not found preferences." The issue was resolved by replacing the original code with the following:

"preferences": {"frameworks": ["Foundation", "CoreFoundation"], "private_frameworks": ["Preferences"], "libraries": ["System"]}

This modification effectively addressed and fixed the problem.