-
-
Notifications
You must be signed in to change notification settings - Fork 198
Closed
Description
tns build --bundle does not run webpack if i build for real iOS device with different options.
Steps to reproduce:
tns create TestApp --ng
tns build ios --path TestApp --bundle --release --provision NativeScriptDevProfile --for-device
tns build ios --path TestApp --bundle --release --provision NativeScriptDevProfile --for-device --env.uglify
Result:
After a second build the only log is:
Executing before-shouldPrepare hook from /Users/topuzov/Git/nativescript-cli-tests/TestApp/hooks/before-shouldPrepare/nativescript-dev-webpack.js
Skipping prepare.
Building project...
Xcode build...
=== BUILD TARGET TestApp OF PROJECT TestApp WITH CONFIGURATION Release ===
warning: skipping copy phase strip, binary is code signed: /Users/topuzov/Git/nativescript-cli-tests/TestApp/node_modules/tns-core-modules-widgets/platforms/ios/TNSWidgets.framework/TNSWidgets
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip /Users/topuzov/Git/nativescript-cli-tests/TestApp/node_modules/tns-core-modules-widgets/platforms/ios/TNSWidgets.framework/TNSWidgets -r -o /Users/topuzov/Library/Developer/Xcode/DerivedData/TestApp-decyjwnjsgfzbefuhorqozwouret/Build/Intermediates.noindex/ArchiveIntermediates/TestApp/InstallationBuildProductsLocation/Applications/TestApp.app/Frameworks/TNSWidgets.framework/TNSWidgets
Xcode build...
2018-03-02 16:30:16.689 xcodebuild[96153:1240056] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/b9/9dy06b4n2g13w7y2ltjwpdvnd55qr0/T/TestApp_2018-03-02_16-30-16.688.xcdistributionlogs'.
Exported TestApp.xcarchive to: /Users/topuzov/Git/nativescript-cli-tests/TestApp/platforms/ios/build/device
Project successfully built.
Notes:
- This issue does not happen if you build for simulators
- This issue does not happens if you build for device but you specify TEAM_ID and do not pass provision.