Hello,
I have downloaded a framework in order to be able to handle auth on the iPhone. I have problems though to add this framework to my projects...
This is how I did it:
I checked out the project here
I got a map with all files. As I understand I have to build the framework to be able to use it? So I opened the file MPOAuth.xcodeproj in xcode. Under the targets I then chose the framework and build. That was sucessfull regarding to Xcode. I took the framwork and dragged and droped it into my project and I right-clicked on the target in order to set a new build-phase. I chose Frameworks and dragged and dropped the added private framework as path. In the target hierarchy a new group was added called copy Files and into this group I dragged and dropped the framework. (I followed this tutorial)
When I try to build and run the project I get 6 errors and they are all like this one:
Does any one know what it means? What do I do wrong?
MACloop
I have downloaded a framework in order to be able to handle auth on the iPhone. I have problems though to add this framework to my projects...
This is how I did it:
I checked out the project here
I got a map with all files. As I understand I have to build the framework to be able to use it? So I opened the file MPOAuth.xcodeproj in xcode. Under the targets I then chose the framework and build. That was sucessfull regarding to Xcode. I took the framwork and dragged and droped it into my project and I right-clicked on the target in order to set a new build-phase. I chose Frameworks and dragged and dropped the added private framework as path. In the target hierarchy a new group was added called copy Files and into this group I dragged and dropped the framework. (I followed this tutorial)
When I try to build and run the project I get 6 errors and they are all like this one:
Code:
in /Users/xxxxx/Desktop/test_MPO/Classes/MPOAuth.framework/MPOAuth, file was built for unsupported file format which is not the architecture being linked (i386)
"_MPOAuthNotificationAccessTokenReceived", referenced from:
_MPOAuthNotificationAccessTokenReceived$non_lazy_ptr in RootViewController.o
(maybe you meant: _MPOAuthNotificationAccessTokenReceived$non_lazy_ptr)
Does any one know what it means? What do I do wrong?
MACloop