环境信息
$ weex -v
v1.1.0-beta.7
- weexpack : v1.0.18
- weex-builder : v0.2.13-beta.4
- weex-devtool : v0.3.2-beta.11
- weex-previewer : v1.3.13-beta.13
$ node -v
v6.4.0
$ npm -v
5.6.0
操作流程
weex init weex-demo
cd weex-demo
npm install
weex run ios
错误日志如下
localhost:weex-demo xxxxxxxx$ weex run ios
19:26:53 : npm run build
> weex@1.0.0 build /Users/xxxxxxxx/git.work.com/weexs/weex-demo
> webpack
Hash: bbaa4517a20c97f46b5c1d367dc1ed765cdc1099
Version: webpack 2.7.0
Child
Hash: bbaa4517a20c97f46b5c
Time: 2476ms
Asset Size Chunks Chunk Names
index.web.js 7.31 kB 0 [emitted] index
index.web.js.map 89 bytes 0 [emitted] index
[0] ./src/index.vue 1.75 kB {0} [built]
[1] ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/index.vue 401 bytes {0} [built]
[2] ./temp?entry=true 85 bytes {0} [built]
[3] ./~/css-loader?sourceMap!./~/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-09314b30","scoped":false,"hasInlineConfig":false}!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/index.vue 1.54 kB {0} [built]
[4] ./~/css-loader/lib/css-base.js 1.46 kB {0} [built]
[5] ./~/vue-loader/lib/component-normalizer.js 2.55 kB {0} [built]
[6] ./~/vue-loader/lib/template-compiler?{"id":"data-v-09314b30"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/index.vue 1.07 kB {0} [built]
[7] ./~/vue-style-loader!./~/css-loader?sourceMap!./~/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-09314b30","scoped":false,"hasInlineConfig":false}!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/index.vue 1.57 kB {0} [built]
[8] ./~/vue-style-loader/lib/addStylesClient.js 6.05 kB {0} [built]
[9] ./~/vue-style-loader/lib/listToStyles.js 639 bytes {0} [built]
Child
Hash: 1d367dc1ed765cdc1099
Time: 1485ms
Asset Size Chunks Chunk Names
index.js 2.1 kB 0 [emitted] index
[0] ./~/weex-vue-loader/lib/script-loader.js!./~/babel-loader/lib!./~/weex-vue-loader/lib/selector.js?type=script&index=0!./src/index.vue 401 bytes {0} [built]
[1] ./~/weex-vue-loader/lib/style-loader.js!./~/weex-vue-loader/lib/style-rewriter.js?id=data-v-2964abc9!./~/weex-vue-loader/lib/selector.js?type=styles&index=0!./src/index.vue 307 bytes {0} [built]
[2] ./~/weex-vue-loader/lib/template-compiler.js?id=data-v-2964abc9!./~/weex-vue-loader/lib/selector.js?type=template&index=0!./src/index.vue 543 bytes {0} [built]
[3] ./src/index.vue?entry=true 1.71 kB {0} [built]
19:26:57 : Move JSbundle to dist
19:26:57 : start iOS app
============Build Config============
AppName : WeexApp
Version : 0.1
BuildVersion : 0.1.0
AppId :
WeexBundle : index.js
Ws : ws://192.168.1.1:8080
CodeSign :
Profile :
19:26:57 : If you want to change build config.please modify ios.config.json
19:26:57 : pod update
19:26:57 : Hot Reload socket: ws://192.168.1.1:8080
Update all pods
Updating local specs repositories
19:26:59 : Reloading page...
$ /usr/bin/git -C /Users/xxxxxxxx/.cocoapods/repos/master fetch origin --progress
$ /usr/bin/git -C /Users/xxxxxxxx/.cocoapods/repos/master rev-parse --abbrev-ref HEAD
master
$ /usr/bin/git -C /Users/xxxxxxxx/.cocoapods/repos/master reset --hard origin/master
HEAD is now at bec61746beb [Add] DSDropDownController 0.1.1
Analyzing dependencies
Downloading dependencies
Using SDWebImage (3.7.5)
Using SocketRocket (0.4.2)
Using WeexPluginLoader (0.0.1.9.1)
Using WeexSDK (0.17.0)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 4 dependencies from the Podfile and 4 total pods installed.
? Choose one of the following devices iPhone 6s ios: 11.2
19:28:24 : Buiding project...
19:28:46 : Run iOS Simulator..
Print: Entry, ":CFBundleIdentifier", Does Not Exist
19:28:46 : Error:Error: Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/WeexDemo.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
at checkExecSyncError (child_process.js:483:13)
at Object.execFileSync (child_process.js:503:13)
at _runAppOnSimulator (/Users/xxxxxxxx/.xtoolkit/node_modules/weexpack/lib/run/ios.js:397:16)
at /Users/xxxxxxxx/.xtoolkit/node_modules/weexpack/lib/run/ios.js:373:7
at runApp (/Users/xxxxxxxx/.xtoolkit/node_modules/weexpack/lib/run/ios.js:371:10)
at process._tickCallback (internal/process/next_tick.js:103:7)
我也遇到了这个问题,请问题主解答了吗,方便加个微信309884616告知一下?困扰我一周了,一模一样的问题。