質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Electron

Electronは、HTML5とNode.jsというWebの技術を用いてデスクトップアプリケーションを作成できるクロスプラットフォームな実行環境です。

Q&A

0回答

995閲覧

electron-builderでパッケージングしてもappleにcode signingできてないよと言われてアプリをmac app storeにアップロードできない

yoshi448

総合スコア17

Electron

Electronは、HTML5とNode.jsというWebの技術を用いてデスクトップアプリケーションを作成できるクロスプラットフォームな実行環境です。

0グッド

0クリップ

投稿2021/01/18 05:23

お世話になっております。
問題はほぼタイトル通りなので、npm run electron:build でパッケージングをしてその際にsigningができているような文字は出ているのですがこれをtransporterを使ってappleに提出すると数分後に以下のようなcode signingできてい趣旨のメールがきてしまいます。

よろしくお願いいたします。

mail

1 2App Store Connect 3 4Dear Developer, 5 6We identified one or more issues with a recent delivery for your app, "おつまみ" 0.1.7 (0.1.7). Please correct the following issues, then upload again. 7 8ITMS-90284: Invalid Code Signing - The executable 'com.xxx.otsumami.pkg/Payload/おつまみ.app/Contents/MacOS/おつまみ' must be signed with the certificate that is contained in the provisioning profile. 9 10ITMS-90284: Invalid Code Signing - The executable 'com.xxx.otsumami.pkg/Payload/おつまみ.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework' must be signed with the certificate that is contained in the provisioning profile. 11 12ITMS-90284: Invalid Code Signing - The executable 'com.xxx.otsumami.pkg/Payload/おつまみ.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libEGL.dylib' must be signed with the certificate that is contained in the provisioning profile. 13 14ITMS-90284: Invalid Code Signing - The executable 'com.xxx.otsumami.pkg/Payload/おつまみ.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libGLESv2.dylib' must be signed with the certificate that is contained in the provisioning profile. 15 16ITMS-90284: Invalid Code Signing - The executable 'com.xxx.otsumami.pkg/Payload/おつまみ.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libffmpeg.dylib' must be signed with the certificate that is contained in the provisioning profile. 17 18ITMS-90284: Invalid Code Signing - The executable 'com.xxx.otsumami.pkg/Payload/おつまみ.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libswiftshader_libEGL.dylib' must be signed with the certificate that is contained in the provisioning profile. 19 20ITMS-90284: Invalid Code Signing - The executable 'com.xxx.otsumami.pkg/Payload/おつまみ.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libswiftshader_libGLESv2.dylib' must be signed with the certificate that is contained in the provisioning profile. 21 22ITMS-90284: Invalid Code Signing - The executable 'com.xxx.otsumami.pkg/Payload/おつまみ.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libvk_swiftshader.dylib' must be signed with the certificate that is contained in the provisioning profile. 23 24ITMS-90284: Invalid Code Signing - The executable 'com.xxxx.otsumami.pkg/Payload/おつまみ.app/Contents/Frameworks/おつまみ Helper (GPU).app/Contents/MacOS/おつまみ Helper (GPU)' must be signed with the certificate that is contained in the provisioning profile. 25 26ITMS-90284: Invalid Code Signing - The executable 'com.xxx.otsumami.pkg/Payload/おつまみ.app/Contents/Frameworks/おつまみ Helper (Plugin).app/Contents/MacOS/おつまみ Helper (Plugin)' must be signed with the certificate that is contained in the provisioning profile. 27 28ITMS-90284: Invalid Code Signing - The executable 'com.xxx.otsumami.pkg/Payload/おつまみ.app/Contents/Frameworks/おつまみ Helper (Renderer).app/Contents/MacOS/おつまみ Helper (Renderer)' must be signed with the certificate that is contained in the provisioning profile. 29 30ITMS-90284: Invalid Code Signing - The executable 'com.xxx.otsumami.pkg/Payload/おつまみ.app/Contents/Frameworks/おつまみ Helper.app/Contents/MacOS/おつまみ Helper' must be signed with the certificate that is contained in the provisioning profile. 31 32ITMS-90284: Invalid Code Signing - The executable 'com.xxx.otsumami.pkg/Payload/おつまみ.app/Contents/Library/LoginItems/おつまみ Login Helper.app/Contents/MacOS/おつまみ Login Helper' must be signed with the certificate that is contained in the provisioning profile. 33 34ITMS-90236: Missing required icon - The application bundle does not contain an icon in ICNS format, containing both a 512x512 and a 512x512@2x image. For further assistance, see the Apple Human Interface Guidelines at https://developer.apple.com/macos/human-interface-guidelines/icons-and-images/app-icon 35 36Best regards, 37 38The App Store Team

vue-cli-plugin-electron-builderを使っているのでpackage.jsonのbuildはvue.config.jsonに書いていて以下のようになっています。

vueconfigjson

1module.exports = { 2 pluginOptions: { 3 electronBuilder: { 4 preload: "src/preload.js", 5 builderOptions:{ 6 appId:'com.yoshiya.otsumami', 7 forceCodeSigning:true, 8 productName:"おつまみ", 9 files:["background.js","build/*/**","node_modules","otsumami.provisionprofile"], 10 mac: { 11 type: "distribution", 12 target:["mas","pkg","dmg"], 13 icon: 'icon.png', 14 category:"public.app-category.utilities", 15 provisioningProfile: "otsumami.provisionprofile" 16 }, 17 mas: { 18 hardenedRuntime : false, 19 type: "distribution", 20 category: "public.app-category.utilities", 21 entitlements: "build/entitlements.mas.plist", 22 entitlementsInherit: "build/entitlements.mas.inherit.plist", 23 icon:'icon.png' 24 }, 25 }, 26 } 27 } 28}; 29

ディレクトリはこのようになっています。
ディレクトリ構成

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだ回答がついていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問