unable to build WordPress apps on iOS - linker/clang error

67 views
Skip to first unread message

Rachna

unread,
Apr 9, 2013, 12:21:00 AM4/9/13
to calaba...@googlegroups.com
I am following exactly the steps as given at this link https://github.com/calabash/x-platform-example for running the WordPress app.
-  OSX version - 10.7.3
- Xcode version - 4.5.2
- calabash-cucumber gem ((0.9.148)
And when I build I get this error:

ld: library not found for -lPods

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

Please help. I am able to run calabash-ios setup command successfully and I see the wordpress-cal in the target when I open through Xcode.

Its when I run through Xcode I get the error as above.

Thanks for all suggestions.

Krukow

unread,
Apr 10, 2013, 2:34:30 AM4/10/13
to calaba...@googlegroups.com
Are you working in the .xcworkspace or the .xcodeproj ? It is much simpler to just use the command in the README to build..

Rachna

unread,
May 18, 2013, 12:12:26 AM5/18/13
to calaba...@googlegroups.com
Hi 
I tried in .xcworkspace and it worked but it does not work in .xcodeproj. Can u pls explain why it does not work in xcode proj and how would it work.
It works through the command prompt command as well.

thanks.

Krukow

unread,
May 18, 2013, 6:58:36 AM5/18/13
to calaba...@googlegroups.com

On Saturday, May 18, 2013 6:12:26 AM UTC+2, Rachna wrote:
Hi 
I tried in .xcworkspace and it worked but it does not work in .xcodeproj. Can u pls explain why it does not work in xcode proj and how would it work.
It works through the command prompt command as well.

Well, the command:

xcodebuild build -workspace WordPress.xcworkspace -scheme WordPress-cal -configuration Debug -sdk iphonesimulator6.1 DEPLOYMENT_LOCATION=YES DSTROOT=build TARGETED_DEVICE_FAMILY=1
Is using the WordPress-cal scheme in the WordPress.xcworkspace to build.

If that works on the command line - i.e. builds the app and you can run the tests. Then you should be able to build from XCode (just make sure you close all XCode windows before you open WordPress.xcworkspace).


Reply all
Reply to author
Forward
0 new messages