A fix for debugging shared precompiled binaries from Carthage.
error: Couldn't IRGen expression, no additional error
./build.sh --platform ios MyCoolFramework
#!/bin/sh -e | |
XCCONFIG=$(mktemp /tmp/static.xcconfig.XXXXXX) | |
trap 'rm -f "$XCCONFIG"' INT TERM HUP EXIT | |
echo "SWIFT_SERIALIZE_DEBUGGING_OPTIONS = NO" >> $XCCONFIG | |
export XCODE_XCCONFIG_FILE="$XCCONFIG" | |
carthage build "$@" |
@caioremedio I fixed our issue. Bumping the Facebook SDK version was important to make it different from previously used versions on our developer's machines. Otherwise, it may still reference the old build from the previous UUID and the hard-coded paths.
Did you walk through all of my steps?