-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to build AFOpenFlowDemo with Xcode 4.2 ios 5 #23
Comments
I'm also interested in building and iOS 5 app using OpenFlow (xcode 4.2). |
Another interested guy calling in :) any ideas on how to fix/ workaround this issue? |
On Feb 10, 2012, at 4:32 AM, hbobenicio wrote:
It turns out that the problems were due to the use of OpenFlickr. Removing OpenFlickr from the demo caused OpenFlow to compile and run without a hitch. I converted OpenFlow to use ARC and I am currently using it without any issues. Since I have no need for OpenFlickr it works for me. I have attached my version of the OpenFlowDemo. Its a bit of a hack but it works. |
Thanks man. |
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?
The text was updated successfully, but these errors were encountered: