Closed jaysson closed 5 years ago
Looks like your project doesn't have Swift support. Try to rebuild it with Swift support and build it again.
Project was created with swift support.
Same problem here. Any instructions to rebuild the project with Swift? Or is it possible to have an Objective-C version to work?
@jaysson @c0h1b4 Do you have a line use_frameworks!
uncommented in your Podfile?
No, it is commented. Now I moved to just use HapticFeedback which is built in flutter, so can’t test immediately.
On 14-Jan-2019, at 10:06 PM, Benjamin Dean notifications@github.com<mailto:notifications@github.com> wrote:
@jayssonhttps://github.com/jaysson @c0h1b4https://github.com/c0h1b4 Do you have a line use_frameworks! uncommented in your Podfile?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/benjamindean/flutter_vibration/issues/1#issuecomment-454070869, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABfc1iYR5kIih2uWNl__kE5qP8zPUyvEks5vDLITgaJpZM4Z9xgw.
I had the same issue but had to actually add use_frameworks! manually to the podfile.
@smande00 where did you add use_frameworks can you show me
Thanks! add use_frameworks and run pod install
@arpandesai You can add it on the top, like this:
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
use_frameworks!
import <vibration/vibration-Swift.h> in VibrationPlugin.m throws 'vibration/vibration-Swift.h' file not found when I try to build.
What am I missing?