Framework not found calabash

670 views
Skip to first unread message

nnbla...@gmail.com

unread,
Mar 5, 2013, 5:54:30 AM3/5/13
to calaba...@googlegroups.com
Hi,

I'm trying to get up and running with calabash. I've tried both the fast track and manual setup instructions on the github site, but I'm still getting an error when I try to build.

I'd be thankful for any suggestions....

-Nick

Here is the output I am seeing:

Ld ../../../output/Debug-iphonesimulator/Eko-cal.app/Eko-cal normal i386

    cd /Users/nicholasblack/Apps/eko

    setenv IPHONEOS_DEPLOYMENT_TARGET 6.1

    setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"

    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -L/Users/nicholasblack/Apps/eko/../../../output/Debug-iphonesimulator -F/Users/nicholasblack/Apps/eko/../../../output/Debug-iphonesimulator -F/Users/nicholasblack/Library/SDKs/ArcGIS/iOS -F/Users/nicholasblack/Library/SDKs/ArcGIS/iOS/Samples -F/Users/nicholasblack/Library/SDKs/ArcGIS/iOS/Samples/MapViewDemo -F/Users/nicholasblack/Library/SDKs/ArcGIS/iOS/Samples/MapViewDemo/Classes -F/Users/nicholasblack/Library/SDKs/ArcGIS/iOS/Samples/MapViewDemo/Resources-iPad -filelist /Users/nicholasblack/Apps/eko/../../../output/Eko.build/Debug-iphonesimulator/Eko-cal.build/Objects-normal/i386/Eko-cal.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -force_load /Users/nicholasblack/Apps/eko/calabash.framework/calabash -lstdc++ -all_load -ObjC -framework ArcGIS -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.1 -framework CFNetwork -framework CoreLocation -framework CoreText -lc++ -lz -framework MediaPlayer -framework MobileCoreServices -framework OpenGLES -framework QuartzCore -framework Security -framework UIKit -framework Foundation -framework CoreGraphics -framework calabash -o /Users/nicholasblack/Apps/eko/../../../output/Debug-iphonesimulator/Eko-cal.app/Eko-cal


ld: framework not found calabash

clang: error: linker command failed with exit code 1 (use -v to see invocation)

Karl Krukow

unread,
Mar 5, 2013, 7:46:28 AM3/5/13
to calaba...@googlegroups.com

On 05/03/2013, at 02.54, nnbla...@gmail.com wrote:

/Users/nicholasblack/Apps/eko/calabash.framework/calabash

is the calabash.framework file located there?

- Karl


nnbla...@gmail.com

unread,
Mar 5, 2013, 8:04:12 AM3/5/13
to calaba...@googlegroups.com
Thanks for the prompt reply- yes there is a calabash file in there. It looks as though it is an alias to calabash.framework/Versions/A/calabash.

Does that sound right? I just unzipped the calabash.framework-0.9.126.zip and dragged the extracted calabash.framework folder into xCode project Frameworks. I made sure I checked on "copy items to destination groups folder, and that only my -cal target was checked.

Karl Krukow

unread,
Mar 5, 2013, 8:10:37 AM3/5/13
to calaba...@googlegroups.com
On 05/03/2013, at 05.04, nnbla...@gmail.com wrote:

Thanks for the prompt reply- yes there is a calabash file in there. It looks as though it is an alias to calabash.framework/Versions/A/calabash.

Yes, that's correct.


Does that sound right? I just unzipped the calabash.framework-0.9.126.zip and dragged the extracted calabash.framework folder into xCode project Frameworks. I made sure I checked on "copy items to destination groups folder, and that only my -cal target was checked.

Ok, that sounds strange. We'll need more info to figure it out.

Is this an Xcode workspace project or a regular .xcodeproj ? Which version of Xcode?

What happens if you start from scratch and use automated setup? Is it the same?

Anything else you could think of that could be relevant for debugging.

- Karl

nnbla...@gmail.com

unread,
Mar 5, 2013, 9:22:13 AM3/5/13
to calaba...@googlegroups.com
OK- I retraced my steps and I'm up and running. Thanks for your help.

I got the sample project working first, then went back and followed the manual steps for my app. Maybe I messed up one of the steps the first time.

Looking forward to getting some tests written with this framework. Cheers,
Nick

nnbla...@gmail.com

unread,
Mar 6, 2013, 6:49:30 AM3/6/13
to calaba...@googlegroups.com
Unfortunately I encountered this issue again- but this time I figured it out so I thought I would document it here. I am running Xcode 4.6 (4h127).

It seems that the problem was caused by one of the steps in the manual setup: Step 2/3 link with the framework.

Instead of dragging the calabash.framework folder into Xcode (and specifying copy / target), I copied it to the application folder (at the same level as the .xcodeproj file). I then added CFNetwork as per the instructions and updated the build settings exactly the same as Step 3/3 and I no longer receive the build error and everything is working great.

Joshua Moody

unread,
Mar 6, 2013, 7:32:58 AM3/6/13
to calaba...@googlegroups.com
Q: Is this an Xcode workspace project or a regular .xcodeproj ?

