Flutter iOS build failed: DVTCoreDeviceEnabledState_Disabled Error

I’m using currently Xcode 14.3 but there is a problem with that when generating ipa file.

flutter build ipa –release –target lib/main.dart

Users get error with Xcode 14.3. To achive this problem, you must change the file which is located under ios folder ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh

First find this :

if [ -L "${source}" ]; then
echo "Symlinked..."
source="$(readlink "${source}")"
fi

to

if [ -L "${source}" ]; then
echo "Symlinked..."
source="$(readlink -f "${source}")"
fi

That’s it.

Bir cevap yazın