mapsplugin / cordova-plugin-googlemaps

Google Maps plugin for Cordova
Apache License 2.0
1.66k stars 918 forks source link

problem by using with monaca #227

Closed Tong2203 closed 10 years ago

Tong2203 commented 10 years ago

I had asked for building by monaca, app can be built successfully without "googlemaps-ios-sdk-for-phonegap.zip", is that necessary?

when I Import the ”googlemaps-ios-sdk-for-phonegap.zip” into monaca, I can't build success. error like "GoogleMaps/GoogleMaps.h' file not found".

but without Import ”googlemaps-ios-sdk-for-phonegap.zip”, map can be presented but can not be moved (using example).

How can I solve this problem?

TheMassassian commented 10 years ago

can you post the complete Errormessage ?

Tong2203 commented 10 years ago

http://sieg-fried.halfmoon.jp/build_error.log

This is complete Errormessage.

Tong2203 commented 10 years ago

I have seen the wiki that

https://github.com/wf9a5m75/phonegap-googlemaps-plugin/wiki/How-to-upgrade-the-Google-Maps-SDK-for-iOS-to-the-latest-version%3F

I didn't do that before build, Is it the reason for this problem? and then how to upgrade the Google Maps SDK for iOS by Monaca?

wf9a5m75 commented 10 years ago

I reproduced this error on Monaca. Let me check.

wf9a5m75 commented 10 years ago

I think this is a bug of Monaca. I reported this issue to Monaca, so please wait for a while.

wf9a5m75 commented 10 years ago

@Tong2203 I've been discussing this issue with Monaca. The problem is found out, but we still need additonal discussion. Thank you for waiting.

wf9a5m75 commented 10 years ago

@Tong2203 There is an issue in Monaca to extract the zip file which contains symbolic links. They will fix the issue, but they need to take a time. In the mean while, I provide the modified Google Maps SDK for iOS. Please download from here, and try again please. https://googledrive.com/host/0B1ECfqTCcLE8Yng5OUZIY3djUzg/googlemaps-ios-sdk-for-phonegap-modified.zip

Tong2203 commented 10 years ago

Thank you for getting back to me. I edited one line in plugin.xml like "GoogleMaps.framework/Resources/GoogleMaps.bundle" and then it can be built successfully.