Skip to content
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

Open
bromoab opened this issue Nov 23, 2011 · 4 comments
Open

Unable to build AFOpenFlowDemo with Xcode 4.2 ios 5 #23

bromoab opened this issue Nov 23, 2011 · 4 comments

Comments

@bromoab
Copy link

bromoab commented Nov 23, 2011

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?

@hbobenicio
Copy link

I'm also interested in building and iOS 5 app using OpenFlow (xcode 4.2).
Any progress with that, @bromoab ?

@logicaroma
Copy link

Another interested guy calling in :) any ideas on how to fix/ workaround this issue?

@bromoab
Copy link
Author

bromoab commented Feb 15, 2012

On Feb 10, 2012, at 4:32 AM, hbobenicio wrote:

I'm also interested in building and iOS 5 app using OpenFlow (xcode 4.2).
Any progress with that, @bromoab ?


Reply to this email directly or view it on GitHub:
#23 (comment)

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.

@hbobenicio
Copy link

Thanks man.
I can't see your attachment, though. Maybe I'm missing something... did you attached it on your message?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants