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

[RubyMotion] Error building with CoreData support #63

Open
willrax opened this issue Sep 5, 2014 · 2 comments
Open

[RubyMotion] Error building with CoreData support #63

willrax opened this issue Sep 5, 2014 · 2 comments

Comments

@willrax
Copy link

willrax commented Sep 5, 2014

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
@dingbat
Copy link
Owner

dingbat commented Sep 7, 2014

Hm, interesting. I assume it's been working for you previously and this just came up? My RubyMotion license is expired so it'll be difficult for me to investigate, but in the meantime you can try building against NSRails 2.1.2.

@willrax
Copy link
Author

willrax commented Sep 7, 2014

This was the first time i've tried to use or compile NSRails. I'll give the previous version a go tonight and post back here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants