Skip to content
This repository was archived by the owner on Mar 23, 2021. It is now read-only.

[RubyMotion] Error building with CoreData support #63

@willrax

Description

@willrax

Hi,

I'm trying to use NSRails with CoreData in a RubyMotion application but it doesn't seem to be able to build properly. Hopefully you can help shed some light. Any help would be great.

Here's my Pod listing:

  app.pods do
    pod "AFNetworking"
    pod "JGProgressHUD"
    pod "JMImageCache"
    pod "FontasticIcons"
    pod "NSRails/CoreData"
  end

and here's the error I'm getting when trying to compile the application.

duplicate symbol _OBJC_IVAR_$_NSRConfigStackElement._config in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRConfig-BCA265D5AEE93092.o)
duplicate symbol _OBJC_IVAR_$_NSRConfig._rootURL in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRConfig-BCA265D5AEE93092.o)
duplicate symbol _OBJC_IVAR_$_NSRConfig._performsCompletionBlocksOnMainThread in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRConfig-BCA265D5AEE93092.o)
duplicate symbol _OBJC_IVAR_$_NSRConfig._managesNetworkActivityIndicator in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRConfig-BCA265D5AEE93092.o)
duplicate symbol _OBJC_IVAR_$_NSRConfig._succinctErrorMessages in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRConfig-BCA265D5AEE93092.o)
duplicate symbol _OBJC_IVAR_$_NSRConfig._timeoutInterval in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRConfig-BCA265D5AEE93092.o)
duplicate symbol _OBJC_IVAR_$_NSRConfig._autoinflectsClassNames in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRConfig-BCA265D5AEE93092.o)
duplicate symbol _OBJC_IVAR_$_NSRConfig._autoinflectsPropertyNames in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRConfig-BCA265D5AEE93092.o)
duplicate symbol _OBJC_IVAR_$_NSRConfig._ignoresClassPrefixes in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRConfig-BCA265D5AEE93092.o)
duplicate symbol _OBJC_IVAR_$_NSRConfig._networkLogging in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRConfig-BCA265D5AEE93092.o)
duplicate symbol _OBJC_IVAR_$_NSRConfig._basicAuthUsername in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRConfig-BCA265D5AEE93092.o)
duplicate symbol _OBJC_IVAR_$_NSRConfig._basicAuthPassword in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRConfig-BCA265D5AEE93092.o)
duplicate symbol _OBJC_IVAR_$_NSRConfig._oAuthToken in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRConfig-BCA265D5AEE93092.o)
duplicate symbol _OBJC_IVAR_$_NSRConfig._additionalHTTPHeaders in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRConfig-BCA265D5AEE93092.o)
duplicate symbol _OBJC_IVAR_$_NSRConfig._updateMethod in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRConfig-BCA265D5AEE93092.o)
duplicate symbol _OBJC_IVAR_$_NSRConfig._managedObjectContext in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRConfig-BCA265D5AEE93092.o)
duplicate symbol _OBJC_IVAR_$_NSRConfig._dateFormatter in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRConfig-BCA265D5AEE93092.o)
duplicate symbol _OBJC_CLASS_$_NSRConfigStackElement in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRConfig-BCA265D5AEE93092.o)
duplicate symbol _OBJC_METACLASS_$_NSRConfigStackElement in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRConfig-BCA265D5AEE93092.o)
duplicate symbol _NSRRails3DateFormat in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRConfig-BCA265D5AEE93092.o)
duplicate symbol _NSRRails4DateFormat in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRConfig-BCA265D5AEE93092.o)
duplicate symbol _OBJC_CLASS_$_NSRConfig in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRConfig-BCA265D5AEE93092.o)
duplicate symbol _OBJC_METACLASS_$_NSRConfig in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRConfig-BCA265D5AEE93092.o)
duplicate symbol _OBJC_IVAR_$_NSRRemoteObject._remoteID in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRRemoteObject-8FBFC93A9CF7F98E.o)
duplicate symbol _OBJC_IVAR_$_NSRRemoteObject._remoteAttributes in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRRemoteObject-8FBFC93A9CF7F98E.o)
duplicate symbol _OBJC_IVAR_$_NSRRemoteObject._remoteDestroyOnNesting in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRRemoteObject-8FBFC93A9CF7F98E.o)
duplicate symbol _OBJC_CLASS_$_NSRRemoteObject in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRRemoteObject-8FBFC93A9CF7F98E.o)
duplicate symbol _OBJC_METACLASS_$_NSRRemoteObject in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRRemoteObject-8FBFC93A9CF7F98E.o)
duplicate symbol _OBJC_IVAR_$_NSRRequest._route in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRRequest-B90541857AA69B65.o)
duplicate symbol _OBJC_IVAR_$_NSRRequest._body in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRRequest-B90541857AA69B65.o)
duplicate symbol _OBJC_IVAR_$_NSRRequest._httpMethod in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRRequest-B90541857AA69B65.o)
duplicate symbol _OBJC_IVAR_$_NSRRequest._config in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRRequest-B90541857AA69B65.o)
duplicate symbol _OBJC_IVAR_$_NSRRequest._queryParameters in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRRequest-B90541857AA69B65.o)
duplicate symbol _OBJC_IVAR_$_NSRRequest._additionalHTTPHeaders in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRRequest-B90541857AA69B65.o)
duplicate symbol _NSRRequestObjectKey in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRRequest-B90541857AA69B65.o)
duplicate symbol _NSRErrorResponseBodyKey in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRRequest-B90541857AA69B65.o)
duplicate symbol _NSRRemoteErrorDomain in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRRequest-B90541857AA69B65.o)
duplicate symbol _NSRMissingURLException in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRRequest-B90541857AA69B65.o)
duplicate symbol _NSRNullRemoteIDException in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRRequest-B90541857AA69B65.o)
duplicate symbol _OBJC_CLASS_$_NSRRequest in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRRequest-B90541857AA69B65.o)
duplicate symbol _OBJC_METACLASS_$_NSRRequest in:
    /Users/willrax/test/vendor/Pods/build-iPhoneSimulator/libPods.a(NSRRequest-B90541857AA69B65.o)
ld: 41 duplicate symbols for architecture i386
clang: error: linker command failed with exit code 1 (use -v

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions