2015-11-08 1 views
2

J'ai reçu le courriel suivant d'Apple. J'utilise l'Electron, et a enregistré l'application par la référence ici.Apple n'accepte plus les soumissions d'applications qui utilisent les API QuickTime ou QTKit d'Electron App

https://github.com/atom/electron/blob/master/docs/tutorial/mac-app-store-submission-guide.md

Comment trouver un QuickTime ou QTKit, est-il un moyen de le supprimer?

J'ai utilisé 0.34.3 de l'électronique et j'ai utilisé ce référentiel.

https://github.com/atom/electron-quick-start

coquille de construction est ici.

#! /bin/bash 

APP="HogeApp" 
APP_ID="com.md-note.HogeApp" 
APP_PATH="HogeApp.app" 
FRAMEWORKS_PATH="$APP_PATH/Contents/Frameworks" 
APP_KEY="3rd Party Mac Developer Application: Xxx Yyy (XXXXXXXXX)" 
INSTALLER_KEY="3rd Party Mac Developer Installer: Xxx Yyy (XXXXXXXXX)" 
APP_VERSION="1.0.3" 

electron-packager ./build/electron HogeApp --overwrite --platform=darwin --arch=x64 --version=0.34.3 --asar=true --icon=./build/electron/assets/icon.icns 

sed -i -e "/<key>CFBundleIdentifier<\/key>/N;s#\(<key>CFBundleIdentifier</key>.*<string>\).*\(</string>\)#\1${APP_ID}\2#" "./HogeApp-darwin-x64/HogeApp.app/Contents/Info.plist" 
sed -i -e "/<key>CFBundleShortVersionString<\/key>/N;s#\(<key>CFBundleShortVersionString</key>.*<string>\).*\(</string>\)#\1${APP_VERSION}\2#" "./HogeApp-darwin-x64/HogeApp.app/Contents/Info.plist" 
sed -i -e "/<key>CFBundleVersion<\/key>/N;s#\(<key>CFBundleVersion</key>.*<string>\).*\(</string>\)#\1${APP_VERSION}\2#" "./HogeApp-darwin-x64/HogeApp.app/Contents/Info.plist" 
sed -i -e "/<key>CFBundleIdentifier<\/key>/N;s#\(<key>CFBundleIdentifier</key>.*<string>\).*\(</string>\)#\1${APP_ID}.helper.EH\2#" "./HogeApp-darwin-x64/HogeApp.app/Contents/Frameworks/HogeApp Helper EH.app/Contents/Info.plist" 
sed -i -e "/<key>CFBundleIdentifier<\/key>/N;s#\(<key>CFBundleIdentifier</key>.*<string>\).*\(</string>\)#\1${APP_ID}.helper.NP\2#" "./HogeApp-darwin-x64/HogeApp.app/Contents/Frameworks/HogeApp Helper NP.app/Contents/Info.plist" 
sed -i -e "/<key>CFBundleIdentifier<\/key>/N;s#\(<key>CFBundleIdentifier</key>.*<string>\).*\(</string>\)#\1${APP_ID}.helper\2#" "./HogeApp-darwin-x64/HogeApp.app/Contents/Frameworks/HogeApp Helper.app/Contents/Info.plist" 

rm "./HogeApp-darwin-x64/HogeApp.app/Contents/Info.plist-e" 
rm "./HogeApp-darwin-x64/HogeApp.app/Contents/Frameworks/HogeApp Helper EH.app/Contents/Info.plist-e" 
rm "./HogeApp-darwin-x64/HogeApp.app/Contents/Frameworks/HogeApp Helper NP.app/Contents/Info.plist-e" 
rm "./HogeApp-darwin-x64/HogeApp.app/Contents/Frameworks/HogeApp Helper.app/Contents/Info.plist-e" 

rm -rf "./HogeApp-darwin-x64/HogeApp.app/Contents/Frameworks/Electron Framework.framework/Resources/crashpad_handler" 
rm -rf "./HogeApp-darwin-x64/HogeApp.app/Contents/Frameworks/Electron Framework.framework/Libraries" 
rm -rf "./HogeApp-darwin-x64/HogeApp.app/Contents/Frameworks/Squirrel.framework/Resources/ShipIt" 
rm -rf "./HogeApp-darwin-x64/HogeApp.app/Contents/Frameworks/HogeApp Helper EH.app" 
rm -rf "./HogeApp-darwin-x64/HogeApp.app/Contents/Frameworks/HogeApp Helper NP.app" 


cd HogeApp-darwin-x64 

codesign --deep -fs "$APP_KEY" --entitlements ../macosx/child.plist "$FRAMEWORKS_PATH/Electron Framework.framework/Libraries/libnode.dylib" 
codesign --deep -fs "$APP_KEY" --entitlements ../macosx/child.plist "$FRAMEWORKS_PATH/Electron Framework.framework/Electron Framework" 
codesign --deep -fs "$APP_KEY" --entitlements ../macosx/child.plist "$FRAMEWORKS_PATH/Electron Framework.framework/" 
codesign --deep -fs "$APP_KEY" --entitlements ../macosx/child.plist "$FRAMEWORKS_PATH/$APP Helper.app/" 
#codesign --deep -fs "$APP_KEY" --entitlements ../macosx/child.plist "$FRAMEWORKS_PATH/$APP Helper EH.app/" 
#codesign --deep -fs "$APP_KEY" --entitlements ../macosx/child.plist "$FRAMEWORKS_PATH/$APP Helper NP.app/" 
codesign --deep -fs "$APP_KEY" --entitlements ../macosx/parent.plist HogeApp.app 

productbuild --compone`enter code here`nt "HogeApp.app" /Applications --sign "$INSTALLER_KEY" "HogeApp.pkg" 

Répondre

0

Cette erreur est corrigée dans la dernière version de la version MAS électronique, à mettre à jour et soumettre à nouveau

+0

Merci. Je faisais en 0.34.1. Nous allons essayer 0.34.3. – shwld

+0

J'ai essayé en 0.34.3, mais c'était le même résultat. – shwld

+0

Êtes-vous sûr à 100% que vous utilisez la version MAS (Mac App Store) d'Electron et non la version ad-hoc? –