How do I perform a remote build for iOS using PhoneGap on Windows? I get this error, but no useful error messages.
C:\Users\Chloe\workspace\TypeFunctions>phonegap remote build ios
[phonegap] compressing the app...
skipping existing file: tag-black.svg
[phonegap] uploading the app...
[phonegap] building the app...
[error] error occured while building the ios app
Also see http://stackoverflow.com/questions/34...
C:\Users\Chloe\workspace\TypeFunctions>phonegap remote build ios
[phonegap] compressing the app...
skipping existing file: tag-black.svg
[phonegap] uploading the app...
[phonegap] building the app...
[error] error occured while building the ios app
Also see http://stackoverflow.com/questions/34...
- 3 Posts
- 0 Reply Likes
- Disappointed
Posted 4 years ago
- 3 Posts
- 0 Reply Likes
It also gives these errors 9 times out of 10.
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/minus-white.svg
rm: could not remove file (code EBUSY): C:\Users\Chloe\workspace\TypeFunctions\build\www/lib/images/icons-svg/minus-white.svg
rm: could not remove directory (code ENOTEMPTY): C:\Users\Chloe\workspace\TypeFunctions\build\www/lib/images/icons-svg
rm: could not remove file (code EBUSY): C:\Users\Chloe\workspace\TypeFunctions\build\www/lib/images/icons-svg/minus-white.svg
rm: could not remove directory (code ENOTEMPTY): C:\Users\Chloe\workspace\TypeFunctions\build\www/lib/images/icons-svg
rm: could not remove directory (code ENOTEMPTY): C:\Users\Chloe\workspace\TypeFunctions\build\www/lib/images
rm: could not remove file (code EBUSY): C:\Users\Chloe\workspace\TypeFunctions\build\www/lib/images/icons-svg/minus-white.svg
rm: could not remove directory (code ENOTEMPTY): C:\Users\Chloe\workspace\TypeFunctions\build\www/lib/images/icons-svg
rm: could not remove directory (code ENOTEMPTY): C:\Users\Chloe\workspace\TypeFunctions\build\www/lib/images
rm: could not remove directory (code ENOTEMPTY): C:\Users\Chloe\workspace\TypeFunctions\build\www/lib
rm: could not remove file (code EBUSY): C:\Users\Chloe\workspace\TypeFunctions\build\www/lib/images/icons-svg/minus-white.svg
rm: could not remove directory (code ENOTEMPTY): C:\Users\Chloe\workspace\TypeFunctions\build\www/lib/images/icons-svg
rm: could not remove directory (code ENOTEMPTY): C:\Users\Chloe\workspace\TypeFunctions\build\www/lib/images
rm: could not remove directory (code ENOTEMPTY): C:\Users\Chloe\workspace\TypeFunctions\build\www/lib
rm: could not remove directory (code ENOTEMPTY): C:\Users\Chloe\workspace\TypeFunctions\build\www
[phonegap] uploading the app...
[phonegap] building the app...
fs.js:60
throw err; // Forgot a callback but don't know where? Use NODE_DEBUG=fs
^
Error: ENOTEMPTY: directory not empty, rmdir 'C:\Users\Chloe\workspace\TypeFunctions\build'
at Error (native)
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/minus-white.svg
rm: could not remove file (code EBUSY): C:\Users\Chloe\workspace\TypeFunctions\build\www/lib/images/icons-svg/minus-white.svg
rm: could not remove directory (code ENOTEMPTY): C:\Users\Chloe\workspace\TypeFunctions\build\www/lib/images/icons-svg
rm: could not remove file (code EBUSY): C:\Users\Chloe\workspace\TypeFunctions\build\www/lib/images/icons-svg/minus-white.svg
rm: could not remove directory (code ENOTEMPTY): C:\Users\Chloe\workspace\TypeFunctions\build\www/lib/images/icons-svg
rm: could not remove directory (code ENOTEMPTY): C:\Users\Chloe\workspace\TypeFunctions\build\www/lib/images
rm: could not remove file (code EBUSY): C:\Users\Chloe\workspace\TypeFunctions\build\www/lib/images/icons-svg/minus-white.svg
rm: could not remove directory (code ENOTEMPTY): C:\Users\Chloe\workspace\TypeFunctions\build\www/lib/images/icons-svg
rm: could not remove directory (code ENOTEMPTY): C:\Users\Chloe\workspace\TypeFunctions\build\www/lib/images
rm: could not remove directory (code ENOTEMPTY): C:\Users\Chloe\workspace\TypeFunctions\build\www/lib
rm: could not remove file (code EBUSY): C:\Users\Chloe\workspace\TypeFunctions\build\www/lib/images/icons-svg/minus-white.svg
rm: could not remove directory (code ENOTEMPTY): C:\Users\Chloe\workspace\TypeFunctions\build\www/lib/images/icons-svg
rm: could not remove directory (code ENOTEMPTY): C:\Users\Chloe\workspace\TypeFunctions\build\www/lib/images
rm: could not remove directory (code ENOTEMPTY): C:\Users\Chloe\workspace\TypeFunctions\build\www/lib
rm: could not remove directory (code ENOTEMPTY): C:\Users\Chloe\workspace\TypeFunctions\build\www
[phonegap] uploading the app...
[phonegap] building the app...
fs.js:60
throw err; // Forgot a callback but don't know where? Use NODE_DEBUG=fs
^
Error: ENOTEMPTY: directory not empty, rmdir 'C:\Users\Chloe\workspace\TypeFunctions\build'
at Error (native)
- 3 Posts
- 0 Reply Likes
I managed to get a stack trace.
C:\Users\Chloe\workspace\TypeFunctions>phonegap --verbose 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/arrow-d-l-black.svg
...
rm: could not remove directory (code ENOTEMPTY): C:\Users\Chloe\workspace\TypeFunctions\build\www
[phonegap] uploading the app...
[phonegap] building the app...
fs.js:53
throw backtrace;
^
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)
C:\Users\Chloe\workspace\TypeFunctions>phonegap --verbose 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/arrow-d-l-black.svg
...
rm: could not remove directory (code ENOTEMPTY): C:\Users\Chloe\workspace\TypeFunctions\build\www
[phonegap] uploading the app...
[phonegap] building the app...
fs.js:53
throw backtrace;
^
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)
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
@starrychloe,
this appears to be your first post on this forum. This forum is also known as the "nitobi forum" or the "Phonegap Build forum". Your question is a CLI question, or a "Phonegap CLI question".
As such, please post your question to the Google Group of Cordova/Phonegap for an answer.
TIA
Jesse
this appears to be your first post on this forum. This forum is also known as the "nitobi forum" or the "Phonegap Build forum". Your question is a CLI question, or a "Phonegap CLI question".
As such, please post your question to the Google Group of Cordova/Phonegap for an answer.
TIA
Jesse
Related Categories
-
PhoneGap Build
- 15111 Conversations
- 274 Followers

