Skip to content

flutter build ipa> build success xcarchive, build fail ipa should be fail, but not. #35

@dfdgsdfg

Description

@dfdgsdfg

During flutter build ipa, then xcarchive success, but ipa fail, nothing happened.
IMO, this is fail, so should be show the logs.

Fastlane Log

[13:07:48]: ---------------------------
[13:07:48]: --- Step: flutter_build ---
[13:07:48]: ---------------------------
[13:07:48]: Determined Flutter location as /Users/dev/flutter because 'flutter' executable in PATH is located there (current directory is /Users/dev/actions-runner-01/_work/us-app/us-app/apps/insight_app).
[13:07:48]: $ /Users/dev/flutter/bin/flutter build ipa --build-number 110235 --verbose --release --flavor dev --dart-define\=FLAVOR\=dev --no-tree-shake-icons --export-options-plist\=ios/Runner/ExportOptionsAdHoc.plist
[13:09:48]: FLUTTER_OUTPUT /Users/dev/actions-runner-01/_work/us-app/us-app/apps/insight_app/build/ios/archive/Runner.xcarchive

Actual log with flutter build ipa --verbose

2024-03-20T00:34:20.0550830Z [09:34:15]: ▸ �[35m[        ] Building release-testing IPA...�[0m
2024-03-20T00:34:20.0552500Z [09:34:15]: ▸ �[35m[        ] executing: /usr/bin/arch -arm64e xcrun xcodebuild -exportArchive -allowProvisioningDeviceRegistration -allowProvisioningUpdates -archivePath /Users/dev/actions-runner-01/_work/us-app/us-app/apps/insight_app/build/ios/archive/Runner.xcarchive -exportPath /Users/dev/actions-runner-01/_work/us-app/us-app/apps/insight_app/build/ios/ipa -exportOptionsPlist /Users/dev/actions-runner-01/_work/us-app/us-app/apps/insight_app/ios/Runner/ExportOptionsAdHoc.plist�[0m
2024-03-20T00:34:20.0552630Z [09:34:15]: ▸ �[35m[+9292 ms] ** EXPORT FAILED **�[0m
2024-03-20T00:34:20.0552690Z [09:34:15]: ▸ 
2024-03-20T00:34:20.0552760Z [09:34:15]: ▸ 
2024-03-20T00:34:20.0553590Z [09:34:15]: ▸ �[35m           2024-03-20 09:34:05.693 xcodebuild[54492:1199369] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path "/var/folders/83/z8071391421g7q0jzq89kplm0000gn/T/dev_2024-03-20_09-34-05.693.xcdistributionlogs".�[0m
2024-03-20T00:34:20.0553760Z [09:34:15]: ▸ �[35m           error: exportArchive: ipatool failed�[0m
2024-03-20T00:34:20.0553820Z [09:34:15]: ▸ 
2024-03-20T00:34:20.0554070Z [09:34:15]: ▸ �[35m           AppThinning.StubError(errorDescription: Optional("ipatool failed"))�[0m
2024-03-20T00:34:20.0554270Z [09:34:15]: ▸ �[35m[        ] Building release-testing IPA... (completed in 9.3s)�[0m
2024-03-20T00:34:20.0554410Z [09:34:15]: ▸ �[35m[        ] "flutter ipa" took 106,850ms.�[0m
2024-03-20T00:34:20.0554550Z [09:34:15]: ▸ �[35m[ +179 ms] ensureAnalyticsSent: 177ms�[0m
2024-03-20T00:34:20.0554680Z [09:34:15]: ▸ �[35m[        ] Running 1 shutdown hook�[0m
2024-03-20T00:34:20.0554810Z [09:34:15]: ▸ �[35m[   +1 ms] Shutdown hooks complete�[0m
2024-03-20T00:34:20.0554930Z [09:34:15]: ▸ �[35m[        ] exiting with code 0�[0m

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedbugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions