The framework layout doesn't meet Apple's Bundle Guidelines. Everything is in the root of the bundle, with no "Versions" folder.
I suspect it works because the main executable and the "Resources" folder are in the root.
However Code sign doesn't complain about it either, unlike some other incorrectly formatted bundles.
I ask because the documentation for bundle structures hasn't been updated since 2017 (https://developer.apple.com/library/archive/documentation/CoreFoundation/Conceptual/CFBundles/BundleTypes/BundleTypes.html#//apple_ref/doc/uid/10000123i-CH101-SW1) and I am wondering if there is newer documentation or perhaps Framework bundles no longer need to organized according to that documentation.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Was under the impression that all executable components needed to be signed with the same certificate as the bundle. However I've just encountered a recently Notarized application where that isn't the case.
These components are in the "/Contents/Resources/" folder of the main bundle. While I can suggest the developer to sign these with the same identity and move them to a more suitable location.
It would appear that codesign, GateKeeper and Notarization has accepted these.
Or are these restrictions for the Mac App Store only?
Hi All,
Trying to validate some altool credentials, produces this error message.
"Failed to get authorization for username '<username/>' and password with errors:( "Error Domain=NSCocoaErrorDomain Code=0 "Status code: 0" UserInfo={NSLocalizedDescription=Status code:0, NSLocalizedFailureReason=The auth server returned a bad status code.}")
This is returned when altool is called in the following way.
xcrun altool --notarization-history 0 -u <username/> -p <password/> --output-format xml
macOS 11.2.3 and Xcode 12.5
Things that have been tried already.
Making sure the Apple system status page shows no issues.
Different networks.
Checked to see if any agreements need to be "activated".
Recreated the app-specific password multiple times.
Any other suggestions?
@Quinn - Hi Quinn, it's Sam Rowlands (again) and this is with another App Wrapper customer experiencing this issue (so not me directly).
Trying to upload an application for Notarization, fails with the following error message.
Any ideas?
2021-04-22 12:32:29.127 altool[71379:2755143] Error:
Error: Could not find or load main class Drive.Moved
Caused by: java.lang.ClassNotFoundException: Drive.Moved
2021-04-22 12:32:29.138 altool[71379:2755143] Out:
?xml version="1.0" encoding="UTF-8"?
!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "urlsNotAllowedInSupportForums"
plist version="1.0"
dict
keyos-version/key
string11.2.3/string
keyproduct-errors/key
array
dict
keycode/key
integer-18000/integer
keymessage/key
stringCould not find or load main class Drive.Moved/string
keyuserInfo/key
dict
keyNSLocalizedDescription/key
stringCould not find or load main class Drive.Moved/string
keyNSLocalizedFailureReason/key
stringCould not find or load main class Drive.Moved/string
keyNSLocalizedRecoverySuggestion/key
stringCould not find or load main class Drive.Moved/string
/dict
/dict
/array
keytool-path/key
string/Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/Frameworks/AppStoreService.framework/string
keytool-version/key
string4.029.1194/string
/dict
/plist
https://developer.apple.com/documentation/bundleresources/information_property_list/lsminimumsystemversionbyarchitecture?language=objc
Shows the values for PPC, PPC64, i386 & x84_64. But there's no values for ARM.
Can someone from Apple please provide what the values should be. I'd hate to use the wrong value, i.e. "arm64" when it should be "arm64e" or vice versa. Maybe it's not even arm64 and it's something else?