0
0
Fluttermobile~10 mins

iOS build configuration in Flutter - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to set the iOS deployment target in the Podfile.

Flutter
platform :ios, '[1]'
Drag options to blanks, or click blank then click option'
A12.0
B9.0
C10.0
D11.0
Attempts:
3 left
💡 Hint
Common Mistakes
Using a number without quotes.
Setting deployment target lower than supported by Flutter.
2fill in blank
medium

Complete the command to build a Flutter iOS app in release mode.

Flutter
flutter build ios --[1]
Drag options to blanks, or click blank then click option'
Arelease
Bprofile
Cdebug
Dtest
Attempts:
3 left
💡 Hint
Common Mistakes
Using debug mode for App Store builds.
Using profile mode instead of release.
3fill in blank
hard

Fix the error in the Xcode build configuration by selecting the correct build configuration name.

Flutter
xcodebuild -workspace Runner.xcworkspace -scheme Runner -configuration [1]
Drag options to blanks, or click blank then click option'
ATest
BDebug
CProfile
DRelease
Attempts:
3 left
💡 Hint
Common Mistakes
Using lowercase 'release' instead of 'Release'.
Confusing 'Profile' with 'Release'.
4fill in blank
hard

Fill both blanks to set the correct signing team and provisioning profile in Xcode build settings.

Flutter
CODE_SIGN_IDENTITY = [1]
PROVISIONING_PROFILE_SPECIFIER = [2]
Drag options to blanks, or click blank then click option'
A"Apple Development"
B"iPhone Distribution"
C"MyApp_Provisioning_Profile"
D"Automatic"
Attempts:
3 left
💡 Hint
Common Mistakes
Using development identity for release builds.
Leaving provisioning profile as 'Automatic' when manual is required.
5fill in blank
hard

Fill all three blanks to configure Flutter build flavors for iOS in the build command.

Flutter
flutter build ios --flavor [1] -t lib/[2].dart --[3]
Drag options to blanks, or click blank then click option'
Aprod
Bmain_prod
Crelease
Ddev
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'dev' flavor when intending production.
Omitting the target Dart file.
Using debug mode instead of release.