Linking on iPhone

21 views
Skip to first unread message

Mark Powell

unread,
Mar 16, 2010, 12:04:38 PM3/16/10
to OAuth Objective-C
Hi all,

I'm trying to get MPOAuth working in an iPhone project, but running into a few issues.

Here are the steps that I've taken:

1. Downloaded the SVN repo for MPOAuth
2. Dragged and Copied the "Framework" source into my project.
3. Added External Framework libxml2.dylib to my project.
4. Added /usr/include/libxml2 to the Header Search Path for building.
5. Changed all <MPOAuth/*> to "*.h" to references the source directly.

Now, the project builds fine, but fails to link properly. I get errors like the following (not posting all due to length):

  "_kSecAttrAuthenticationType", referenced from:

      _kSecAttrAuthenticationType$non_lazy_ptr in MPOAuthCredentialConcreteStore+KeychainAdditionsiPhone.o

  "_kSecReturnPersistentRef", referenced from:

      _kSecReturnPersistentRef$non_lazy_ptr in MPOAuthCredentialConcreteStore+KeychainAdditionsiPhone.o

  "_SecItemDelete", referenced from:

      -[MPOAuthCredentialConcreteStore(KeychainAdditions) removeValueFromKeychainUsingName:] in MPOAuthCredentialConcreteStore+KeychainAdditionsiPhone.o



Any help would be greatly appreciated.

-Mark
Reply all
Reply to author
Forward
0 new messages