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 'WeexSDK/WeexSDK.h' file not found #158

Closed
nickming opened this issue Jun 5, 2017 · 1 comment
Closed

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

nickming opened this issue Jun 5, 2017 · 1 comment

Comments

@nickming
Copy link

nickming commented Jun 5, 2017

执行完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
Copy link
Author

nickming commented Jun 8, 2017

未安装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还是有一段距离的。

@nickming nickming closed this as completed Jun 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant