ランナー内でのサイクル処理。Xcode を Xcode 15 にアップデートすると、ビルドで信頼できない結果が生成される可能性がある 質問する

ランナー内でのサイクル処理。Xcode を Xcode 15 にアップデートすると、ビルドで信頼できない結果が生成される可能性がある 質問する

Xcodeを15に、iOSを17バージョンにアップグレードしています。しかし、iPhone 15 Pro MaxでFlutterプロジェクトをビルドしようとすると、このエラーが発生します。

Error (Xcode): Cycle inside Runner; building could produce unreliable results.
Cycle details:
→ Target 'Runner': CodeSign /Users/umsi06/Documents/project/devV17Ke18/build/ios/Debug-iphonesimulator/Runner.app
○ That command depends on command in Target 'Runner': script phase “[CP] Embed Pods Frameworks”
○ That command depends on command in Target 'Runner': script phase “Thin Binary”
○ Target 'Runner' has process command with output '/Users/umsi06/Documents/project/devV17Ke18/build/ios/Debug-iphonesimulator/Runner.app/Info.plist'
○ Target 'Runner' has copy command from '/Users/umsi06/Documents/project/devV17Ke18/build/ios/Debug-iphonesimulator/OneSignalNotificationServiceExtension.appex' to '/Users/umsi06/Documents/project/devV17Ke18/build/ios/Debug-iphonesimulator/Runner.app/PlugIns/OneSignalNotificationServiceExtension.appex'
○ That command depends on command in Target 'Runner': script phase “[CP] Copy Pods Resources”

これを解決する方法はあるか

ベストアンサー1

移動することで解決できましたFoundation拡張機能を埋め込む右下バンドルリソースのコピーXcodeのビルドフェーズ設定では次のようにしますここに画像の説明を入力してください

私のプロジェクトはかなり大きく、Embed Foundation Extensions フェーズで OneSignalNotificationServiceExtension.appex のようなものを使用していることに注意してください。これが必要な理由です。

これはすべての人に有効とは限りませんが、同様のプロジェクト構成を持つ人の役に立つかもしれません。

私の他のプロジェクト構成:

  • ココカポッド v1.13.0
  • フラッター 3.13.5

おすすめ記事