Closed delanick closed 6 years ago
Hey @delanick,
You are absolutely right about the way we are handling cloud build quota. I will look into it as if this has changed, then this is a bug and a critical one.
I tested on a couple of machines and could not reproduce this problem. Can you send the log files that Sidekick created during a session in which you reproduced this? You can find the logs files in:
In case you are not sure which files to send and the problem still occurs, you can delete all old log files, reproduce the problem and send me the newly created files.
Additionally, can you send me the package.json of your application?
@tsvetie will send once the problem occurs again, thanks.
@tsvetie Here you go:
I had Clean Build unselected and started on 75 Cloud Builds remaining, after the build on 74 remain.
[18-07-27 08:54:47.057] Build started.
[18-07-27 08:54:47.081] (CLI) Executing before-watch hook from /Users/nickdelahunt/Documents/OneDrive/wigital/Mobile apps/MobiWasSA/Project FIles/MobiWash/MobiWashSA/hooks/before-watch/nativescript-dev-sass.js
[18-07-27 08:54:47.140] (CLI) Found peer node-sass
[18-07-27 08:54:48.809] (CLI) Executing before-prepare hook from /Users/nickdelahunt/Documents/OneDrive/wigital/Mobile apps/MobiWasSA/Project FIles/MobiWash/MobiWashSA/hooks/before-prepare/nativescript-dev-sass.js
[18-07-27 08:54:48.811] (CLI) Preparing project...
[18-07-27 08:54:48.815] (CLI) Executing before-prepareJSApp hook from /Users/nickdelahunt/Documents/OneDrive/wigital/Mobile apps/MobiWasSA/Project FIles/MobiWash/MobiWashSA/hooks/before-prepareJSApp/nativescript-dev-webpack.js
[18-07-27 08:54:49.512] (CLI) Project successfully prepared (iOS)
[18-07-27 08:54:49.514] (CLI) Executing after-prepare hook from /Users/nickdelahunt/Documents/OneDrive/wigital/Mobile apps/MobiWasSA/Project FIles/MobiWash/MobiWashSA/hooks/after-prepare/nativescript-dev-sass.js
[18-07-27 08:54:49.610] (CLI) Executing after-prepare hook from /Users/nickdelahunt/Documents/OneDrive/wigital/Mobile apps/MobiWasSA/Project FIles/MobiWash/MobiWashSA/hooks/after-prepare/nativescript-dev-webpack.js
[18-07-27 08:54:56.714] (CLI) Starting cloud build of '/Users/nickdelahunt/Documents/OneDrive/wigital/Mobile apps/MobiWasSA/Project FIles/MobiWash/MobiWashSA', platform: 'iOS', configuration: 'Debug', buildId: ecbf1688-cd11-4bfa-b34d-e4f01dd5986a.
[18-07-27 08:54:56.829] (CLI) Unable to apply changes on device: e7abe2b6b8f59f1e8974e3088b82ede981d5d99c. Error is: The specified provision: /Users/nickdelahunt/Downloads/MobiWashSA_Ad_Hoc_development.mobileprovision does not include the specified certificate: /Users/nickdelahunt/Documents/OneDrive/Certificates.p12. Please specify a different provision or certificate..
[18-07-27 08:54:56.834] Error detected during LiveSync on e7abe2b6b8f59f1e8974e3088b82ede981d5d99c for /Users/nickdelahunt/Documents/OneDrive/wigital/Mobile apps/MobiWasSA/Project FIles/MobiWash/MobiWashSA. Error: The specified provision: /Users/nickdelahunt/Downloads/MobiWashSA_Ad_Hoc_development.mobileprovision does not include the specified certificate: /Users/nickdelahunt/Documents/OneDrive/Certificates.p12. Please specify a different provision or certificate.
[18-07-27 08:54:56.839] Stopped LiveSync on e7abe2b6b8f59f1e8974e3088b82ede981d5d99c for /Users/nickdelahunt/Documents/OneDrive/wigital/Mobile apps/MobiWasSA/Project FIles/MobiWash/MobiWashSA.
[18-07-27 08:54:56.841] (CLI) Executing after-watch hook from /Users/nickdelahunt/Documents/OneDrive/wigital/Mobile apps/MobiWasSA/Project FIles/MobiWash/MobiWashSA/hooks/after-watch/nativescript-dev-sass.js
[18-07-27 08:54:56.841] (CLI) Stopping sass watch
[18-07-27 08:54:56.844] Couldn't enable debugging for e7abe2b6b8f59f1e8974e3088b82ede981d5d99c, Error: Couldn't enable debugging for e7abe2b6b8f59f1e8974e3088b82ede981d5d99c
at Errors.fail (/usr/local/lib/node_modules/nativescript/lib/common/errors.js:125:28)
at Errors.failWithoutHelp (/usr/local/lib/node_modules/nativescript/lib/common/errors.js:135:21)
at LiveSyncService.MobiWashSA.xcworkspace
for this project from now on.
[18-07-27 09:01:07.319] (CLI) Pod installation complete! There are 5 dependencies from the Podfile and 5 total pods installed.
[18-07-27 09:01:07.319] (CLI) Automatically assigning platform ios
with version 8.0
on target MobiWashSA
because no platform was specified. Please specify a platform for this target in your Podfile. See https://guides.cocoapods.org/syntax/podfile.html#platform
.
[18-07-27 09:01:08.695] (CLI) Project successfully prepared (ios)
[18-07-27 09:01:08.695] (CLI) Executing after-prepare hook from /private/tmp/builds//add3ca2e1becb044ba220c80996ea13cd563407f/4.1.2/MobiWashSA/hooks/after-prepare/nativescript-dev-sass.js
[18-07-27 09:01:08.695] (CLI) All SASS source files removed from app package
[18-07-27 09:01:08.695] (CLI) Executing after-prepare hook from /private/tmp/builds/_/add3ca2e1becb044ba220c80996ea13cd563407f/4.1.2/MobiWashSA/hooks/after-prepare/nativescript-dev-webpack.js
[18-07-27 09:01:10.380] (CLI) Build for Device
[18-07-27 09:01:10.380] (CLI) 1 identity imported.
[18-07-27 09:01:10.380] (CLI) keychain: \"/Users/builder/Library/Keychains/2ce872fa-d4e4-4c66-984c-7252feb96f5b-db\"
[18-07-27 09:01:10.380] (CLI) version: 512
[18-07-27 09:01:10.380] (CLI) class: 0x00000010
[18-07-27 09:01:10.380] (CLI) attributes:
[18-07-27 09:01:10.380] (CLI) 0x00000000 MMNumberKeyboard
from https://github.com/EddyVerbruggen/MMNumberKeyboard.git
, commit be63229b25ad3aa6f85c7ba481d5031db73fc736
[18-07-30 12:39:43.203] (CLI) Downloading dependencies
[18-07-30 12:39:43.203] (CLI) Installing IQKeyboardManager (5.0.8)
[18-07-30 12:39:43.203] (CLI) Installing MMNumberKeyboard (0.1.5)
[18-07-30 12:39:43.203] (CLI) Installing MNFloatingActionButton (2.0.0)
[18-07-30 12:39:43.203] (CLI) Generating Pods project
[18-07-30 12:39:43.203] (CLI) Integrating client project
[18-07-30 12:39:43.203] (CLI) [!] Please close any current Xcode sessions and use JacsPack.xcworkspace
for this project from now on.
[18-07-30 12:39:43.203] (CLI) Pod installation complete! There are 3 dependencies from the Podfile and 3 total pods installed.
[18-07-30 12:39:43.203] (CLI) Automatically assigning platform ios
with version 8.0
on target JacsPack
because no platform was specified. Please specify a platform for this target in your Podfile. See https://guides.cocoapods.org/syntax/podfile.html#platform
.
[18-07-30 12:39:44.981] (CLI) Project successfully prepared (ios)
[18-07-30 12:39:44.981] (CLI) Executing after-prepare hook from /private/tmp/builds/_/91c8f8f263bdd7925bdb662b2cfa010fe5ab402e/4.1.2/JacsPack/hooks/after-prepare/nativescript-dev-webpack.js
[18-07-30 12:39:44.981] (CLI) Build for Device
[18-07-30 12:39:44.981] (CLI) 1 identity imported.
[18-07-30 12:39:44.981] (CLI) keychain: \"/Users/builder/Library/Keychains/9fca7c57-2a89-44f2-aefc-89cd52dab909-db\"
[18-07-30 12:39:44.981] (CLI) version: 512
[18-07-30 12:39:44.981] (CLI) class: 0x00000010
[18-07-30 12:39:44.981] (CLI) attributes:
[18-07-30 12:39:44.981] (CLI) 0x00000000 MMNumberKeyboard
from https://github.com/EddyVerbruggen/MMNumberKeyboard.git
, commit be63229b25ad3aa6f85c7ba481d5031db73fc736
[18-07-30 15:11:31.402] (CLI) Downloading dependencies
[18-07-30 15:11:31.402] (CLI) Installing IQKeyboardManager (5.0.8)
[18-07-30 15:11:31.402] (CLI) Installing MMNumberKeyboard (0.1.5)
[18-07-30 15:11:31.402] (CLI) Installing MNFloatingActionButton (2.0.0)
[18-07-30 15:11:31.402] (CLI) Generating Pods project
[18-07-30 15:11:31.402] (CLI) Integrating client project
[18-07-30 15:11:31.402] (CLI) [!] Please close any current Xcode sessions and use JacsPack.xcworkspace
for this project from now on.
[18-07-30 15:11:31.402] (CLI) Pod installation complete! There are 3 dependencies from the Podfile and 3 total pods installed.
[18-07-30 15:11:31.402] (CLI) Automatically assigning platform ios
with version 8.0
on target JacsPack
because no platform was specified. Please specify a platform for this target in your Podfile. See https://guides.cocoapods.org/syntax/podfile.html#platform
.
[18-07-30 15:11:31.402] (CLI) Project successfully prepared (ios)
[18-07-30 15:11:31.402] (CLI) Executing after-prepare hook from /private/tmp/builds/_/91c8f8f263bdd7925bdb662b2cfa010fe5ab402e/4.1.2/JacsPack/hooks/after-prepare/nativescript-dev-webpack.js
[18-07-30 15:11:31.402] (CLI) Build for Device
[18-07-30 15:11:31.402] (CLI) 1 identity imported.
[18-07-30 15:11:31.402] (CLI) keychain: \"/Users/builder/Library/Keychains/60b19ed3-f14b-4d32-967b-7262b5890f5d-db\"
[18-07-30 15:11:31.402] (CLI) version: 512
[18-07-30 15:11:31.402] (CLI) class: 0x00000010
[18-07-30 15:11:31.402] (CLI) attributes:
[18-07-30 15:11:31.402] (CLI) 0x00000000 MMNumberKeyboard
from https://github.com/EddyVerbruggen/MMNumberKeyboard.git
, commit be63229b25ad3aa6f85c7ba481d5031db73fc736
[18-07-30 15:22:09.483] (CLI) Downloading dependencies
[18-07-30 15:22:09.483] (CLI) Installing IQKeyboardManager (5.0.8)
[18-07-30 15:22:09.483] (CLI) Installing MMNumberKeyboard (0.1.5)
[18-07-30 15:22:09.483] (CLI) Installing MNFloatingActionButton (2.0.0)
[18-07-30 15:22:09.483] (CLI) Generating Pods project
[18-07-30 15:22:09.483] (CLI) Integrating client project
[18-07-30 15:22:09.483] (CLI) [!] Please close any current Xcode sessions and use JacsPack.xcworkspace
for this project from now on.
[18-07-30 15:22:09.483] (CLI) Pod installation complete! There are 3 dependencies from the Podfile and 3 total pods installed.
[18-07-30 15:22:09.483] (CLI) Automatically assigning platform ios
with version 8.0
on target JacsPack
because no platform was specified. Please specify a platform for this target in your Podfile. See https://guides.cocoapods.org/syntax/podfile.html#platform
.
[18-07-30 15:22:09.483] (CLI) Project successfully prepared (ios)
[18-07-30 15:22:09.483] (CLI) Executing after-prepare hook from /private/tmp/builds/_/91c8f8f263bdd7925bdb662b2cfa010fe5ab402e/4.1.2/JacsPack/hooks/after-prepare/nativescript-dev-webpack.js
[18-07-30 15:22:09.483] (CLI) Build for Device
[18-07-30 15:22:11.230] (CLI) 1 identity imported.
[18-07-30 15:22:11.230] (CLI) keychain: \"/Users/builder/Library/Keychains/0fac16a0-0d22-411e-adbf-3b06d352e83b-db\"
[18-07-30 15:22:11.230] (CLI) version: 512
[18-07-30 15:22:11.230] (CLI) class: 0x00000010
[18-07-30 15:22:11.230] (CLI) attributes:
[18-07-30 15:22:11.230] (CLI) 0x00000000 MMNumberKeyboard
from https://github.com/EddyVerbruggen/MMNumberKeyboard.git
, commit be63229b25ad3aa6f85c7ba481d5031db73fc736
[18-07-30 15:29:38.261] (CLI) Downloading dependencies
[18-07-30 15:29:38.261] (CLI) Installing IQKeyboardManager (5.0.8)
[18-07-30 15:29:38.261] (CLI) Installing MMNumberKeyboard (0.1.5)
[18-07-30 15:29:38.261] (CLI) Installing MNFloatingActionButton (2.0.0)
[18-07-30 15:29:38.261] (CLI) Generating Pods project
[18-07-30 15:29:38.261] (CLI) Integrating client project
[18-07-30 15:29:38.261] (CLI) [!] Please close any current Xcode sessions and use JacsPack.xcworkspace
for this project from now on.
[18-07-30 15:29:38.261] (CLI) Pod installation complete! There are 3 dependencies from the Podfile and 3 total pods installed.
[18-07-30 15:29:38.261] (CLI) Automatically assigning platform ios
with version 8.0
on target JacsPack
because no platform was specified. Please specify a platform for this target in your Podfile. See https://guides.cocoapods.org/syntax/podfile.html#platform
.
[18-07-30 15:29:39.841] (CLI) Project successfully prepared (ios)
[18-07-30 15:29:39.841] (CLI) Executing after-prepare hook from /private/tmp/builds/_/91c8f8f263bdd7925bdb662b2cfa010fe5ab402e/4.1.2/JacsPack/hooks/after-prepare/nativescript-dev-webpack.js
[18-07-30 15:29:39.841] (CLI) Build for Device
[18-07-30 15:29:39.841] (CLI) 1 identity imported.
[18-07-30 15:29:39.841] (CLI) keychain: \"/Users/builder/Library/Keychains/268b7c95-fd53-4232-81ea-76a89e6c8cdc-db\"
[18-07-30 15:29:39.841] (CLI) version: 512
[18-07-30 15:29:39.841] (CLI) class: 0x00000010
[18-07-30 15:29:39.841] (CLI) attributes:
[18-07-30 15:29:39.841] (CLI) 0x00000000
Hey @delanick,
I am guessing that you copied the log text from Sidekick Output. The log files that I requested contain a bit more information about what happened than the information in Output. If you can send me these files, I will be able to better understand what happens on your side. The logs files are located in:
Windows: %AppData%\NativeScriptSidekick\Logs macOS: ~/Library/Application Support/NativeScriptSidekick/Logs Linux: ~/.config/NativeScriptSidekick/Logs
@tsvetie will do asap!
Closing the issue due to inactivity. Please, consider opening a new issue if you continue to experience the problem with the latest version of NativeScript Sidekick.
Since I updated to the latest version of Sidekick, it's reducing my cloud build quota even when not doing clean builds and when the app is already installed on the device and only JS files have changed. Why did you guys change this? Sidekick should only be doing cloud builds when assets, plugins or changes to package.json happen, not when I change a .js file in my project. I'm losing my cloud build quota at a rapid pace for no reason. Please explain!