Open lsethi-xoriant opened 4 years ago
@lsethi-xoriant try add use_frameworks!
in ios/Podfile
@SergeShkurko Thanks I use it but also in podspec file here need to add swift version.
native_mixpanel/ios/native_mixpanel.podspec
s.swift_version = "4.0"
Running pod install... 5.1s Running Xcode build...
Xcode build done. 8.2s Failed to build iOS app Error output from Xcode build: ↳ BUILD FAILED
Xcode's output: ↳ === BUILD TARGET native_mixpanel OF PROJECT Pods WITH CONFIGURATION Debug === /Users/testUser/develeopment/flutter/.pub-cache/hosted/pub.dartlang.org/native_mixpanel-0.1.2/ios/Classes/NativeMixpanelPlugin.m:2:9: fatal error: 'native_mixpanel/native_mixpanel-Swift.h' file not found
import <native_mixpanel/native_mixpanel-Swift.h>
Could not build the application for the simulator. Error launching application on iPhone 11 Pro Max.
Please let me know how do fix this issue?