iOS - 多设备混合应用程序错误代码65的分发构建失败

时间:2014-09-25 21:04:33

标签: ios distribution profile visual-studio-cordova

我正在尝试在分发模式下构建多设备混合应用程序,并收到以下错误:

C:\Users\szumpf\AppData\Roaming\npm\node_modules\vs-mda\node_modules\q\q.js:126
                throw e;
 ReferenceError: interval is not defined
 at throwErrorAfterDelay (C:\Users\szumpf\AppData\Roaming\npm\node_modules\vs-mda\lib\remoteBuild.js:249:20)
 at C:\Users\szumpf\AppData\Roaming\npm\node_modules\vs-mda\lib\remoteBuild.js:51:111
 at _fulfilled (C:\Users\szumpf\AppData\Roaming\npm\node_modules\vs-mda\node_modules\q\q.js:787:54)
 at self.promiseDispatch.done (C:\Users\szumpf\AppData\Roaming\npm\node_modules\vs-mda\node_modules\q\q.js:816:30)
 at Promise.promise.promiseDispatch (C:\Users\szumpf\AppData\Roaming\npm\node_modules\vs-mda\node_modules\q\q.js:749:13)
 at C:\Users\szumpf\AppData\Roaming\npm\node_modules\vs-mda\node_modules\q\q.js:557:44
 at flush (C:\Users\szumpf\AppData\Roaming\npm\node_modules\vs-mda\node_modules\q\q.js:108:17)
 at process._tickCallback (node.js:415:13)

 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch arm64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c99 -fobjc-arc -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -miphoneos-version-min=6.0 -iquote /Users/shanezumpf/remote-builds/623/cordovaApp/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Cordova-generated-files.hmap -I/Users/

调试或发布配置中没有发生这种情况,因为这些配置正常。我确实为此应用程序的分发设置了配置文件。

1 个答案:

答案 0 :(得分:1)

发生此错误是因为我的config.xml文件中的应用程序ID出现拼写错误,并且与分发配置文件关联的应用程序ID不匹配。我希望报告的错误能够更好地解释为此应用程序找不到配置文件,但至少如果其他人遇到同样的问题,您将有一个地方可以检查。