darlinghq / darling

Darwin/macOS emulation layer for Linux
http://www.darlinghq.org
GNU General Public License v3.0
11.24k stars 428 forks source link

[Question] Xcodebuild #1228

Open jhay06 opened 1 year ago

jhay06 commented 1 year ago

Hello , would like to ask if this is now posible on darling we know that on real macbook , before we can develop ios and mac apps we need certificates we can just create a certificate through their appstore portal by just uploading the certifacte request and then download certifcates then double click the file will install directly on the keystore . same goes to certificate profiles

I'm just wondering if we can do this on darling without GUI ? how can we create a certificate request using terminal? how can we install the certificate via terminal ? and how can we install the certificate provision profile via terminal?

also in xcodebuild , what is the command to get the list of provisioning profile available ? thanks

jhay06 commented 1 year ago

running xcodebuild in darling not working

xcodebuild --version
dyld: dyld cache load error: shared cache file open() failed
dyld: Library not loaded: /System/Library/Frameworks/Combine.framework/Versions/A/Combine
  Referenced from: /Volumes/SystemRoot/mnt/drive_d/darlingmac/Applications/Xcode.app/Contents/SharedFrameworks/DVTAppStoreConnect.framework/Versions/A/DVTAppStoreConnect
  Reason: image not found
abort_with_payload: reason: dyld cache load error: shared cache file open() failed
Library not loaded: /System/Library/Frameworks/Combine.framework/Versions/A/Combine
  Referenced from: /Volumes/SystemRoot/mnt/drive_d/darlingmac/Applications/Xcode.app/Contents/SharedFrameworks/DVTAppStoreConnect.framework/Versions/A/DVTAppStoreConnect
  Reason: image not found; code: 1
Abort trap: 6 (core dumped)