We usually include 3rd party library files (.a) by drag and drop or by Adding new file in Xcode Document directory window, when they are moved to new folders when we update to latest library files, we normally delete the old one and add the new one.
There is one glitch here i.e. Xcode’s ‘Library Search Path’ setting under Target’s build setting still points to old location, which leads to wrong product. Since it will take the library folder (.a) file from old location only even though you have added new library file (.a) in your project.
To fix this issue, just remove the old location from ‘Library Search Path’ and you are good to go…
Ever since Xcode 4 has come out, many people are having trouble running their apps on older version of iOS devices. With few manipulations here and there in XCode and in device, you can definitely find a work around… Here are my findings..
1. Try to rename the scheme at XCode 4, you can do this as follows:
Go to Xcode->Product->Manage Scheme. Then click on the setting icon at the bottom of popup, select Duplicate. Delete the older one. Restart Xcode and also reconnect device.
2. In Build Setting of Project and Target, make sure your Architecture is armv6 $(ARCHS_STANDARD_32_BIT) or armv6 armv7.
3. In -Info.plist file, find “Required device capabilities” and delete “armv7”.
4. Try resetting the device’s Date and time to current date and time, even if it is already set to current. Go to Settings->General->Date And Time.
Hope any of the above steps may help you to beat this annoying and time killing bug…