google-maps-sdk-ios - arm 7/iphone 5 issues for Google Maps 1.4.3 for iOS

允我心安 提交于 2019-12-11 01:49:01

问题


I'm having issues getting my app referencing the Google Maps 1.4.3 sdk for iOS. There seems to be an issue with arm7 & 7s and it refuses to install onto the device (iphone 5) although it runs fine on the simulator. I believe I have followed google's documentation for the API Key, the frameworks needed, build settings - architecture etc & I'm still getting "xcode cannot run using the selected device.. choose a destination with a supported architecture.."


回答1:


In my app, I have Architectures set to armv7 and Valid Architectures set to armv7 armv7s, for both the project and the target.

Are your settings the same?




回答2:


You also need to set "Build Active Architecture Only" to No, for this to work.




回答3:


According to a Google mailing list, support for armv7s was added on September 20th, 2013. Download version 1.5 of the SK from their website.



来源:https://stackoverflow.com/questions/18581759/google-maps-sdk-ios-arm-7-iphone-5-issues-for-google-maps-1-4-3-for-ios

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