2012-06-21 50 views
0

我正在使用cordova 1.7.0。我的應用程序運行良好的模擬器,但消息的到來猶如cordova 1.7.0設置信息錯誤

Error: executing module function 'setInfo' in module 'cordova/plugin/ios/device'. Have you included the iOS version of the cordova-1.7.0.js file? 

我已經包括

<script type="text/javascript" charset="utf8" src="[location of cordova.ios(for ios)]"></script> 

index.html中,但沒有work.Plz幫助。

回答

1

js的路徑必定有問題。 index.html文件被讀取? 您的www文件夾可能是一組而不是reference folder

轉到step by step

+0

我已經在引用文件夾,現在它工作正常進行的錯誤 –

0

這當加載頁面時的科爾多瓦文件無法正常使用一般發生。您可以通過在Chrome中打開index.html(或您的開始頁面)來檢查它是否正確引用,並檢查檢查元素是否已加載所有資源並且沒有錯誤。

0

來解決這個問題,只要按照步驟圖片You need to check this again