autopkg / n8felton-recipes

Recipes for Autopkg
28 stars 35 forks source link

Spark AR Studio Recipes failing #171

Closed paul-cossey closed 2 years ago

paul-cossey commented 2 years ago

Hi, @n8felton

The Spark AR Studio recipes have just started failing.

Looks like Facebook (Meta) have changed the name of the app to Meta Spark Studio.app

autopkg run -vv /Users/paul/Downloads/n8felton-recipes-master/Facebook/Spark\ AR\ Studio.munki.recipe 
Processing /Users/paul/Downloads/n8felton-recipes-master/Facebook/Spark AR Studio.munki.recipe...
WARNING: /Users/paul/Downloads/n8felton-recipes-master/Facebook/Spark AR Studio.munki.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLDownloader
{'Input': {'filename': 'SparkARStudio.dmg',
           'url': 'https://www.facebook.com/sparkarmacos/download/'}}
URLDownloader: No value supplied for prefetch_filename, setting default value of: False
URLDownloader: No value supplied for CHECK_FILESIZE_ONLY, setting default value of: False
URLDownloader: Storing new Last-Modified header: Tue, 11 Oct 2022 18:14:58 GMT
URLDownloader: Downloaded /Users/paul/Library/AutoPkg/Cache/com.github.n8felton.munki.SparkARStudio/downloads/SparkARStudio.dmg
{'Output': {'download_changed': True,
            'last_modified': 'Tue, 11 Oct 2022 18:14:58 GMT',
            'pathname': '/Users/paul/Library/AutoPkg/Cache/com.github.n8felton.munki.SparkARStudio/downloads/SparkARStudio.dmg',
            'url_downloader_summary_result': {'data': {'download_path': '/Users/paul/Library/AutoPkg/Cache/com.github.n8felton.munki.SparkARStudio/downloads/SparkARStudio.dmg'},
                                              'summary_text': 'The following '
                                                              'new items were '
                                                              'downloaded:'}}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
CodeSignatureVerifier
{'Input': {'input_path': '/Users/paul/Library/AutoPkg/Cache/com.github.n8felton.munki.SparkARStudio/downloads/SparkARStudio.dmg/Spark '
                         'AR Studio.app',
           'requirement': 'identifier "com.facebook.arstudio.skylight" and '
                          'anchor apple generic and certificate '
                          '1[field.1.2.840.113635.100.6.2.6] /* exists */ and '
                          'certificate leaf[field.1.2.840.113635.100.6.1.13] '
                          '/* exists */ and certificate leaf[subject.OU] = '
                          'V9WTTPBFK9'}}
CodeSignatureVerifier: Mounted disk image /Users/paul/Library/AutoPkg/Cache/com.github.n8felton.munki.SparkARStudio/downloads/SparkARStudio.dmg
Error processing path '/private/tmp/dmg.4wpl8A/Spark AR Studio.app' with glob. 
Failed.
Receipt written to /Users/paul/Library/AutoPkg/Cache/com.github.n8felton.munki.SparkARStudio/receipts/Spark AR Studio.munki-receipt-20221013-165948.plist

The following recipes failed:
    /Users/paul/Downloads/n8felton-recipes-master/Facebook/Spark AR Studio.munki.recipe
        Error in com.github.n8felton.munki.SparkARStudio: Processor: CodeSignatureVerifier: Error: Error processing path '/private/tmp/dmg.4wpl8A/Spark AR Studio.app' with glob. 

The following new items were downloaded:
    Download Path                                                                                          
    -------------                                                                                          
    /Users/paul/Library/AutoPkg/Cache/com.github.n8felton.munki.SparkARStudio/downloads/SparkARStudio.dmg 

It's the end of the day here in the UK, but I can knock up a PR to fix it tomorrow if you're unable to get to it?

Thanks Paul

n8felton commented 2 years ago

Resolved in #173.

Thanks for the help!