问题
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