Questions » Recent Q&A » Whether Cocoapods exists for BlackBerry Dynamics SDK for iOS

Whether Cocoapods exists for BlackBerry Dynamics SDK for iOS

Posted 16 days ago
  • Hi,

    Yes, you can use Cocoapods with GD.framework. You will have to include the configuration file in the default.xcconfig file you create for Dynamics SDK and everything should work fine. If you have any other questions or need more details, let me know.

    Thanks

    Gurjit

  • Thanks Gurjit for reponse. 

    I'm using Xcode 10 , MacOS 10.13.6 and while doing pod lint (pod lib lint GD.podspec) , getting below error :- 

              GD::ContainerCommunication::Decoder::decode(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, int*, char*) in GD(libgdios4.a-x86_64-master.o)
              GD::ContainerCommunication::Decoder::decodeString(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) in GD(libgdios4.a-x86_64-master.o)
              GD::ContainerCommunication::CsrReqCommand::marshal() in GD(libgdios4.a-x86_64-master.o)
              ...
        ld: symbol(s) not found for architecture x86_64
        clang: error: linker command failed with exit code 1 (use -v to see invocation)

    My GD.podspec file as below :- 

     

    Pod::Spec.new do |s|

      s.name         = "GD"
      s.version      = "4.2.0.145"
      s.summary      = "The BlackBerry Dynamics Platform provides a range of SDKs and plugins that allow you to develop in the environment of your choice and build native, hybrid, or web apps."
      s.description  = "GD Framework "
      s.homepage     = "https://developers.blackberry.com/us/en/resources/get-started/blackberry-dynamics-getting-started.html?platform=ios#step-2"
      s.license      = { :type => 'BSD' }
      s.author       = "Blackberry"
      s.platform     = :ios, "10.0"
      s.source       = { :http => "http://localhost:8888/GD.framework.zip" }
      s.vendored_frameworks = "Framework/GD.framework"
      s.resources = "Framework/GD.framework/Versions/A/Resources/*"

    end

Back