(iOS/OSX) Stub location functions