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

weexpack run ios 'WeexSDK/WeexSDK.h' file not found #158

Closed nickming closed 7 years ago

nickming commented 7 years ago

执行完weexpack run ios报这个错,运行Android没有问题,不知道什么原因 /WeexPlugin/WeexPluginManager.m:11:9: fatal error: 'WeexSDK/WeexSDK.h' file not found

import <WeexSDK/WeexSDK.h>

    ^

1 error generated.

BUILD FAILED

The following build commands failed: CompileC /Users/nickming/Desktop/weex/weexweather/platforms/ios/build/Build/Intermediates/Pods.build/Debug-iphonesimulator/Weexplugin.build/Objects-normal/x86_64/WeexPluginManager.o /Users/nickming/Desktop/weex/weexweather/platforms/ios/Weexplugin/Weexplugin/Source/WeexPlugin/WeexPluginManager.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler

nickming commented 7 years ago

未安装cocoapods导致没办法识别这个模块,但是安装完cocoapods又会报错 CompileC build/Build/Intermediates/WeexDemo.build/Debug-iphonesimulator/WeexDemo.build/Objects-normal/x86_64/UIViewController+WXDemoNaviBar.o WeexDemo/WeexScanner/UIViewController+WXDemoNaviBar.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler 不得不说脚手架工程是有bug的,需要手动去podfile里面吧pod 'ATSDK-Weex', '0.0.1'改为pod 'ATSDK', '0.0.1',问题的结局在这里#133,weex的确是个好东西,就是文档支持太少了,离reactnative还是有一段距离的。