Polidea / ios-class-guard

Simple Objective-C obfuscator for Mach-O executables.
http://www.polidea.com
1.64k stars 240 forks source link

Pods error #20

Open Ewg777 opened 9 years ago

Ewg777 commented 9 years ago

Linking failed using Pods Command "Link ... Objects-normal/armv7/AppName" Command "Link ... Objects-normal/arm64/AppName"

Got an error "ld: library not found for -lPods-CocoaAsyncSocket clang: error: linker command failed with exit code 1 (use -v to see invocation)}"

assisjeferson commented 8 years ago

I have the same problem :(

kovpas commented 8 years ago

Had the same issue. Fixed by setting absolute path for OBJROOT and SYMROOT in xcodebuild:

xcodebuild \
    -workspace "$WORKSPACE" \
    -scheme "$SCHEME" \
    -configuration "$CONFIGURATION" \
    -sdk "$OBFUSCATION_SDK" \
    OBJROOT=$(PWD)/build \
    SYMROOT=$(PWD)/build \
    clean build |\
    xcpretty -c