Closed nickming closed 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还是有一段距离的。
执行完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