Build Configuration Name breaks integration #30

dschneller opened this Issue Oct 31, 2012 · 3 comments


None yet

4 participants


I successfully integrated PonyDebugger in my project for the default Debug configuration.
However, we have a few more configurations that pull in different build-settings files (mostly to configure a few pre-processor macros differently for easy switching).

When using one of these configurations (e. g. Debug (xyz)) the headers cannot be found anymore. I tried to fix this by setting these values in the PonyDebugger build configurations (analogous to what RestKit does, which BTW works in my setup):


This enabled successful compilation. However then the linker complains, and I have not figured out how to resolve that issue:

ld: library not found for -lSocketRocket
clang: error: linker command failed with exit code 1 (use -v to see invocation)

(see full output below)

It seems to be looking for libSocketRocket.a in the wrong place, if I understand this correctly.

How can I fix this issue? Also: Should I create a pull request for the above change, because it seems to improve the situation a bit already?

Full error output
(wrapped for readability)

Ld "/Users/ds/Library/Developer/Xcode/DerivedData/MyProject-gjuonoyeresaysbhbvztuowdvopw/Build/Products/Debug (TEST)-iphonesimulator/" normal i386
    cd /Users/ds/MyProject/iOSClient/MyProject
    setenv PATH "/Volumes/MBP4711HD/"

    -arch i386
    -isysroot /Volumes/MBP4711HD/
     "-L/Users/ds/Library/Developer/Xcode/DerivedData/MyProject-gjuonoyeresaysbhbvztuowdvopw/Build/Products/Debug (TEST)-iphonesimulator"
    "-F/Users/ds/Library/Developer/Xcode/DerivedData/MyProject-gjuonoyeresaysbhbvztuowdvopw/Build/Products/Debug (TEST)-iphonesimulator" 
    -filelist "/Users/ds/Library/Developer/Xcode/DerivedData/MyProject-gjuonoyeresaysbhbvztuowdvopw/Build/Intermediates/ (TEST)-iphonesimulator/"
    -Xlinker -objc_abi_version -Xlinker 2 -ObjC -all_load -fobjc-arc -fobjc-link-runtime
    -Xlinker -no_implicit_dylibs -mios-simulator-version-min=5.0
    -framework SystemConfiguration
    -framework CFNetwork
    -framework MobileCoreServices
    -framework Security
    -framework CoreData
    -framework QuartzCore
    -framework CoreGraphics
    -framework UIKit
    -framework Foundation
    -o "/Users/ds/Library/Developer/Xcode/DerivedData/MyProject-gjuonoyeresaysbhbvztuowdvopw/Build/Products/Debug (TEST)-iphonesimulator/"
kohol commented Apr 8, 2013

I have the same problem. Did you figure out how to fix it?

fabb commented Sep 14, 2014

When using PonyDebugger via Cocoapods, it is not necessary to provide linker flags -lSocketRocket -lPonyDebugger.


We're doing some housekeeping and closing old issues. Please reopen if this is still an issue on newer versions. Thanks for opening!

@srajkovic srajkovic closed this Jul 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment