> > So the i386 version didn’t change at all, so that may explain why the i386 > one keeps working. The x86_64 architecture indeed does give the symbol as > weak built for 10.6 but not for 10.7, which is what I’d hope would happen. > That lends credence to the suggestion the code was simply built with the > wrong deployment target. > > Just for reference this was built on Xcode 7 against the 10.10 SDK, but it’s > 2 lines of code so the tool probably doesn’t matter very much. > >
One last thought - the app itself could be built with the correct target, however if it’s linked to something else which is built with the wrong one, 3rd party library etc, which uses NSDataDetector, the strong import will trump the weak one in the final binary. _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to [email protected]
