Skip to content

Unable to build AFOpenFlowDemo with Xcode 4.2 ios 5 #23

@bromoab

Description

@bromoab

When attempting to build AFOpenFlowDemo the build fails with the following linkage error:

"Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang failed with exit code 1"

I reran the linker on the command line so I could see stderr and obtained the following results:

iMacCoreDuo 60> /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -L/Users/bromo/Library/Developer/Xcode/DerivedData/AFOpenFlowDemo-ehmqnvjtudtzsubmyfpswdpjidjl/Build/Products/Debug-iphonesimulator -F/Users/bromo/Library/Developer/Xcode/DerivedData/AFOpenFlowDemo-ehmqnvjtudtzsubmyfpswdpjidjl/Build/Products/Debug-iphonesimulator -filelist /Users/bromo/Library/Developer/Xcode/DerivedData/AFOpenFlowDemo-ehmqnvjtudtzsubmyfpswdpjidjl/Build/Intermediates/AFOpenFlowDemo.build/Debug-iphonesimulator/AFOpenFlowDemo.build/Objects-normal/i386/AFOpenFlowDemo.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED=50000 /Users/bromo/Library/Developer/Xcode/DerivedData/AFOpenFlowDemo-ehmqnvjtudtzsubmyfpswdpjidjl/Build/Products/Debug-iphonesimulator/libObjectiveFlickr.a -framework Foundation -framework UIKit -framework CoreGraphics -framework QuartzCore -framework CFNetwork -o /Users/bromo/Library/Developer/Xcode/DerivedData/AFOpenFlowDemo-ehmqnvjtudtzsubmyfpswdpjidjl/Build/Products/Debug-iphonesimulator/AFOpenFlowDemo.app/AFOpenFlowDemo
clang: error: no such file or directory: '/Users/bromo/Library/Developer/Xcode/DerivedData/AFOpenFlowDemo-ehmqnvjtudtzsubmyfpswdpjidjl/Build/Products/Debug-iphonesimulator/libObjectiveFlickr.a

When I looked in the Products directory there were 2 directories Debug and Debug-iphonesimulator/. The Debug directory contained a libObjectiveFlickr.a built for 386 and the Debug-iphonesimulator directory was empty. Any ideas how to fix this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions