darling icon indicating copy to clipboard operation
darling copied to clipboard

Anyway to have Safari?

Open Hideman85 opened this issue 3 years ago • 6 comments

Sorry for this generic question I'm just starting to get interest on this project.

I'm trying to have a Safari in my linux and what a challenge... then I found this nice project a compatibility layer like wine Super let's install Safari so.

Where to find Safari, lot of troubles but then found that guy: https://swcdn.apple.com/content/downloads/28/16/071-89247-A_FL3O60MWEW/t9239srrs8ctufwxntefzkmvjhdqzvllb2/Safari14.1.2MojaveAuto.pkg

Okey let's compile Darling and get it running, no issue:

  • darling shell
  • installer -pkg Safari14.1.2MojaveAuto.pkg -target /

But then how do I run that? safari nothing Safari nothing :) cd /Applications/Safari.app/Contents/MacOS oh yeah ./Safari...

Darling [/Applications/Safari.app/Contents/MacOS]$ ./Safari
dyld: Library not loaded: /System/Library/PrivateFrameworks/Safari.framework/Versions/A/Safari
  Referenced from: /Applications/Safari.app/Contents/MacOS/Safari
  Reason: image not found
abort_with_payload: reason: Library not loaded: /System/Library/PrivateFrameworks/Safari.framework/Versions/A/Safari
  Referenced from: /Applications/Safari.app/Contents/MacOS/Safari
  Reason: image not found; code: 1
Abort trap: 6 (core dumped)
Darling [/Applications/Safari.app/Contents/MacOS]$ ls /System/Library/PrivateFrameworks/
AppleFSCompression.framework           CrashReporterSupport.framework         LoggingSupport.framework               Spotlight.framework
AppleSauce.framework                   DBusKit.framework                      MobileAsset.framework                  SpotlightDaemon.framework
AppleSystemInfo.framework              DataDetectors.framework                MobileDevice.framework                 SpotlightIndex.framework
AssetCacheServices.framework           DataDetectorsCore.framework            NetworkStatistics.framework            SpotlightReceiver.framework
AssistantServices.framework            DataDetectorsNaturalLanguage.framework Onyx2D.framework                       SpotlightServerKit.framework
AuthKit.framework                      DebugSymbols.framework                 PackageKit.framework                   SpotlightServices.framework
AuthKitUI.framework                    DeviceLink.framework                   PerformanceAnalysis.framework          StreamingZip.framework
CommonAuth.framework                   DiskImages.framework                   PlugInKit.framework                    TrustedPeers.framework
ConfigurationProfiles.framework        DiskManagement.framework               PowerLog.framework                     ViewBridge.framework
CoreAnalytics.framework                Espresso.framework                     ProtocolBuffer.framework               kperf.framework
CoreSymbolication.framework            FMDB.framework                         SecurityTokend.framework               login.framework
CoreUI.framework                       Heimdal.framework                      ServerInformation.framework
CoreUtils.framework                    IOPlatformPluginFamily.framework       SkyLight.framework

Hum :thinking: any help?

Hideman85 avatar Nov 05 '21 14:11 Hideman85

Oh by the way do not try to run a second time it has produced 50Gb of /var/log/kern.log & /var/log/syslog no space left, system frozen, crashed, restart, terminal mode (of course no space for logs :stuck_out_tongue:) delete the logs restart and you're back :joy:

Hideman85 avatar Nov 05 '21 14:11 Hideman85

The error you were given means that framework is simply not there on your installation so that is why it is not launching.

0x14307 avatar Nov 06 '21 06:11 0x14307

Apple is worse than Microsoft has ever been. As you can see, the browser depends on a private Safari framework, which is part of original macOS.

But even then, we have very week GUI support, so...

LubosD avatar Nov 06 '21 07:11 LubosD

I hate these private source shitty OS that everyone use... why not simply using linux and android? I think the only way I have for having that shit working is probably a VM so I'm gonna invest time later to see if a VM is working with macos. Anyway thanks for your help and all the best for your project, maybe at some point it will be famous enough and performant enough to be the best macos version like wine is the best windows version :joy:

Hideman85 avatar Nov 08 '21 08:11 Hideman85

That's closed source for you

0x14307 avatar Nov 10 '21 13:11 0x14307