Macos 苹果不再接受使用QuickTime或Electron应用程序的QTKit API提交的应用程序

Macos 苹果不再接受使用QuickTime或Electron应用程序的QTKit API提交的应用程序,macos,electron,Macos,Electron,我收到了苹果公司的以下电子邮件 Deprecated API Usage - Apple no longer accepts submissions of apps that use QuickTime or QTKit APIs. Once these issues have been corrected, you can then redeliver the corrected binary. 我使用的是电子,并已通过此处引用注册了应用程序 如何找到QuickTime或QTKit,

我收到了苹果公司的以下电子邮件

 Deprecated API Usage - Apple no longer accepts submissions of apps that use QuickTime or QTKit APIs.
 Once these issues have been corrected, you can then redeliver the corrected binary. 
我使用的是电子,并已通过此处引用注册了应用程序

如何找到QuickTime或QTKit,有没有办法删除它

我用了0.34.3的电子 我使用了这个存储库

构建shell在这里

#! /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"
#/bin/bash
APP=“HogeApp”
APP_ID=“com.md note.HogeApp”
APP_PATH=“HogeApp.APP”
FRAMEWORKS_PATH=“$APP_PATH/Contents/FRAMEWORKS”
APP_KEY=“第三方Mac开发者应用程序:Xxx Yyy(XXXXXXXXX)”
安装程序\u KEY=“第三方Mac开发者安装程序: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“/CFBundleIdentifier/N;s#\(CFBundleIdentifier.*\).\(\)\1${APP_ID}\2#”“。/HogeApp-darwin-x64/HogeApp.APP/Contents/Info.plist”
sed-i-e“/CbundleShortVersionString/N;s#\(CbundleShortVersionString.*\).\(\)\1${APP\u VERSION}\2#”“。/HogeApp-darwin-x64/HogeApp.APP/Contents/Info.plist”
sed-i-e“/CbundLeverVersion/N;s#\(CbundLeverVersion.*\).\(\)\1${APP#u VERSION}\2'./HogeApp-darwin-x64/HogeApp.APP/Contents/Info.plist”
sed-i-e“/CbundleIdentifier/N;s#\(CbundleIdentifier.*\).\(\)\1${APP#u ID}.helper.EH\2#”“./HogeApp-darwin-x64/HogeApp.APP/Contents/Frameworks/HogeApp helper EH.APP/Contents/Info.plist”
sed-i-e“/CbundleIdentifier/N;s#\(CbundleIdentifier.*\).\(\)\1${APP#u ID}.helper.NP\2#”“./HogeApp-darwin-x64/HogeApp.APP/Contents/Frameworks/HogeApp-helper-NP.APP/Contents/Info.plist”
sed-i-e“/CbundleIdentifier/N;s#\(CbundleIdentifier.*\).\(\)\1${APP#u 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
代码设计--deep-fs“$APP_KEY”--授权../macosx/child.plist“$FRAMEWORKS_PATH/Electron Framework.Framework/libnode.dylib”
代码设计--deep-fs“$APP_KEY”--授权../macosx/child.plist“$FRAMEWORKS\u PATH/Electron Framework.Framework/Electron Framework”
代码设计--deep-fs“$APP_KEY”--授权../macosx/child.plist“$FRAMEWORKS\u PATH/Electron Framework.Framework/”
代码设计--deep-fs“$APP_KEY”--权限../macosx/child.plist“$FRAMEWORKS_PATH/$APP Helper.APP/”
#代码设计--deep-fs“$APP_KEY”--权限../macosx/child.plist“$FRAMEWORKS_PATH/$APP Helper EH.APP/”
#代码设计--deep-fs“$APP_KEY”--权限../macosx/child.plist“$FRAMEWORKS_PATH/$APP Helper NP.APP/”
代码设计--deep-fs“$APP_KEY”--授权../macosx/parent.plist HogeApp.APP
productbuild--compone`在此处输入代码`nt“HogeApp.app”/Applications--签署“$INSTALLER\u KEY”“HogeApp.pkg”

这已在最新版本的Electron MAS中更正,只需更新并重新提交即可

谢谢。我的成绩是0.34.1。我们将尝试0.34.3。您是否100%确定您使用的是Electron的MAS(Mac App Store)版本,而不是临时版本?我认为它确实存在。应用程序版本显示为Hello world。我们正在使用节点4.1.1、Chrome 45.0.2454.85和Electron 0.34.3