Comments (5)
Ok, I got it. But I think this is a issue cause by weex plugin loader, to solve this problem, maybe you can try to set the library targets manually in Xcode.
from nat.
It seems that you didn't install nat plugin correctly, Can you provide your Podfile
content? @tralves
from nat.
Hi!
I did install the plugin correctly and it does work when I don't add use_frameworks!
, like so:
source '[email protected]/CocoaPods/Specs.git'
platform :ios, '8.0'
#inhibit_all_warnings!
def common
pod 'WeexNatDeviceInfo', '1.0.0'
pod 'WeexSDK', '0.17.0'
...
the problem is that I need to add need use_frameworks!
, like this:
source '[email protected]/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
#inhibit_all_warnings!
def common
pod 'WeexNatDeviceInfo', '1.0.0'
pod 'WeexSDK', '0.17.0'
pod 'WeexPluginLoader'
pod 'SDWebImage', '3.7.5'
pod 'SocketRocket', '0.4.2'
end
target 'WeexDemo' do
common
end
target 'WeexUITestDemo' do
common
end
pre_install do |installer|
def installer.verify_no_static_framework_transitive_dependencies; end
Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
end
because my project also depends on a swift lib.
from nat.
@acathur you mean like add them without cocoapods? which library?
from nat.
Ok, I got it. But I think this is a issue cause by weex plugin loader, to solve this problem, maybe you can try to set the library targets manually in Xcode.
I got same problem, You can consider not using WeexPluginLoader,or support !use_framework
from nat.
Related Issues (20)
- Nat.image.preview 相关问题
- 你好,比来比去还是这个weex插件好用,不过如果可以增加扫一扫功能就更好了
- Nat.image.pick的limit参数设置无效
- mistake in http://natjs.com/#/?id=add-modules-you-need HOT 1
- 请问是否支持设置屏幕方向?
- Nat.audio.play在ios11中无法调用回调 HOT 3
- nat.image.preview 连续多次调用内存溢出
- iPhone XR Termination HOT 1
- nat-transfer ios端 headers无法传参 HOT 2
- 不知道能否增加rtsp这种直播流的播放器功能?
- Uncaught (in promise) TypeError: Cannot read property 'pick' of undefined
- 上传图片报Unhandled promise rejection{"code":153000,"message":"UPLOAD_INTERNAL_ERROR"} HOT 6
- 上传图片报{"code":153000,"message":"UPLOAD_INTERNAL_ERROR"} HOT 1
- 请问通过获取了Nat.image.pick照片的返回地址怎么展示出来呢? HOT 1
- 代码还维护么? HOT 3
- 请问如何在基于weex的eros框架下使用natjs
- SDWebImage (!= 3.7.2, ~> 3.7)
- 安卓上传图片无法使用
- Weex 0.28 upgrade issues
- 还在维护么,现在完全用不了 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nat.