I'm developing a custom module for iPhone and I'm very confused about the SDK/iOS versions. I have some functionality that works in a way in iOS5 and in another way in iOS6. So I'm using the iOS6 SDK to develop the module, but I want devices with both iOS to use it.
When I try to use the module with iOS5, it crash. Could someone explain me how all this stuff works? How can I use IOS6 functionalities that don't make the app crash when running in a previous version?
Tim from Appcelerator helped me with this
OTHER_LDFLAGS[sdk=iphoneos6*]=$(inherited) -weak_framework Social OTHER_LDFLAGS[sdk=iphonesimulator6*]=$(inherited) -weak_framework SocialSo the secret is -weak_framework
This sounds like an object-c questsion... Stackoverflow is your friend
Think you can help? Login to answer this question!