ios_google_places_autocomplete icon indicating copy to clipboard operation
ios_google_places_autocomplete copied to clipboard

Getting an error: "Include of non-modular header inside framework module 'FBSnapshotTestCase.FBSnapshotTestCase'"

Open oferRounds opened this issue 9 years ago • 4 comments
trafficstars

Any idea? Tried few suggestions - nothing worked. This when trying to run the Example project.

If I comment the improt: #import <FBSnapshotTestCase/FBSnapshotTestCasePlatform.h> on the FBSnapshotTestCase it works, but the I get the follwing crash when runing:

dyld: Library not loaded: @rpath/GooglePlacesAutocomplete.framework/GooglePlacesAutocomplete Referenced from: /private/var/mobile/Containers/Bundle/Application/7301485E-5E52-444D-AED6-2C47FD1CDAD1/GooglePlacesAutocompleteExample.app/GooglePlacesAutocompleteExample Reason: image not found

oferRounds avatar Nov 28 '15 20:11 oferRounds

Update: I solved the issue by changing this import to "" instead of <>.

But now I left with the aforementiond crash.

oferRounds avatar Nov 28 '15 20:11 oferRounds

@josephkandi - any idea?

oferRounds avatar Nov 28 '15 20:11 oferRounds

@oferRounds How are you including the library in your project? Are you suing Cocoapods or doing a manual integration?

If using Cocoapods you will need to have this line in your Podfile use_frameworks!, if not try integrating the library manually by copying the GoogleAutoPlacesComplex.swift file .xib and try again.

josephkandi avatar Nov 29 '15 16:11 josephkandi

Hi @josephkandi

Thanks for replying!

I actually reffered here to the example project. But later on I just tried to include it in the project (did it manually). I didn't try to actually use it yet, but I can tell that it does get build. I will try tomorrow to start using, hopefully I would not get this same runtime crash.

oferRounds avatar Nov 29 '15 22:11 oferRounds