I am developing a flutter project. While I run my application on an IOS device it's working perfectly. I want to release my application in test flight for testing, when I tried to archive (Product->Archive) am got the below error. I am using Xcode version 12.5.
CodePudding user response:
you highlight a warning.... warnings should not be the problem.
try this.
- in flutter project dir ->
flutter clean
- in ios dir -> delete
Podfile.lock
- run ->
pod repo update
- check in xcode your app account settings (provisioning files, certificates etc.)
CodePudding user response:
your third party lib not support armv7 arc
try this:
- in ios dir, open runner.xcworkspace
- project-> runner
build settings
find Architectures, set the value to arm64 - targets-> runner
build settings
find Architectures, set the value to arm64 - run
pod install
this works for me, but this option will only support the devices release after iPhone 5s, and can not support old device