Skip to content
This repository

Build Configuration Name breaks integration #30

dschneller opened this Issue October 31, 2012 · 1 comment

2 participants

Daniel Schneller kohol
Daniel Schneller

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 April 08, 2013

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.