Post

Replies

Boosts

Views

Activity

notarytool is not fast as expected
Hi, We have moved to the new notarytool for uploading files to Apple for Notarization. Our package is around 2.8 GB and we are uploading a single dmg file to Apple servers. It takes between 40-60 minutes to upload and provide the status. Not sure whether it is a problem with our network or not. I have checked with our network department whether our network has access to notary-submissions-prod.s3-accelerate.amazonaws.com. They confirmed that it has access through port 80 or 443. I don't see upload speed difference between old and new tool. Please help me to identify why I don't get the improvement in upload speed. regards Prema Kumar
1
0
827
Feb ’23
Notarization upload failure
Hi, we are experiencing intermittent upload failures. we are using xcrun altool for uploading the files. we are getting different errors. Error -1011: Unable to upload your app for notarization. ====== [16:39:34.080226][ERROR] Error -18000: Connect to contentdelivery02.itunes.apple.com:443 [contentdelivery02.itunes.apple.com/17.56.138.14] failed: Operation timed out [16:39:34.162239][ERROR] Error -18000: An exception has occurred: Connect to contentdelivery02.itunes.apple.com:443 [contentdelivery02.itunes.apple.com/17.56.138.14] failed: Operation timed out [16:39:34.238909][ERROR] Error -18000: Cannot perform data center failover (data center is pinned). [16:39:34.239269][ERROR] Error -18000: An error occurred while calling uploadDone the package named com.efi.FieryApplications.dmg.itmsp [16:39:34.239802][ERROR] Error -18000: An exception has occurred: Cannot perform data center failover (data center is pinned). ======== Error -18000: Could not download Defaults.properties (osgibootstrapper) Could you please help to identify the issue? regards Prema Kumar
3
0
1k
Nov ’22
timestamping error while signing
Hi, We are getting timestamp error while signing the binaries and installers. Following is the error. pkgbuild[376:6714336] CMS signature encoding failed: A timestamp was expected but was not found. (-67882) Error signing data. sometimes nc -v timestamp.apple.com 80 command gets timeout. nc: connectx to timestamp.apple.com port 80 (tcp) failed: Operation timed out For some reason, I am not able to attach the Wireshark capture. We worked with ISP and they could not find issue with the n/w. Could you please help in identifying the issue? regards Prema Kumar
1
0
846
Nov ’22
Notarization error : Error -18000: org.apache.http.conn.HttpHostConnectException
Hi, We are getting notarization error. We are experiencing it today July 8, 2022. it happened from couple of our build machines. [19:12:05.717998][ERROR] Error -18000: org.apache.http.conn.HttpHostConnectException: Connect to contentdelivery01.itunes.apple.com:443 [contentdelivery01.itunes.apple.com/17.56.10.18] failed: Operation timed out [19:12:05.729056][ERROR] Error -18000: An exception has occurred: org.apache.http.conn.HttpHostConnectException: Connect to contentdelivery01.itunes.apple.com:443 [contentdelivery01.itunes.apple.com/17.56.10.18] failed: Operation timed out [19:12:05.729466][ERROR] Error -18000: Could not start delivery: all transports failed diagnostics we are using Xcode 12.3 and macOS 11. regards Prema kumar
8
0
1.4k
Jul ’22
After changing the Apple ID password, app specific passwords are not working even after creating new app specific password
Hi, I have changed the Apple ID Password. After that I have created new app specific password as well. But after this I am not able to upload the package. I get the following error when I try the command on Terminal xcrun altool --list-providers -u Apple_ID -p app_specific_password 2022-05-31 14:41:22.660 altool[2828:53360] *** Error: Failed to retrieve providers info. 2022-05-31 14:41:22.660 altool[2828:53360] *** Error: code -1011 (Failed to authenticate for session: (     "Error Domain=ITunesConnectionAuthenticationErrorDomain Code=-22938 "Sign in with the app-specific password you generated. If you forgot the app-specific password or need to create a new one, go to appleid.apple.com" UserInfo={NSLocalizedRecoverySuggestion=Sign in with the app-specific password you generated. If you forgot the app-specific password or need to create a new one, go to appleid.apple.com, NSLocalizedDescription=Sign in with the app-specific password you generated. If you forgot the app-specific password or need to create a new one, go to appleid.apple.com, NSLocalizedFailureReason=App Store operation failed.}" ) Unable to list providers.) We are blocked because of this and any help is greatly appreciated. regards Prema Kumar
5
0
2.4k
May ’22
Application crashes on 10.15.4 Beta 3
Hi,My application was working on macOS 10.15.3. After updating to 10.15.4 Beta 3, application crashes on launch. Following is the information from the crash log.Exception Type: EXC_CRASH (Code Signature Invalid)Exception Codes: 0x0000000000000000, 0x0000000000000000Exception Note: EXC_CORPSE_NOTIFYTermination Reason: Namespace CODESIGNING, Code 0x1we have following entitlement associated with our application.<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0"> <dict> <key>com.apple.security.automation.apple-events</key> <true/> </dict></plist>Few observations:If I remove this entitlement, application works.If add a second entitlement, application works. We added the following because we believe that is the safest to add as a second entitlement.<<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0"><dict> <key>com.apple.security.get-task-allow</key> <false/> <key>com.apple.security.automation.apple-events</key> <true/></dict></plist>The same problem happens on Security update Developer Beta 2020-002 for macOS 10.14.6.Could you please help us to identify the root cause of this issue?Our application has zero notarization warnings.regardsPrema Kumar
2
0
1.2k
Feb ’20
warning in the notarization report: .pkg failed trust evaluation
Hi,I have submitted a dmg for notarization. I got the report as package is notarized. In the report under "issues" section, i get the following error. This is the new error we are seeing. We were able to sent the package earlier.{ "severity": "warning", "code": null, "path": "CWSPackage6_4.dmg/OSX/CWS Wrapper.pkg", "message": "b'2019-10-23 04:03:03.557 extractpkgcontent[5534:43343] All Resoueces (\\n Bom,\\n Distribution,\\n Payload,\\n Scripts,\\n PackageInfo\\n)\\n2019-10-23 04:03:03.557 extractpkgcontent[5534:43343] Extracting subpath: Bom\\n2019-10-23 04:03:03.560 extractpkgcontent[5534:43343] Extracting subpath: Distribution\\n2019-10-23 04:03:03.561 extractpkgcontent[5534:43343] Skipping Distribution\\n2019-10-23 04:03:03.561 extractpkgcontent[5534:43343] Extracting subpath: Payload\\nCould not extract Payload due to Is a directory.\\n2019-10-23 04:03:03.575 extractpkgcontent[5534:43343] Extracting subpath: Scripts\\n2019-10-23 04:03:03.576 extractpkgcontent[5534:43343] Skipping Scripts\\n2019-10-23 04:03:03.576 extractpkgcontent[5534:43343] Extracting subpath: PackageInfo\\nExtract of file:///tmp/tmp33ts951j/CWSPackage6_4.dmg.unpacked_00/OSX/CWS%20Wrapper.pkg failed.\\nExtract packages failed with error: (null)\\n'", "docUrl": null, "architecture": null },All the other .pkg inside the package failed with following error.{ "severity": "warning", "code": null, "path": "CWSPackage6_4.dmg/OSX/Common Utilities/Calibrator3.pkg", "message": "b'file:///private/tmp/tmp33ts951j/CWSPackage6_4.dmg.unpacked_00/OSX/Common%20Utilities/Calibrator3.pkg failed trust evaluation.\\n2019-10-23 04:03:10.665 extractpkgcontent[5536:43353] All Resoueces (\\n Bom,\\n Payload,\\n Scripts,\\n PackageInfo\\n)\\n2019-10-23 04:03:10.666 extractpkgcontent[5536:43353] Extracting subpath: Bom\\n2019-10-23 04:03:10.671 extractpkgcontent[5536:43353] Extracting subpath: Payload\\nCould not extract Payload due to Is a directory.\\n2019-10-23 04:03:11.026 extractpkgcontent[5536:43353] Extracting subpath: Scripts\\n2019-10-23 04:03:11.026 extractpkgcontent[5536:43353] Skipping Scripts\\n2019-10-23 04:03:11.026 extractpkgcontent[5536:43353] Extracting subpath: PackageInfo\\nExtract of file:///private/tmp/tmp33ts951j/CWSPackage6_4.dmg.unpacked_00/OSX/Common%20Utilities/Calibrator3.pkg failed.\\nExtract package failed with error: The file doesn\\xe2\\x80\\x99t exist.\\n'", "docUrl": null, "architecture": null },
5
0
1.3k
Oct ’19
xcrun stapler validate command show app is not notarized even after dmg is notarized
Hi,I have notarized the dmg which has a .app inside. After that I stapped the dmg.xcrun stapler staple ~/Desktop/Packages/Notarize/***.dmgProcessing: /Users/***/Desktop/Packages/Notarize/***.dmgProcessing: /Users/***/Desktop/Packages/Notarize/***.dmgThe staple and validate action worked!I verified the dmg and app with following command.App verificationspctl -vvv --assess /Volumes/***/***.app//Volumes/***/***.app: acceptedsource=Notarized Developer IDorigin=Developer ID Application: *** Inc (xxxx)dmg verification:spctl -a -t open --context context:primary-signature -v /Users/***/Desktop/Packages/Notarize/***.dmg/Users/***/Desktop/Packages/Notarize/fsm.dmg: acceptedsource=Notarized Developer IDAfter this I was able to open notarized downloaded dmg and run the application.xcrun stapler validate <path to dmg> command shows the it is validProcessing: /Users/***/Desktop/Packages/Notarize/***.dmgThe validate action worked!But xcrun stapler validate <path to app> command shows the following message:Processing: /Volumes/***/***.appxxx.app does not have a ticket stapled to it.Could you please help me why stapler command shows no ticket is associated with app? Do I need to staple the ticket with .app as well? or we need to send induvidual applications in package for Notarization? What is the recommentation from Apple? Our package 15 apps.regardsPK
3
0
3.7k
Aug ’19
Unable to submit an dmg for notarization
Hi,I was trying to upload the dmg for notoraizing our applications. But I got an error.1 package(s) were not uploaded because they had problems: /var/folders/_b/tz5xd08s63d2l8b5b4g_p_br0000gn/T/2DEA13CD-0FF9-4C53-8995-C939D27DE9C7/Untitled.itmsp - Error Messages: ERROR ITMS-4302: "The software asset has an invalid primary bundle identifier: 'com.***.cws_64_rtw'" at SoftwareAssets/EnigmaSoftwareAsset2019-08-20 16:18:44.235 altool[2145:106840] *** Error: ERROR ITMS-4302: "The software asset has an invalid primary bundle identifier: 'com.efi.cws_64_rtw'" at SoftwareAssets/EnigmaSoftwareAssetFollowing is the command I have used to upload the dmg.xcrun altool --notarize-app --primary-bundle-id "com.***.cws_64_rtw" --username "xxxx" --password "@keychain:NOTARIZE_PASSWORD" --file ~/Desktop/Packages/CWS6_RTW.dmgdmg is also valid and it is signed with Developer ID.codesign -vvv --deep --strict ~/Desktop/Packages/CWS6_RTW.dmg/Users/premak/Desktop/Packages/CWS6_RTW.dmg: valid on disk/Users/premak/Desktop/Packages/CWS6_RTW.dmg: satisfies its Designated RequirementCould you please help?Regards
1
0
1.6k
Aug ’19