2014-09-25 87 views
0

我試圖建立分銷模式下的多設備的混合應用,並正在以下錯誤混合應用程序錯誤代碼分發構建失敗:的iOS的多設備65

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/ 

這是不存在的在調試或發佈配置,因爲那些正在建設的罰款。我確實有針對此應用分發的配置文件設置。

+0

您能否提供整個異常,以便可以查看引發異常的組件。 – Owre 2014-09-26 12:38:58

+0

嗨Ower - 我已經更新,包括整個例外。謝謝您的幫助。 – szumpf 2014-09-26 14:19:23

+0

您在Mac端使用哪個版本的XCode? – Priyank 2014-09-26 19:56:40

回答

1

發生此錯誤是因爲我的config.xml文件中的應用程序ID存在拼寫錯誤,並且與分配供應配置文件關聯的應用程序ID不匹配。我希望報告中的錯誤能夠更好地解釋爲此應用程序無法找到供應配置文件,但至少如果其他人遇到同樣的問題,您將需要在某處查看。