Member-only story

Flutter ios release build error

Nhan Cao
1 min readJul 1, 2020

Error:

- Linked libraries- Build success in debug but not ok in release- Ignoring file /Users/nhancv/Library/Developer/Xcode/DerivedData/Runner-dukaehmkqmsknhbvskixiqgfrmbd/Build/Products/Debug-iphoneos/shared_preferences/libshared_preferences.a, building for iOS-armv7 but attempting to link with file built for iOS-arm64ld: warning: ignoring file /Users/nhancv/Library/Developer/Xcode/DerivedData/Runner-dukaehmkqmsknhbvskixiqgfrmbd/Build/Products/Debug-iphoneos/libPods-Runner.a, building for iOS-armv7 but attempting to link with file built for iOS-arm64ld: warning:- library not found for

Fix: Select Runner -> Runner target -> Build Settings -> Search architectures -> Update ‘Valid Architectures to arm64 and arm64 only (some libraries do not support for armv7 32 but such as: arkit, webrtc)

--

--

No responses yet