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

Error after updating to Xcode 3.2.6 and iOS SDK 4.3 #16

Open
randytarampi opened this issue Mar 12, 2011 · 4 comments
Open

Error after updating to Xcode 3.2.6 and iOS SDK 4.3 #16

randytarampi opened this issue Mar 12, 2011 · 4 comments

Comments

@randytarampi
Copy link

So, I'm getting linker errors after I upgraded...

ld: warning: ignoring file /Users/randytarampi/Projects/cmpt275-group9/trunk/objectiveflickr/build/Debug-iphoneos/libObjectiveFlickr.a, file was built for archive which is not the architecture being linked (armv7)
Undefined symbols for architecture armv7:
"_OFFlickrWritePermission", referenced from:
-[SFUFlickrPhotoViewController authorizeFlickr] in SFUFlickrPhotoViewController.o
"OBJC_CLASS$_OFFlickrAPIRequest", referenced from:
objc-class-ref in SFUBusinessMobileAppDelegate.o
"OBJC_CLASS$_OFFlickrAPIContext", referenced from:
objc-class-ref in SFUBusinessMobileAppDelegate.o
ld: symbol(s) not found for architecture armv7
collect2: ld returned 1 exit status

@olutsenko
Copy link

I have the same issue. How to solve it?

@randytarampi
Copy link
Author

I had to play around with my project build setting quite a bit.

If I recall correctly, I noticed that my release settings built just fine so I fixed if for debug mode by checking off "Build Active Architecture only" in the debug settings.

@olutsenko
Copy link

Oh yeah, just fixed it adding iOS architecture at ObjectiveFlickr's target.

@rogmabi
Copy link

rogmabi commented May 13, 2011

Did you find a solution for this kind of problem ? cause I have the same kind of error but in Xcode 4 .... I have opened an issue if you want to have more information.

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