Skip to content

Trying to get ObjectiveDDP Pod to work #413

Description

@rclai

HI all, I tried adding the ObjectiveDDP pod but its classes are not exposed in my app. I followed these instructions: https://www.nativescript.org/blog/using-cocoapods-is-a-piece-of-cake-with-nativescript-1.3.0

My error:

JS ERROR ReferenceError: Can't find variable: ObjectiveDDP

I also confirmed via the debugger and don't see the pod's classes in the global scope.

Has anything changed since then or am I missing something?

My project was able to build and install the pod and its dependencies. I'm on El Capital, 0.39 CocoaPods and here's the Podfile generated in my platforms/ios folder:

use_frameworks!
# Begin Podfile - /Users/profab/Desktop/Smartie-App/Smartie App/node_modules/nativescript-objective-ddp/platforms/ios/Podfile pod "ObjectiveDDP" # End Podfile 

Podfile.lock:

PODS:
- M13OrderedDictionary (1.1.0)
- ObjectiveDDP (0.1.8):
- M13OrderedDictionary
- SocketRocket (= 0.3.1-beta2)
- SocketRocket (0.3.1-beta2)
DEPENDENCIES:
- ObjectiveDDP
SPEC CHECKSUMS:
M13OrderedDictionary: 6e157fe9c82aa6b3cd7198f5c5c30c7a6834c4a6
ObjectiveDDP: 87609d002487bdb2e81b460de707b684551c04de
SocketRocket: 7284ab9370a06c99aba92b2fe3a32aedd0f9a6fa
COCOAPODS: 0.39.0

I'm also targeting iOS 7.1. TNS 1.4.3, TNS iOS 1.4.1.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions