Post

Replies

Boosts

Views

Activity

Localize CFBundleName on macOS
Both the CFBundleDisplayName and the CFBundleName are displayed in macOS. I have found the CFBundleDisplayName trivial to localize, but CFBundleName will not. Here is an abbreviated info.plist <?xml version="1.0" encoding="utf-8"?> <plist version="1.0"> 	<dict> 		<key>CFBundleLocalizations</key> 		<array> 			<string>en</string> 			<string>fr</string> 			<string>en-CA</string> 			<string>fr-CA</string> 		</array> 		<key>CFBundleName</key> 		<string>${PRODUCT_NAME}</string> 		<key>CFBundleDisplayName</key> 		<string>${PRODUCT_NAME}</string> 		<key>CFBundleVersion</key> 		<key>LSHasLocalizedDisplayName</key> 		<true /> 		... A bunch of other not relevant stuff 	</dict> </plist> and here is my InfoPlist.strings (in Resources/en.lproj) "CFBundleDisplayName" = "CFBundleDisplayName-Localized-en"; "CFBundleName" = "CFBundleName-Localized-en"; When I run this, it displays "CFBundleDisplayName-Localized-en" in the menu bar (when my machine is in English, -fr in french). But when you click on that button in the menu bar it says "About ${PRODUCTNAME}" and "Quit ${PRODUCTNAME}". Not literally ${PRODUCT_NAME}, but whatever I've got it set to. I'm not really sure whats going on here, is it just not possible to localize CFBundleName this way? I tried using the "Localize..." button in the File Inspector, but that just stopped the build from working.
4
0
2.2k
Aug ’20
macOS AppStore submission - ITMS-90238: Invalid Signature Email
I've notarised my app and wrapped it up as a .pkg (I think) correctly. But every time I try and submit my app to the Mac AppStore, apple sends me back this email which I cannot decipher. My certificate should be good, I use the check-signature tool to check both the .pkg and the .app files. It passes Notarisation, which I know is performing similar checks. I'm not sure if there error message it is emailing me is saying the dylib files are the problem or that they have been validated? ITMS-90238: Invalid Signature - The main app bundle APP_NAME at path app_name.app has following signing error(s): -prepared:/Volumes/data01/app_data/app-processing/mz_621478465736756725dir/mz_11614935509311203053dir/com.company.app_name.pkg/Payload/app_name.app/Contents/Frameworks/libMonoPosixHelper.dylib -validated:/Volumes/data01/app_data/app-processing/mz_621478465736756725dir/mz_11614935509311203053dir/com.company.app_name.pkg/Payload/app_name.app/Contents/Frameworks/libMonoPosixHelper.dylib -prepared:/Volumes/data01/app_data/app-processing/mz_621478465736756725dir/mz_11614935509311203053dir/com.company.app_name.pkg/Payload/app_name.app/Contents/Frameworks/libmonobdwgc-2.0.dylib -validated:/Volumes/data01/app_data/app-processing/mz_621478465736756725dir/mz_11614935509311203053dir/com.company.app_name.pkg/Payload/app_name.app/Contents/Frameworks/libmonobdwgc-2.0.dylib -prepared:/Volumes/data01/app_data/app-processing/mz_621478465736756725dir/mz_11614935509311203053dir/com.company.app_name.pkg/Payload/app_name.app/Contents/Frameworks/libssl.dylib -validated:/Volumes/data01/app_data/app-processing/mz_621478465736756725dir/mz_11614935509311203053dir/com.company.app_name.pkg/Payload/app_name.app/Contents/Frameworks/libssl.dylib -prepared:/Volumes/data01/app_data/app-processing/mz_621478465736756725dir/mz_11614935509311203053dir/com.company.app_name.pkg/Payload/app_name.app/Contents/Frameworks/libcrypto.dylib -validated:/Volumes/data01/app_data/app-processing/mz_621478465736756725dir/mz_11614935509311203053dir/com.company.app_name.pkg/Payload/app_name.app/Contents/Frameworks/libcrypto.dylib -prepared:/Volumes/data01/app_data/app-processing/mz_621478465736756725dir/mz_11614935509311203053dir/com.company.app_name.pkg/Payload/app_name.app/Contents/Frameworks/UnityPlayer.dylib -validated:/Volumes/data01/app_data/app-processing/mz_621478465736756725dir/mz_11614935509311203053dir/com.company.app_name.pkg/Payload/app_name.app/Contents/Frameworks/UnityPlayer.dylib /Volumes/data01/app_data/app-processing/mz_621478465736756725dir/mz_11614935509311203053dir/com.company.app_name.pkg/Payload/app_name.app: valid on disk /Volumes/data01/app_data/app-processing/mz_621478465736756725dir/mz_11614935509311203053dir/com.company.app_name.pkg/Payload/app_name.app: satisfies its Designated Requirement test-requirement: code failed to satisfy specified code requirement(s) . Refer to the Code Signing and Application Sandboxing Guide at http://developer.apple.com/library/mac/#documentation/Security/Conceptual/CodeSigningGuide/AboutCS/AboutCS.html and Technical Note 2206 at https://developer.apple.com/library/mac/technotes/tn2206/_index.html for more information.
6
0
1.2k
Aug ’20