fluttercommunity / flutter_contacts

Contacts Service - A Flutter plugin to retrieve and manage contacts on Android and iOS devices. Maintainer: @lukasgit
https://pub.dev/packages/contacts_service
MIT License
153 stars 69 forks source link

Happens as soon as I include the app into my software. No code has been created yet to utilize it. #90

Closed pneves001 closed 5 years ago

pneves001 commented 5 years ago

/flutter/.pub-cache/hosted/pub.dartlang.org/contacts_service-0.2.6/ ios/Classes/ContactsServicePlugin.m:2:9: fatal error: 'contacts_service/contacts_service-Swift.h' file not found

import <contacts_service/contacts_service-Swift.h>

        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

Could not build the precompiled application for the device.

trinqk commented 5 years ago

@pneves001 This error might occur if you did not include Swift support for iOS code. Please make sure that your app has Swift support.

lukasgit commented 5 years ago

@pneves001 closing this issue due to no response. Please let us know if trinqk's solution solved the problem. Thanks!