I am newer on flutter and on cellular dev on the whole.
In native machine, I can efficiently construct the iOS debug model on the iOS simulator, and the appliance launches appropriately. Nonetheless, after I try and construct the discharge model utilizing Codemagic’s workflow, I encounter the next points:
Saved export choices to /Customers/builder/export_options.plist
> flutter construct ipa --release --export-options-plist /Customers/builder/export_options.plist
Resolving dependencies...
audio_video_progress_bar 0.11.0 (2.0.1 obtainable)
awesome_notifications 0.8.2 (0.9.0 obtainable)
! dio 5.4.0 (overridden)
firebase_auth 4.15.3 (4.16.0 obtainable)
fl_chart 0.65.0 (0.66.0 obtainable)
! flutter_dio_http_cache 0.3.1 (overridden)
flutter_inappwebview 5.8.0 (6.0.0 obtainable)
google_api_headers 2.0.3 (3.7.0 obtainable)
intl 0.18.1 (0.19.0 obtainable)
jiffy 6.2.1 (6.2.2 obtainable)
matcher 0.12.16 (0.12.16+1 obtainable)
material_color_utilities 0.5.0 (0.8.0 obtainable)
! meta 1.11.0 (overridden)
package_info_plus 4.2.0 (5.0.1 obtainable)
path 1.8.3 (1.9.0 obtainable)
! photo_manager 3.0.0-dev.5 (overridden)
syncfusion_flutter_calendar 23.2.7 (24.1.44 obtainable)
syncfusion_flutter_core 23.2.7 (24.1.44 obtainable)
syncfusion_flutter_datepicker 23.2.7 (24.1.44 obtainable)
test_api 0.6.1 (0.7.0 obtainable)
net 0.3.0 (0.4.0 obtainable)
! win32 5.2.0 (overridden)
Acquired dependencies!
17 packages have newer variations incompatible with dependency constraints.
Attempt `flutter pub outdated` for extra data.
Archiving ag.amaya.farmer...
Routinely signing iOS for gadget deployment utilizing specified improvement staff in Xcode undertaking: ********
Operating pod set up... 305.5s
Operating Xcode construct...
Xcode archive carried out. 290.4s
Did not construct iOS app
Error (Xcode): 'Flutter/Flutter.h' file not discovered
/Customers/builder/clone/farmer/ios/Runner/GeneratedPluginRegistrant.h:9:8
Error (Xcode): didn't emit precompiled header '/Customers/builder/Library/Developer/Xcode/DerivedData/Runner-cwhdghwkfsecylfzzbdiegifniyg/Construct/Intermediates.noindex/ArchiveIntermediates/Runner/PrecompiledHeaders/Runner-Bridging-Header-swift_1OA4SU7K8SZ1N-clang_1ELA9HQ0UON1L.pch' for bridging header '/Customers/builder/clone/farmer/ios/Runner/Runner-Bridging-Header.h'
Encountered error whereas archiving for gadget.
Construct failed
Earlier than efficiently constructing regionally, I encountered the identical error. Nonetheless, I resolved it by cleansing the undertaking, rebuilding the iOS folder (with the Runner backup), and the issue disappeared.
On Codemagic, I accessed the VM remotely to aim the identical steps, however the consequence stays unfavourable.
Flutter physician output:
[✓] Flutter (Channel steady, 3.16.5, on macOS 14.2 23C64 darwin-arm64, locale en-FR)
[✓] Android toolchain - develop for Android gadgets (Android SDK model 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
[✓] Chrome - develop for the net
[✓] Android Studio (model 2022.2)
[✓] VS Code (model 1.84.1)
The identical configuration is current on the Codemagic machine.”
thanks prematurely
I am attempting to construct my flutter utility launch model for iOs utilizing codemagic
construct is failed : Error (Xcode): ‘Flutter/Flutter.h’ file not discovered
I am anticipating a profitable construct for launch iOs model