# Electron Mac Application Code sign Issue

**URL:** <https://devforum.zoom.us/t/electron-mac-application-code-sign-issue/66338>\
**Category:** Electron\
**Created:** [March 24, 2022, 7:42am UTC](https://devforum.zoom.us/t/electron-mac-application-code-sign-issue/66338 "2022-03-24T07:42:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![niravd](https://avatars.discourse-cdn.com/v4/letter/n/9de0a6/32.png) [@niravd](https://devforum.zoom.us/u/niravd)\
**Post date:** [March 24, 2022, 7:42am UTC](https://devforum.zoom.us/t/electron-mac-application-code-sign-issue/66338/1 "2022-03-24T07:42:12Z")

</div>

Hi,

I am using  
Electron sdk version - 5.7.1.644 for my application.  
I am able to generate .app file and now I want to sign the application with Developer ID Application certificate.

My current approach is

```auto
codesign --force --verify --verbose --entitlements ./app/entitlements/entitlements.plist --options=runtime --sign "Developer ID Application: XXXYYY, ABC (Z1234)" ./app/OutApp/xyz-darwin-x64/xyz.app

```

I am using this plist file

```auto
<?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>CFBundleDevelopmentRegion</key>
	<string>$(DEVELOPMENT_LANGUAGE)</string>
	<key>CFBundleExecutable</key>
	<string>$(EXECUTABLE_NAME)</string>
	<key>CFBundleIconFile</key>
	<string></string>
	<key>CFBundleIdentifier</key>
	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
	<key>CFBundleInfoDictionaryVersion</key>
	<string>6.0</string>
	<key>CFBundleName</key>
	<string>$(PRODUCT_NAME)</string>
	<key>CFBundlePackageType</key>
	<string>APPL</string>
	<key>CFBundleShortVersionString</key>
	<string>$(MARKETING_VERSION)</string>
	<key>CFBundleVersion</key>
	<string>$(CURRENT_PROJECT_VERSION)</string>
	<key>LSApplicationCategoryType</key>
	<string>public.app-category.business</string>
	<key>LSMinimumSystemVersion</key>
	<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
	<key>NSAppTransportSecurity</key>
	<dict>
		<key>NSAllowsArbitraryLoads</key>
		<true/>
	</dict>
	<key>NSAppleEventsUsageDescription</key>
	<string></string>
	<key>NSCameraUsageDescription</key>
	<string>In order for participants to see you, requires access to your camera.</string>
	<key>NSHumanReadableCopyright</key>
	<string>Copyright © All rights reserved.</string>
	<key>NSMainStoryboardFile</key>
	<string>Main</string>
	<key>NSMicrophoneUsageDescription</key>
	<string>In order to speak to participants, requires access to your microphone.</string>
	<key>NSPrincipalClass</key>
	<string>NSApplication</string>
</dict>
</plist>

```

NOTE : I copied the plist file source from the native macOS sdk sample application.

ERROR :

> code object is not signed at all  
> In subcomponent: App-Path/app/OutApp/xyz-darwin-x64/xyz.app/Contents/Frameworks/xyz Helper.app

Thank you

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [April 23, 2022, 5:43pm UTC](https://devforum.zoom.us/t/electron-mac-application-code-sign-issue/66338/2 "2022-04-23T17:43:03Z")

</div>

Closed on April 23, 2022, 5:43pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
