Xcode 5 warns about my architectures setting when I open my Google Maps project created in Xcode 4

♀尐吖头ヾ 提交于 2019-12-05 20:32:44

Oops - as it happened it only took me a few seconds of experimentation after posting this question to find the answer myself:

  1. Click the 'Validate Project Settings' warning in the Issue Navigator.
  2. Uncheck the checkbox to the left of the 'Automatically Select Architectures' suggested change.
  3. Click 'Done' (or 'Perform Changes' if there are other changes left on the list that you actually want to make - in my case, this was the only one).

Now your settings are as they were before, and you can build for iPhone 5, but the warning is gone.

I feel a bit dim now for having spent my time posting this question, but I'm leaving the question and this answer here in case it helps anyone in the future.

Jenn

Google Maps SDK v1.5 now supports ARMv7S. From the v1.5 release notes:

The Google Maps SDK for iOS now ships with an armv7s slice. (Issue 4745)

Supporting ARMv7S in your app will improve performance, so the best course of action to take if you see the warning described in the question is to update your version of the Google Maps SDK to v1.5 (or later, if you are reading this in the future) and then double-click the warning and allow Xcode to change your architecture settings back to the default.

The linker is giving you an error because the GoogleMaps framework that you are using doesn't support the armv7s architecture. Maybe the latest version of the GoogleMaps framework has such support or maybe you'll have to wait for an update from Google.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!