stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
12/07/14 01:24 PM (9 years ago)

Macho errors after changing architecture

Tried to submit a new version of an already accepted app and got the message saying that 64 bit was required. So I went to Xcode and changed the architectures to standard, as the error message suggested. Also required to change to deployment 5.1.1 Now getting these errors: ld: warning: directory not found for option '-L/Users/skronwith/Desktop/APPS/skyeventfinder_v15_iOS6 /../iansfolder/skyeventfinder_v15_iOS6 /BT_Objects/TwitterOAuth/SAOAuthTwitterEngine' ld: warning: ignoring file /Users/skronwith/Desktop/APPS/skyeventfinder_v15_iOS6 /BT_Objects/TwitterOAuth/SAOAuthTwitterEngine/libOAuth.a, missing required architecture x86_64 in file /Users/skronwith/Desktop/APPS/skyeventfinder_v15_iOS6 /BT_Objects/TwitterOAuth/SAOAuthTwitterEngine/libOAuth.a (3 slices) Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_OAConsumer", referenced from: objc-class-ref in SA_OAuthTwitterEngine.o "_OBJC_CLASS_$_OADataFetcher", referenced from: objc-class-ref in SA_OAuthTwitterEngine.o "_OBJC_CLASS_$_OAMutableURLRequest", referenced from: objc-class-ref in SA_OAuthTwitterEngine.o "_OBJC_CLASS_$_OARequestParameter", referenced from: objc-class-ref in SA_OAuthTwitterEngine.o "_OBJC_CLASS_$_OAToken", referenced from: objc-class-ref in SA_OAuthTwitterEngine.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) The last time I updated the app was in January 2014 without problems. Not sure what Twitter has to do with it since I don't use it in the app. Any help? Thanks. Steve
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
12/08/14 09:11 PM (9 years ago)
Is there a twitter 'framework' in your project? You may want to remove it, if you're certain you're not using it for anything... Cheers! -- Smug
 
stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
like
12/09/14 07:55 AM (9 years ago)
Yes, I removed all files and folders with anything related to twitter in them and all is well.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.