nnbla...@gmail.com

unread,
Mar 6, 2013, 9:20:34 AM3/6/13
to calaba...@googlegroups.com
It's a regular .xcodeproj

Felipe Vieira

unread,
Apr 1, 2013, 4:24:25 PM4/1/13
to calaba...@googlegroups.com
I was having the same problem installing calabash with cocoapods.

I opened the Pods/Calabash and the calabash was there, not inside calabash.framework/ so i changed my xcconfig from:

$(PODS_ROOT)/Calabash/calabash.framework/calabash

to

$(PODS_ROOT)/Calabash/calabash

Then i get the Creating the server: <LPHTTPServer: 0x7224980>

Karnan Athisivam

unread,
May 4, 2017, 9:18:33 AM5/4/17
to calabash-ios
Hi 

This is Karnan from india..
This is my start-up.. 
while tried to run calabash i got this error kindly suggest me the solution.

"Ld /Users/shakirulhassan/Library/Developer/Xcode/DerivedData/CommusoftV2-esccwyedpjdlqqdwqqzdbqxohmxk/Build/Products/Debug-iphonesimulator/CommusoftV2.app/CommusoftV2 normal x86_64

    cd /Users/shakirulhassan/Desktop/commusoft

    export IPHONEOS_DEPLOYMENT_TARGET=9.0

    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"

    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk -L/Users/shakirulhassan/Library/Developer/Xcode/DerivedData/CommusoftV2-esccwyedpjdlqqdwqqzdbqxohmxk/Build/Products/Debug-iphonesimulator -F/Users/shakirulhassan/Library/Developer/Xcode/DerivedData/CommusoftV2-esccwyedpjdlqqdwqqzdbqxohmxk/Build/Products/Debug-iphonesimulator -F/Users/shakirulhassan/Desktop/commusoft/Pods/couchbase-lite-ios -F/Users/shakirulhassan/Desktop/commusoft -filelist /Users/shakirulhassan/Library/Developer/Xcode/DerivedData/CommusoftV2-esccwyedpjdlqqdwqqzdbqxohmxk/Build/Intermediates/CommusoftV2.build/Debug-iphonesimulator/CommusoftV2.build/Objects-normal/x86_64/CommusoftV2.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -Xlinker -rpath -Xlinker @executable_path/Frameworks -mios-simulator-version-min=9.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/shakirulhassan/Library/Developer/Xcode/DerivedData/CommusoftV2-esccwyedpjdlqqdwqqzdbqxohmxk/Build/Intermediates/CommusoftV2.build/Debug-iphonesimulator/CommusoftV2.build/Objects-normal/x86_64/CommusoftV2_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -Xlinker -add_ast_path -Xlinker /Users/shakirulhassan/Library/Developer/Xcode/DerivedData/CommusoftV2-esccwyedpjdlqqdwqqzdbqxohmxk/Build/Intermediates/CommusoftV2.build/Debug-iphonesimulator/CommusoftV2.build/Objects-normal/x86_64/CommusoftV2.swiftmodule -Objc -all_load -ObjC -lsqlite3 -lz -framework Bugsnag -framework CFNetwork -framework CocoaLumberjack -framework CouchbaseLite -framework KSCrash -framework PubNub -framework Security -framework SystemConfiguration -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/shakirulhassan/Library/Developer/Xcode/DerivedData/CommusoftV2-esccwyedpjdlqqdwqqzdbqxohmxk/Build/Intermediates/CommusoftV2.build/Debug-iphonesimulator/CommusoftV2.build/CommusoftV2.app.xcent -framework CoreLocation -framework calabash -framework MapKit -lCalabashDynSim -framework Pods_CommusoftV2 -Xlinker -dependency_info -Xlinker /Users/shakirulhassan/Library/Developer/Xcode/DerivedData/CommusoftV2-esccwyedpjdlqqdwqqzdbqxohmxk/Build/Intermediates/CommusoftV2.build/Debug-iphonesimulator/CommusoftV2.build/Objects-normal/x86_64/CommusoftV2_dependency_info.dat -o /Users/shakirulhassan/Library/Developer/Xcode/DerivedData/CommusoftV2-esccwyedpjdlqqdwqqzdbqxohmxk/Build/Products/Debug-iphonesimulator/CommusoftV2.app/CommusoftV2


ld: framework not found calabash

clang: error: linker command failed with exit code 1 (use -v to see invocation)"
=========================================================================================================
Above is the error i got while tried to run calabash

Arul Amirtharaj

unread,
May 4, 2017, 9:34:47 AM5/4/17
to Karnan Athisivam
Hi karnan

I can help you weekends we can connect.

Sent from my BlackBerry 10 smartphone.
From: Karnan Athisivam
Sent: Thursday 4 May 2017 18:48
To: calabash-ios
Subject: Re: Framework not found calabash

--
You received this message because you are subscribed to the Google Groups "calabash-ios" group.
To unsubscribe from this group and stop receiving emails from it, send an email to calabash-ios...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages