Флэттер проект не строится в облаке XcodeIOS

Программируем под IOS
Ответить
Anonymous
 Флэттер проект не строится в облаке Xcode

Сообщение Anonymous »

Если вы все знаете что -нибудь об этих ошибках ниже вашей помощи, будет очень ценится. Если вам нужна дополнительная информация об этом, не стесняйтесь комментировать. Я довольно потерян в этот момент. Я архивировал свое приложение Flutter с помощью xcode Cloud и получаю эти четыре ошибки (кстати, он архивирует и обычно строит на моей собственной машине): < /p>
  • Код: Выделить всё

    could not find included file 'Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig' in search paths
  • Код: Выделить всё

    could not find included file 'Generated.xcconfig' in search paths
  • Код: Выделить всё

    Unable to load contents of file list: '/Target Support Files/Pods-Runner/Pods-Runner-frameworks-Release-output-files.xcfilelist'
  • Код: Выделить всё

    Unable to load contents of file list: '/Target Support Files/Pods-Runner/Pods-Runner-frameworks-Release-input-files.xcfilelist'< /code> < /li>
    < /ul>
    Я также получаю эти два предупреждения (idk, если они связаны): < /p>
    
     Run script build phase '[CP] Embed Pods Frameworks' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase.
  • Код: Выделить всё

    Unable to read contents of XCFileList '/Target Support Files/Pods-Runner/Pods-Runner-frameworks-Release-output-files.xcfilelist'
Я использую рабочий процесс по умолчанию для xcode Cloud и использую следующее в качестве сценария Post Clone: ​​

Код: Выделить всё

#!/bin/sh

# The default execution directory of this script is the ci_scripts directory.
cd $CI_WORKSPACE # change working directory to the root of your cloned repo.

# Install Flutter using git.
git clone https://github.com/flutter/flutter.git --depth 1 -b stable $HOME/flutter
export PATH="$PATH:$HOME/flutter/bin"

# Install Flutter artifacts for iOS (--ios), or macOS (--macos) platforms.
flutter precache --ios

# Install Flutter dependencies.
flutter pub get
flutter build ios

# Install CocoaPods using Homebrew.
HOMEBREW_NO_AUTO_UPDATE=1 # disable homebrew's automatic updates.
brew install cocoapods

# Install CocoaPods dependencies.
cd ios
pod install # run `pod install` in the `ios` directory.

exit 0
Я попытался внести изменения в сценарий пост-клона и сам проект, но до сих пор ничего не сработало.

Подробнее здесь: https://stackoverflow.com/questions/765 ... code-cloud
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «IOS»