Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

weexpack run ios 出错 #133

necfol opened this Issue Apr 17, 2017 · 8 comments


None yet
9 participants
Copy link

necfol commented Apr 17, 2017

node: v7.4.0
weexpack: 0.4.0
macos: 10.12.4
xcode:Version 8.1
错误信息:ATSDK/ATManager.h file not found
2017-04-17 11 42 57


This comment has been minimized.

Copy link

766 commented Apr 17, 2017

把这个库还有相关的东西给注了 然后在编译,历经千辛万苦 历时2天 终于让我编译成功了


This comment has been minimized.

Copy link

necfol commented Apr 17, 2017

@766 是这个ATSDK 没有正确引入进来么,注释了之后编译不会出问题么?


This comment has been minimized.

Copy link

cades commented Apr 20, 2017

遇到同樣的問題. 把 platforms/ios/Podfile

pod 'ATSDK-Weex', '0.0.1'


pod 'ATSDK', '0.0.1'



This comment has been minimized.

Copy link

mbokil commented Apr 23, 2017

I was able to get weexpack run ios to finally work. I was using the beta of Xcode and switched to Xcode 8.3.2. In the plist file I set:


I built the app with sudo weex build ios and ran the app with Xcode simulator.


This comment has been minimized.

Copy link

yipcma commented May 9, 2017

Weex is still magic to me....amazing, yet not understood...


This comment has been minimized.

Copy link

deot commented Oct 21, 2017

I solve it by reinstall cocoapods,sudo gem install cocoapods.
But I have another problem.


  • weex -v: v1.1.0-beta.5
  • weexpack : v0.4.7-beta.11
  • weex-builder : v0.2.13-beta.2
  • weex-devtool : v0.3.2-beta.7
  • weex-previewer : v1.3.13-beta.5
  • node -v: 8.3.0
  • npm -v: 5.4.1
  1. Operating system: Mac OS 10.13
  2. Phone/emulator/simulator & version: iPhone 7 & iOS 11
  3. Xcode: 9.0


Analyzing dependencies
Fetching podspec for `Weexplugin` from `./Weexplugin/`
Downloading dependencies
Using SDWebImage (3.7.5)
Using SocketRocket (0.4.2)
Installing WXDevtool 0.15.3 (was 0.9.5)
Installing WeexSDK 0.15.1 (was 0.13.0)
Using Weexplugin (0.0.1)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 5 dependencies from the Podfile and 5 total pods installed.
? Choose one of the following devices iPhone 7 ios: 11.0.1
project is building ...
  "devices" :  { .... }
ReferenceError: simList is not defined
    at simulatorIsAvailable (/Users/deot/.xtoolkit/node_modules/weexpack/build/run/iOS.js:352:15)
    at _runAppOnSimulator (/Users/deot/.xtoolkit/node_modules/weexpack/build/run/iOS.js:311:8)
    at /Users/deot/.xtoolkit/node_modules/weexpack/build/run/iOS.js:278:7
    at Promise (<anonymous>)
    at runApp (/Users/deot/.xtoolkit/node_modules/weexpack/build/run/iOS.js:276:10)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)

I try add let simList to solve it, it need to be declared

function simulatorIsAvailable(info, device) {
  // ....
  let simList;
  // ....


Launching iPhone 7...
Instruments Usage Error: No template (-t) specified
instruments, version 9.0 (63198)
usage: instruments [-t template] [-D document] [-l timeLimit] [-i #] [-w device] [[-p pid] | [application [-e variable value] [argument ...]]]
Installing build/Build/Products/Debug-iphonesimulator/

This comment has been minimized.

Copy link

yehot commented Oct 26, 2017

you add let simList and solve it , but add to which file ???

@erha19 erha19 closed this Mar 1, 2018


This comment has been minimized.

Copy link

sudeepdk commented Mar 16, 2018

getting this error while running on IOS , npm run IOS but same code running @android and successfully created APK ...

#import <UIKit/UIKit.h>
#import <SRWebSocket.h>
SRWebSocket.h' file not found

#import <WeexSDK/WeexSDK.h>
'WeexSDK/WeexSDK.h' file not found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.