这是我的第一个混合应用程序。我收到了大约十几条错误消息
/ MARK: Properties
@IBOutlet weak var textInput: UITextField!
@IBOutlet weak var labelTop: UILabel!
override func viewDidLoad() {
super.viewDidLoad()
textInput.delegate = self
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
// MARK: UITextFieldDelegate
func textFieldShouldReturn(textField: UITextField) -> Bool {
textField.resignFirstResponder()
return true
}
func textFieldDidEndEditing(textField: UITextField) {
if (textInput != nil){
labelTop.text = "Searching for \(textField.text)"
textInput.enabled = false
}
}
整个网络上只有1 search result。
我的目标平台是Windows 8.1。我正在使用PhoneGap 5.4.0。
奇怪,我再试一次,但现在我得到了一个不同的错误。没有提到错误是什么。可怕的软件。
labelTop.text = "Searching for \(textField.text)"
我设法获得了堆栈跟踪。
C:\Users\Chloe\workspace\TypeFunctions>phonegap remote build ios
[phonegap] compressing the app...
rm: could not remove file (code EBUSY): C:\Users\Chloe\workspace\TypeFunctions\build\www/lib/images/icons-svg/mail-black.svg
EBUSY和ENOTEMPTY错误是由guard
运行引起的。有可能让它与-w option一起运行。
我仍然没有理由得到C:\Users\Chloe\workspace\TypeFunctions>phonegap remote build ios
[phonegap] compressing the app...
skipping existing file: mail-black.svg
skipping existing file: tag-white.svg
skipping existing file: user-black.svg
skipping existing file: user-white.svg
[phonegap] uploading the app...
[phonegap] building the app...
[error] error occured while building the ios app
。我正在使用PhoneGap CLI和PhoneGap Build。我认为这部分是显而易见的,提供了实际的命令行。目标平台是iOS。我以为这也是命令行送出的。 Error: ENOTEMPTY: directory not empty, rmdir 'C:\Users\Chloe\workspace\TypeFunctions\build'
at rethrow (fs.js:48:21)
at maybeCallback (fs.js:66:42)
at Object.fs.rmdir (fs.js:797:14)
at Object.module.exports.cleanup (C:\Users\Chloe\AppData\Roaming\npm\node_modules\phonegap\node_modules\phonegap-build\lib\phonegap-build\create\zip.js:119:16)
at Object.callback (C:\Users\Chloe\AppData\Roaming\npm\node_modules\phonegap\node_modules\phonegap-build\lib\phonegap-build\build\remote.js:71:21)
at Request._callback (C:\Users\Chloe\AppData\Roaming\npm\node_modules\phonegap\node_modules\phonegap-build-api\lib\api.js:229:26)
at Request.self.callback (C:\Users\Chloe\AppData\Roaming\npm\node_modules\phonegap\node_modules\phonegap-build-api\node_modules\request\main.js:122:22)
at emitTwo (events.js:87:13)
at Request.emit (events.js:172:7)
at Request. (C:\Users\Chloe\AppData\Roaming\npm\node_modules\phonegap\node_modules\phonegap-build-api\node_modules\request\main.js:655:16)
中的(默认)[error] error occured while building the ios app
代码为
platform
该应用是使用jQuery template和命令config.xml
创建的,然后进行了修改。