Giter Site home page Giter Site logo

Comments (5)

acathur avatar acathur commented on May 14, 2024 1

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.

acathur avatar acathur commented on May 14, 2024

It seems that you didn't install nat plugin correctly, Can you provide your Podfile content? @tralves

from nat.

tralves avatar tralves commented on May 14, 2024

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.

tralves avatar tralves commented on May 14, 2024

@acathur you mean like add them without cocoapods? which library?

from nat.

Zss1990 avatar Zss1990 commented on May 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.