I am trying to deploy my app to the App Store but it continues to bring up this error in the build stage:
Archiving com.hisani.hisani... Upgrading contents.xcworkspacedata Updating project for Xcode compatibility. Upgrading project.pbxproj Upgrading Runner.xcscheme Upgrading Info.plist Removing script build phase dependency analysis. Adding input path to Thin Binary build phase. Upgrading Runner.xcscheme Automatically signing iOS for device deployment using specified development team in Xcode project: 627KTRWGNL Running pod install... 3.1s Running Xcode build... Xcode archive done. 125.1s Failed to build iOS app Error (Xcode): Undefined symbol: OBJCCLASS_$_CMMotionManager Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation) Encountered error while archiving for device. Build failed :| Step 10 script Flutter build ipa and automatic versioning exited with status code 1
Can someone explain what am I doing wrong?
Thank you,
Suleiman