weexteam / A-pack-tool-for-Apache-Weex

A pack tool for Android、iOS and H5 plartform of Weex. This tool is a third party work, and is not developed nor maintained by Apache Weex.
Apache License 2.0
611 stars 76 forks source link

run "weex build ios" error #217

Closed humbass closed 6 years ago

humbass commented 6 years ago

When I run "weex run ios", the iPhone6 simulator starts and displays ok. when I run "weex build ios", console display:

if you want to change build config.please modify ios.config.json
/bin/sh: /Users/dali/.xtoolkit/node_modules/weexpack/build/build/lib/cocoapods-build: No such file or directory

I type command: sudo find /User/dali -name 'cocoapods-build', console display:

dalideiMac:shop123 dali$ sudo find /User/dali -name 'cocoapods-build'
Password:
find: /User/dali: No such file or directory
dalideiMac:shop123 dali$ sudo find / -name 'cocoapods-build'
find: /dev/fd/shop123: No such file or directory
find: /dev/fd/shop123: No such file or directory
/Users/dali/.nvm/versions/node/v8.9.3/lib/node_modules/weexpack/src/build/lib/cocoapods-build
/Users/dali/.xtoolkit/node_modules/weexpack/src/build/lib/cocoapods-build

It is clear that the path of 'cocoapods-build' is wrong

Your development environment

The key error stack message.

Steps to reproduce the problem.(Maybe a dotwe link,)

Rockergmail commented 6 years ago

have you solved the problem? I got the same issue.

Martin-Mo commented 6 years ago

Same problem here. It's disappointed as i fellow the official docs but could not get the demo project run on ios device.