Hello,
I've just started using the SFS2X Client API for iOS and noticed something that might be potentially very dangerous. It seems the API implements a Message class, which is also implemented in the private MIME framework from the system, yielding the following runtime warning:
objc[1718]: Class Message is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/PrivateFrameworks/MIME.framework/MIME and /Users/david/Library/Application Support/iPhone Simulator/5.1/Applications/2AB1202C-7847-44DA-AD53-E2FF7E003210/Connector.app/Connector. One of the two will be used. Which one is undefined.
An easy way to reproduce this issue is to add the GameKit framework (or possibly any other framework that uses MIME internally) to the list of libraries to link with in the Connector sample.
This is actually a duplicate of this thread: viewtopic.php?f=21&t=14027, but as you can see, the issue can be reproduced even when no client code defines a Message class.
Regards,
David
Redefinition of class Message in the API
- A51Integrated
- Posts: 240
- Joined: 03 Jan 2012, 19:55
- Location: Toronto, Canada
- Contact:
Re: Redefinition of class Message in the API
Thanks for reporting. We'll have a look at this and see if there's anything we can do.
A51 Integrated
http://a51integrated.com / +1 416-703-2300
http://a51integrated.com / +1 416-703-2300
Return to “SFS2X iPhone / iPad / OSX API”
Who is online
Users browsing this forum: No registered users and 17 guests