googleads / googleads-mobile-flutter

A Flutter plugin for the Google Mobile Ads SDK
Apache License 2.0
343 stars 285 forks source link

Info.plist doesn't exist. #1094

Closed jung-ah-choi closed 5 months ago

jung-ah-choi commented 5 months ago

[REQUIRED] Step 1: Describe your environment

Plugin Version

google_mobile_ads: ^5.1.0

[REQUIRED] Step 2: Describe the problem

Steps to Reproduce

  1. Add google_mobile_ads plugin to pubspec.yaml file
  2. Add the following code to ios/Runner/Info.plist file
    <string>ca-app-pub-3940256099942544~1458002511</string>
    <key>SKAdNetworkItems</key>
    <array>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>cstr6suwn9.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>4fzdc2evr5.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>4pfyvq9l8r.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>2fnua5tdw4.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>ydx93a7ass.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>5a6flpkh64.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>p78axxw29g.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>v72qych5uu.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>ludvb6z3bs.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>cp8zw746q7.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>c6k4g5qg8m.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>s39g8k73mm.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>3qy4746246.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>3sh42y64q3.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>f38h382jlk.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>hs6bdukanm.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>prcb7njmu6.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>v4nxqhlyqp.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>wzmmz9fp6w.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>yclnxrl5pm.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>t38b2kh725.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>7ug5zh24hu.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>9rd848q2bz.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>y5ghdn5j9k.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>n6fk4nfna4.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>v9wttpbfk9.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>n38lu8286q.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>47vhws6wlr.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>kbd757ywx3.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>9t245vhmpl.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>a2p9lx4jpn.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>22mmun2rn5.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>4468km3ulz.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>2u9pt9hc89.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>8s468mfl3y.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>av6w8kgt66.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>klf5c3l5u5.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>ppxm28t8ap.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>424m5254lk.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>ecpz2srf59.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>uw77j35x4d.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>mlmmfzh3r3.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>578prtvx9j.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>4dzt52r2t5.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>gta9lk7p23.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>e5fvkxwrpn.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>8c4e2ghe7u.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>zq492l623r.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>3rd42ekr43.skadnetwork</string>
      </dict>
      <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>3qcr597p9d.skadnetwork</string>
      </dict>
    </array>
  3. Run pod install

Expected results: Successful build for ios

Actual results: [!] The plist file at path /Users/jung-ah/Desktop/project/mongwalk/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework/GoogleMobileAds.xcframework/Info.plist doesn't exist.

Logs flutter run --verbose ``` ... Downloading dependencies -> Installing AppAuth (1.7.5) > Copying AppAuth from `/Users/jung-ah/Library/Caches/CocoaPods/Pods/Release/AppAuth/1.7.5-501c0` to `Pods/AppAuth` -> Installing BoringSSL-GRPC (0.0.32) > Copying BoringSSL-GRPC from `/Users/jung-ah/Library/Caches/CocoaPods/Pods/Release/BoringSSL-GRPC/0.0.32-1e234` to `Pods/BoringSSL-GRPC` -> Installing Firebase (10.25.0) > Copying Firebase from `/Users/jung-ah/Library/Caches/CocoaPods/Pods/Release/Firebase/10.25.0-0312a` to `Pods/Firebase` -> Installing FirebaseAppCheckInterop (10.25.0) > Copying FirebaseAppCheckInterop from `/Users/jung-ah/Library/Caches/CocoaPods/Pods/Release/FirebaseAppCheckInterop/10.25.0-5da5c` to `Pods/FirebaseAppCheckInterop` -> Installing FirebaseAuth (10.25.0) > Copying FirebaseAuth from `/Users/jung-ah/Library/Caches/CocoaPods/Pods/Release/FirebaseAuth/10.25.0-c0f93` to `Pods/FirebaseAuth` -> Installing FirebaseAuthInterop (10.25.0) > Copying FirebaseAuthInterop from `/Users/jung-ah/Library/Caches/CocoaPods/Pods/Release/FirebaseAuthInterop/10.25.0-2753e` to `Pods/FirebaseAuthInterop` -> Installing FirebaseCore (10.25.0) > Copying FirebaseCore from `/Users/jung-ah/Library/Caches/CocoaPods/Pods/Release/FirebaseCore/10.25.0-7ec4d` to `Pods/FirebaseCore` -> Installing FirebaseCoreExtension (10.25.0) > Copying FirebaseCoreExtension from `/Users/jung-ah/Library/Caches/CocoaPods/Pods/Release/FirebaseCoreExtension/10.25.0-8a478` to `Pods/FirebaseCoreExtension` -> Installing FirebaseCoreInternal (10.25.0) > Copying FirebaseCoreInternal from `/Users/jung-ah/Library/Caches/CocoaPods/Pods/Release/FirebaseCoreInternal/10.25.0-910a8` to `Pods/FirebaseCoreInternal` -> Installing FirebaseFirestore (10.25.0) > Copying FirebaseFirestore from `/Users/jung-ah/Library/Caches/CocoaPods/Pods/Release/FirebaseFirestore/10.25.0-977cc` to `Pods/FirebaseFirestore` -> Installing FirebaseFirestoreInternal (10.25.0) > Copying FirebaseFirestoreInternal from `/Users/jung-ah/Library/Caches/CocoaPods/Pods/Release/FirebaseFirestoreInternal/10.25.0-04b8a` to `Pods/FirebaseFirestoreInternal` -> Installing FirebaseSharedSwift (10.25.0) > Copying FirebaseSharedSwift from `/Users/jung-ah/Library/Caches/CocoaPods/Pods/Release/FirebaseSharedSwift/10.25.0-02740` to `Pods/FirebaseSharedSwift` -> Installing FirebaseStorage (10.25.0) > Copying FirebaseStorage from `/Users/jung-ah/Library/Caches/CocoaPods/Pods/Release/FirebaseStorage/10.25.0-44f4e` to `Pods/FirebaseStorage` -> Installing Flutter (1.0.0) -> Installing GTMAppAuth (4.1.1) > Copying GTMAppAuth from `/Users/jung-ah/Library/Caches/CocoaPods/Pods/Release/GTMAppAuth/4.1.1-f69bd` to `Pods/GTMAppAuth` -> Installing GTMSessionFetcher (3.4.1) > Copying GTMSessionFetcher from `/Users/jung-ah/Library/Caches/CocoaPods/Pods/Release/GTMSessionFetcher/3.4.1-80007` to `Pods/GTMSessionFetcher` -> Installing Google-Mobile-Ads-SDK (11.2.0) > Copying Google-Mobile-Ads-SDK from `/Users/jung-ah/Library/Caches/CocoaPods/Pods/Release/Google-Mobile-Ads-SDK/11.2.0-5a6d0` to `Pods/Google-Mobile-Ads-SDK` -> Installing GoogleSignIn (7.1.0) > Copying GoogleSignIn from `/Users/jung-ah/Library/Caches/CocoaPods/Pods/Release/GoogleSignIn/7.1.0-d4281` to `Pods/GoogleSignIn` -> Installing GoogleUserMessagingPlatform (2.4.0) > Copying GoogleUserMessagingPlatform from `/Users/jung-ah/Library/Caches/CocoaPods/Pods/Release/GoogleUserMessagingPlatform/2.4.0-f131f` to `Pods/GoogleUserMessagingPlatform` -> Installing GoogleUtilities (7.13.3) > Copying GoogleUtilities from `/Users/jung-ah/Library/Caches/CocoaPods/Pods/Release/GoogleUtilities/7.13.3-ea963` to `Pods/GoogleUtilities` -> Installing PromisesObjC (2.4.0) > Copying PromisesObjC from `/Users/jung-ah/Library/Caches/CocoaPods/Pods/Release/PromisesObjC/2.4.0-f5707` to `Pods/PromisesObjC` -> Installing RecaptchaInterop (100.0.0) > Copying RecaptchaInterop from `/Users/jung-ah/Library/Caches/CocoaPods/Pods/Release/RecaptchaInterop/100.0.0-7d1a4` to `Pods/RecaptchaInterop` -> Installing abseil (1.20240116.2) > Copying abseil from `/Users/jung-ah/Library/Caches/CocoaPods/Pods/Release/abseil/1.20240116.2-d121d` to `Pods/abseil` -> Installing cloud_firestore (4.17.3) -> Installing firebase_auth (4.19.5) -> Installing firebase_core (2.31.0) -> Installing firebase_storage (11.7.5) -> Installing flutter_background_service_ios (0.0.3) -> Installing flutter_local_notifications (0.0.1) -> Installing flutter_secure_storage (6.0.0) -> Installing gRPC-C++ (1.62.5) > Copying gRPC-C++ from `/Users/jung-ah/Library/Caches/CocoaPods/Pods/Release/gRPC-C++/1.62.5-e725e` to `Pods/gRPC-C++` -> Installing gRPC-Core (1.62.5) > Copying gRPC-Core from `/Users/jung-ah/Library/Caches/CocoaPods/Pods/Release/gRPC-Core/1.62.5-eee4b` to `Pods/gRPC-Core` -> Installing google_mobile_ads (5.1.0) -> Installing google_sign_in_ios (0.0.1) -> Installing image_picker_ios (0.0.1) -> Installing leveldb-library (1.22.5) > Copying leveldb-library from `/Users/jung-ah/Library/Caches/CocoaPods/Pods/Release/leveldb-library/1.22.5-e8ead` to `Pods/leveldb-library` -> Installing nanopb (2.30910.0) > Copying nanopb from `/Users/jung-ah/Library/Caches/CocoaPods/Pods/Release/nanopb/2.30910.0-438bc` to `Pods/nanopb` -> Installing path_provider_foundation (0.0.1) -> Installing pedometer (0.0.1) -> Installing permission_handler_apple (9.3.0) -> Installing shared_preferences_foundation (0.0.1) -> Installing sqflite (0.0.3) -> Installing url_launcher_ios (0.0.1) -> Installing webview_flutter_wkwebview (0.0.1) - Running pre install hooks - Running pre integrate hooks Generating Pods project - Creating Pods project - Installing files into Pods project - Adding source files - Adding frameworks - Adding libraries - Adding resources - Adding development pod helper files - Linking headers - Installing Pod Targets - Installing target `AppAuth` iOS 9.0 - Generating Info.plist file at `Pods/Target Support Files/AppAuth/ResourceBundle-AppAuthCore_Privacy-AppAuth-Info.plist` - Generating module map file at `Pods/Target Support Files/AppAuth/AppAuth.modulemap` - Generating umbrella header at `Pods/Target Support Files/AppAuth/AppAuth-umbrella.h` - Generating Info.plist file at `Pods/Target Support Files/AppAuth/AppAuth-Info.plist` - Generating dummy source at `Pods/Target Support Files/AppAuth/AppAuth-dummy.m` - Installing target `BoringSSL-GRPC` iOS 10.0 - Generating Info.plist file at `Pods/Target Support Files/BoringSSL-GRPC/ResourceBundle-openssl_grpc-BoringSSL-GRPC-Info.plist` - Generating module map file at `Pods/Target Support Files/BoringSSL-GRPC/BoringSSL-GRPC.modulemap` - Generating umbrella header at `Pods/Target Support Files/BoringSSL-GRPC/BoringSSL-GRPC-umbrella.h` - Generating Info.plist file at `Pods/Target Support Files/BoringSSL-GRPC/BoringSSL-GRPC-Info.plist` - Generating dummy source at `Pods/Target Support Files/BoringSSL-GRPC/BoringSSL-GRPC-dummy.m` - Installing target `Firebase` iOS 11.0 - Installing target `FirebaseAppCheckInterop` iOS 10.0 - Generating module map file at `Pods/Target Support Files/FirebaseAppCheckInterop/FirebaseAppCheckInterop.modulemap` - Generating umbrella header at `Pods/Target Support Files/FirebaseAppCheckInterop/FirebaseAppCheckInterop-umbrella.h` - Generating Info.plist file at `Pods/Target Support Files/FirebaseAppCheckInterop/FirebaseAppCheckInterop-Info.plist` - Generating dummy source at `Pods/Target Support Files/FirebaseAppCheckInterop/FirebaseAppCheckInterop-dummy.m` - Installing target `FirebaseAuth` iOS 11.0 - Generating Info.plist file at `Pods/Target Support Files/FirebaseAuth/ResourceBundle-FirebaseAuth_Privacy-FirebaseAuth-Info.plist` - Generating module map file at `Pods/Target Support Files/FirebaseAuth/FirebaseAuth.modulemap` - Generating umbrella header at `Pods/Target Support Files/FirebaseAuth/FirebaseAuth-umbrella.h` - Generating Info.plist file at `Pods/Target Support Files/FirebaseAuth/FirebaseAuth-Info.plist` - Generating dummy source at `Pods/Target Support Files/FirebaseAuth/FirebaseAuth-dummy.m` - Installing target `FirebaseAuthInterop` iOS 11.0 - Generating module map file at `Pods/Target Support Files/FirebaseAuthInterop/FirebaseAuthInterop.modulemap` - Generating umbrella header at `Pods/Target Support Files/FirebaseAuthInterop/FirebaseAuthInterop-umbrella.h` - Generating Info.plist file at `Pods/Target Support Files/FirebaseAuthInterop/FirebaseAuthInterop-Info.plist` - Generating dummy source at `Pods/Target Support Files/FirebaseAuthInterop/FirebaseAuthInterop-dummy.m` - Installing target `FirebaseCore` iOS 10.0 - Generating Info.plist file at `Pods/Target Support Files/FirebaseCore/ResourceBundle-FirebaseCore_Privacy-FirebaseCore-Info.plist` - Generating module map file at `Pods/Target Support Files/FirebaseCore/FirebaseCore.modulemap` - Generating umbrella header at `Pods/Target Support Files/FirebaseCore/FirebaseCore-umbrella.h` - Generating Info.plist file at `Pods/Target Support Files/FirebaseCore/FirebaseCore-Info.plist` - Generating dummy source at `Pods/Target Support Files/FirebaseCore/FirebaseCore-dummy.m` - Installing target `FirebaseCoreExtension` iOS 10.0 - Generating Info.plist file at `Pods/Target Support Files/FirebaseCoreExtension/ResourceBundle-FirebaseCoreExtension_Privacy-FirebaseCoreExtension-Info.plist` - Generating module map file at `Pods/Target Support Files/FirebaseCoreExtension/FirebaseCoreExtension.modulemap` - Generating umbrella header at `Pods/Target Support Files/FirebaseCoreExtension/FirebaseCoreExtension-umbrella.h` - Generating Info.plist file at `Pods/Target Support Files/FirebaseCoreExtension/FirebaseCoreExtension-Info.plist` - Generating dummy source at `Pods/Target Support Files/FirebaseCoreExtension/FirebaseCoreExtension-dummy.m` - Installing target `FirebaseCoreInternal` iOS 10.0 - Generating Info.plist file at `Pods/Target Support Files/FirebaseCoreInternal/ResourceBundle-FirebaseCoreInternal_Privacy-FirebaseCoreInternal-Info.plist` - Generating module map file at `Pods/Target Support Files/FirebaseCoreInternal/FirebaseCoreInternal.modulemap` - Generating umbrella header at `Pods/Target Support Files/FirebaseCoreInternal/FirebaseCoreInternal-umbrella.h` - Generating Info.plist file at `Pods/Target Support Files/FirebaseCoreInternal/FirebaseCoreInternal-Info.plist` - Generating dummy source at `Pods/Target Support Files/FirebaseCoreInternal/FirebaseCoreInternal-dummy.m` - Installing target `FirebaseFirestore` iOS 11.0 - Generating Info.plist file at `Pods/Target Support Files/FirebaseFirestore/ResourceBundle-FirebaseFirestore_Privacy-FirebaseFirestore-Info.plist` - Generating module map file at `Pods/Target Support Files/FirebaseFirestore/FirebaseFirestore.modulemap` - Generating umbrella header at `Pods/Target Support Files/FirebaseFirestore/FirebaseFirestore-umbrella.h` - Generating Info.plist file at `Pods/Target Support Files/FirebaseFirestore/FirebaseFirestore-Info.plist` - Generating dummy source at `Pods/Target Support Files/FirebaseFirestore/FirebaseFirestore-dummy.m` - Installing target `FirebaseFirestoreInternal` iOS 11.0 - Generating Info.plist file at `Pods/Target Support Files/FirebaseFirestoreInternal/ResourceBundle-FirebaseFirestoreInternal_Privacy-FirebaseFirestoreInternal-Info.plist` - Generating module map file at `Pods/Target Support Files/FirebaseFirestoreInternal/FirebaseFirestoreInternal.modulemap` - Generating umbrella header at `Pods/Target Support Files/FirebaseFirestoreInternal/FirebaseFirestoreInternal-umbrella.h` - Generating Info.plist file at `Pods/Target Support Files/FirebaseFirestoreInternal/FirebaseFirestoreInternal-Info.plist` - Generating dummy source at `Pods/Target Support Files/FirebaseFirestoreInternal/FirebaseFirestoreInternal-dummy.m` - Installing target `FirebaseSharedSwift` iOS 11.0 - Generating module map file at `Pods/Target Support Files/FirebaseSharedSwift/FirebaseSharedSwift.modulemap` - Generating umbrella header at `Pods/Target Support Files/FirebaseSharedSwift/FirebaseSharedSwift-umbrella.h` - Generating Info.plist file at `Pods/Target Support Files/FirebaseSharedSwift/FirebaseSharedSwift-Info.plist` - Generating dummy source at `Pods/Target Support Files/FirebaseSharedSwift/FirebaseSharedSwift-dummy.m` - Installing target `FirebaseStorage` iOS 11.0 - Generating module map file at `Pods/Target Support Files/FirebaseStorage/FirebaseStorage.modulemap` - Generating umbrella header at `Pods/Target Support Files/FirebaseStorage/FirebaseStorage-umbrella.h` - Generating Info.plist file at `Pods/Target Support Files/FirebaseStorage/FirebaseStorage-Info.plist` - Generating dummy source at `Pods/Target Support Files/FirebaseStorage/FirebaseStorage-dummy.m` - Installing target `Flutter` iOS 12.0 - Installing target `GTMAppAuth` iOS 10.0 - Generating Info.plist file at `Pods/Target Support Files/GTMAppAuth/ResourceBundle-GTMAppAuth_Privacy-GTMAppAuth-Info.plist` - Generating module map file at `Pods/Target Support Files/GTMAppAuth/GTMAppAuth.modulemap` - Generating umbrella header at `Pods/Target Support Files/GTMAppAuth/GTMAppAuth-umbrella.h` - Generating Info.plist file at `Pods/Target Support Files/GTMAppAuth/GTMAppAuth-Info.plist` - Generating dummy source at `Pods/Target Support Files/GTMAppAuth/GTMAppAuth-dummy.m` - Installing target `GTMSessionFetcher` iOS 10.0 - Generating Info.plist file at `Pods/Target Support Files/GTMSessionFetcher/ResourceBundle-GTMSessionFetcher_Core_Privacy-GTMSessionFetcher-Info.plist` - Generating Info.plist file at `Pods/Target Support Files/GTMSessionFetcher/ResourceBundle-GTMSessionFetcher_Full_Privacy-GTMSessionFetcher-Info.plist` - Generating module map file at `Pods/Target Support Files/GTMSessionFetcher/GTMSessionFetcher.modulemap` - Generating umbrella header at `Pods/Target Support Files/GTMSessionFetcher/GTMSessionFetcher-umbrella.h` - Generating Info.plist file at `Pods/Target Support Files/GTMSessionFetcher/GTMSessionFetcher-Info.plist` - Generating dummy source at `Pods/Target Support Files/GTMSessionFetcher/GTMSessionFetcher-dummy.m` - Installing target `Google-Mobile-Ads-SDK` iOS 12.0 - Generating Info.plist file at `Pods/Target Support Files/Google-Mobile-Ads-SDK/ResourceBundle-GoogleMobileAdsResources-Google-Mobile-Ads-SDK-Info.plist` [!] The plist file at path `/Users/jung-ah/Desktop/project/mongwalk/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework/GoogleMobileAds.xcframework/Info.plist` doesn't exist. /opt/homebrew/Cellar/cocoapods/1.15.1/libexec/gems/xcodeproj-1.24.0/lib/xcodeproj/plist.rb:17:in `read_from_path' /opt/homebrew/Cellar/cocoapods/1.15.1/libexec/gems/cocoapods-1.15.1/lib/cocoapods/xcode/xcframework.rb:41:in `initialize' /opt/homebrew/Cellar/cocoapods/1.15.1/libexec/gems/cocoapods-1.15.1/lib/cocoapods/target/pod_target.rb:446:in `new' /opt/homebrew/Cellar/cocoapods/1.15.1/libexec/gems/cocoapods-1.15.1/lib/cocoapods/target/pod_target.rb:446:in `block (2 levels) in xcframeworks' /opt/homebrew/Cellar/cocoapods/1.15.1/libexec/gems/cocoapods-1.15.1/lib/cocoapods/target/pod_target.rb:445:in `map' /opt/homebrew/Cellar/cocoapods/1.15.1/libexec/gems/cocoapods-1.15.1/lib/cocoapods/target/pod_target.rb:445:in `block in xcframeworks' /opt/homebrew/Cellar/cocoapods/1.15.1/libexec/gems/cocoapods-1.15.1/lib/cocoapods/target/pod_target.rb:444:in `each' /opt/homebrew/Cellar/cocoapods/1.15.1/libexec/gems/cocoapods-1.15.1/lib/cocoapods/target/pod_target.rb:444:in `each_with_object' /opt/homebrew/Cellar/cocoapods/1.15.1/libexec/gems/cocoapods-1.15.1/lib/cocoapods/target/pod_target.rb:444:in `xcframeworks' /opt/homebrew/Cellar/cocoapods/1.15.1/libexec/gems/cocoapods-1.15.1/lib/cocoapods/installer/xcode/pods_project_generator/pod_target_installer.rb:69:in `block in install!' /opt/homebrew/Cellar/cocoapods/1.15.1/libexec/gems/cocoapods-1.15.1/lib/cocoapods/user_interface.rb:149:in `message' /opt/homebrew/Cellar/cocoapods/1.15.1/libexec/gems/cocoapods-1.15.1/lib/cocoapods/installer/xcode/pods_project_generator/pod_target_installer.rb:40:in `install!' /opt/homebrew/Cellar/cocoapods/1.15.1/libexec/gems/cocoapods-1.15.1/lib/cocoapods/installer/xcode/pods_project_generator.rb:115:in `block in install_pod_targets' /opt/homebrew/Cellar/cocoapods/1.15.1/libexec/gems/cocoapods-1.15.1/lib/cocoapods/installer/xcode/pods_project_generator.rb:112:in `map' /opt/homebrew/Cellar/cocoapods/1.15.1/libexec/gems/cocoapods-1.15.1/lib/cocoapods/installer/xcode/pods_project_generator.rb:112:in `install_pod_targets' /opt/homebrew/Cellar/cocoapods/1.15.1/libexec/gems/cocoapods-1.15.1/lib/cocoapods/installer/xcode/single_pods_project_generator.rb:32:in `block in install_all_pod_targets' /opt/homebrew/Cellar/cocoapods/1.15.1/libexec/gems/cocoapods-1.15.1/lib/cocoapods/user_interface.rb:149:in `message' /opt/homebrew/Cellar/cocoapods/1.15.1/libexec/gems/cocoapods-1.15.1/lib/cocoapods/installer/xcode/single_pods_project_generator.rb:31:in `install_all_pod_targets' /opt/homebrew/Cellar/cocoapods/1.15.1/libexec/gems/cocoapods-1.15.1/lib/cocoapods/installer/xcode/single_pods_project_generator.rb:19:in `generate!' /opt/homebrew/Cellar/cocoapods/1.15.1/libexec/gems/cocoapods-1.15.1/lib/cocoapods/installer.rb:320:in `block in create_and_save_projects' /opt/homebrew/Cellar/cocoapods/1.15.1/libexec/gems/cocoapods-1.15.1/lib/cocoapods/user_interface.rb:64:in `section' /opt/homebrew/Cellar/cocoapods/1.15.1/libexec/gems/cocoapods-1.15.1/lib/cocoapods/installer.rb:315:in `create_and_save_projects' /opt/homebrew/Cellar/cocoapods/1.15.1/libexec/gems/cocoapods-1.15.1/lib/cocoapods/installer.rb:307:in `generate_pods_project' /opt/homebrew/Cellar/cocoapods/1.15.1/libexec/gems/cocoapods-1.15.1/lib/cocoapods/installer.rb:183:in `integrate' /opt/homebrew/Cellar/cocoapods/1.15.1/libexec/gems/cocoapods-1.15.1/lib/cocoapods/installer.rb:170:in `install!' /opt/homebrew/Cellar/cocoapods/1.15.1/libexec/gems/cocoapods-1.15.1/lib/cocoapods/command/install.rb:52:in `run' /opt/homebrew/Cellar/cocoapods/1.15.1/libexec/gems/claide-1.1.0/lib/claide/command.rb:334:in `run' /opt/homebrew/Cellar/cocoapods/1.15.1/libexec/gems/cocoapods-1.15.1/lib/cocoapods/command.rb:52:in `run' /opt/homebrew/Cellar/cocoapods/1.15.1/libexec/gems/cocoapods-1.15.1/bin/pod:55:in `' /opt/homebrew/Cellar/cocoapods/1.15.1/libexec/bin/pod:25:in `load' /opt/homebrew/Cellar/cocoapods/1.15.1/libexec/bin/pod:25:in `
' [ +14 ms] Error output from CocoaPods: ↳ [ ] [!] Automatically assigning platform `iOS` with version `13.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`. [ +3 ms] Error running pod install [ +1 ms] Error launching application on iPhone 15 Pro. [ +2 ms] "flutter run" took 14,199ms. [ +21 ms] #0 throwToolExit (package:flutter_tools/src/base/common.dart:10:3) #1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:840:9) #2 FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1394:27) #3 AppContext.run. (package:flutter_tools/src/base/context.dart:153:19) #4 CommandRunner.runCommand (package:args/command_runner.dart:212:13) #5 FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:372:9) #6 AppContext.run. (package:flutter_tools/src/base/context.dart:153:19) #7 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:308:5) #8 run.. (package:flutter_tools/runner.dart:130:9) #9 AppContext.run. (package:flutter_tools/src/base/context.dart:153:19) #10 main (package:flutter_tools/executable.dart:93:3) [ +77 ms] ensureAnalyticsSent: 75ms [ ] Running 1 shutdown hook [ +2 ms] Shutdown hooks complete [ +124 ms] exiting with code 1 ``` flutter analyze ``` Analyzing mongwalk... warning • The include file 'package:flutter_lints/flutter.yaml' in '/Users/jung-ah/Desktop/project/mongwalk/analysis_options.yaml' can't be found when analyzing '/Users/jung-ah/Desktop/project/mongwalk' • analysis_options.yaml:10:10 • include_file_not_found warning • Unused import: 'package:mongwalk/controller/user_info_controller.dart' • lib/component/booster.dart:4:8 • unused_import warning • Unused import: 'package:lottie/lottie.dart' • lib/component/edit_infor.confirm.dart:2:8 • unused_import warning • Unused import: 'package:lottie/lottie.dart' • lib/component/level_up_dialog.dart:2:8 • unused_import warning • Unused import: 'package:lottie/lottie.dart' • lib/component/more_dialog.dart:2:8 • unused_import warning • Unused import: 'dart:ffi' • lib/component/qna_button.dart:1:8 • unused_import warning • Unused import: 'package:flutter/material.dart' • lib/controller/ad_controller.dart:1:8 • unused_import warning • Unused import: 'package:image/image.dart' • lib/controller/auth_controller.dart:12:8 • unused_import warning • Unused import: 'package:mongwalk/login_screen.dart' • lib/controller/auth_controller.dart:16:8 • unused_import info • The import of 'package:flutter/widgets.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/material.dart' • lib/features/social/create_post.dart:5:8 • unnecessary_import warning • The operand can't be null, so the condition is always 'true' • lib/features/social/create_post.dart:38:22 • unnecessary_null_comparison info • The import of 'package:flutter/widgets.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/material.dart' • lib/features/social/post_card.dart:3:8 • unnecessary_import warning • Unused import: 'package:like_button/like_button.dart' • lib/features/social/post_card.dart:5:8 • unused_import warning • Unused import: 'package:mongwalk/utils.dart' • lib/features/social/post_card.dart:15:8 • unused_import warning • The value of the local variable 'socialController' isn't used • lib/features/social/post_card.dart:29:28 • unused_local_variable info • The import of 'package:flutter/services.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/material.dart' • lib/home_screen.dart:5:8 • unnecessary_import info • 'WillPopScope' is deprecated and shouldn't be used. Use PopScope instead. This feature was deprecated after v3.12.0-1.0.pre • lib/home_screen.dart:71:12 • deprecated_member_use info • 'WillPopScope.new' is deprecated and shouldn't be used. Use PopScope instead. This feature was deprecated after v3.12.0-1.0.pre • lib/home_screen.dart:71:12 • deprecated_member_use warning • Unused import: 'package:flutter_local_notifications/flutter_local_notifications.dart' • lib/main.dart:3:8 • unused_import warning • Unused import: 'package:mongwalk/component/my_texte_style.dart' • lib/main.dart:8:8 • unused_import warning • Unused import: 'package:get/get.dart' • lib/newfriendscreen.dart:5:8 • unused_import warning • Unused import: 'package:mongwalk/root.dart' • lib/newfriendscreen.dart:9:8 • unused_import info • The declaration '_showPermissionRequestDialog' isn't referenced • lib/newfriendscreen.dart:275:16 • unused_element warning • Unused import: 'package:cached_network_image/cached_network_image.dart' • lib/page/edit_info_page.dart:2:8 • unused_import warning • Unused import: 'package:mongwalk/component/edit_infor.confirm.dart' • lib/page/edit_info_page.dart:10:8 • unused_import warning • Unused import: 'package:mongwalk/component/just_dialog.dart' • lib/page/edit_info_page.dart:12:8 • unused_import warning • Unused import: 'package:mongwalk/component/mong_color.dart' • lib/page/edit_info_page.dart:14:8 • unused_import warning • Unused import: 'package:mongwalk/usermodel/userinfor.dart' • lib/page/edit_info_page.dart:18:8 • unused_import warning • Unused import: 'package:permission_handler/permission_handler.dart' • lib/page/edit_info_page.dart:20:8 • unused_import warning • Unused import: 'package:google_mobile_ads/google_mobile_ads.dart' • lib/page/my_page.dart:9:8 • unused_import warning • Unused import: 'package:mongwalk/controller/step_controller.dart' • lib/page/my_page.dart:38:8 • unused_import warning • The value of the local variable 'stepCountSubscription' isn't used • lib/page/my_page.dart:57:34 • unused_local_variable warning • The value of the local variable 'formattedPuppyDob' isn't used • lib/page/my_page.dart:645:24 • unused_local_variable info • The declaration '_buildStepCounter' isn't referenced • lib/page/my_page.dart:1236:10 • unused_element info • 'WillPopScope' is deprecated and shouldn't be used. Use PopScope instead. This feature was deprecated after v3.12.0-1.0.pre • lib/page/my_page.dart:1292:16 • deprecated_member_use info • 'WillPopScope.new' is deprecated and shouldn't be used. Use PopScope instead. This feature was deprecated after v3.12.0-1.0.pre • lib/page/my_page.dart:1292:16 • deprecated_member_use info • 'WillPopScope' is deprecated and shouldn't be used. Use PopScope instead. This feature was deprecated after v3.12.0-1.0.pre • lib/page/my_page.dart:1407:16 • deprecated_member_use info • 'WillPopScope.new' is deprecated and shouldn't be used. Use PopScope instead. This feature was deprecated after v3.12.0-1.0.pre • lib/page/my_page.dart:1407:16 • deprecated_member_use warning • Unused import: 'package:mongwalk/component/background_service_utils.dart' • lib/page/setting_page.dart:6:8 • unused_import info • The import of 'package:flutter/rendering.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/material.dart' • lib/usermodel/userprofile.dart:3:8 • unnecessary_import 40 issues found. (ran in 3.1s) ``` flutter doctor -v ``` [✓] Flutter (Channel stable, 3.22.0, on macOS 14.5 23F79 darwin-arm64, locale ko-KR) • Flutter version 3.22.0 on channel stable at /Users/jung-ah/Documents/development/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 5dcb86f68f (7 days ago), 2024-05-09 07:39:20 -0500 • Engine revision f6344b75dc • Dart version 3.4.0 • DevTools version 2.34.3 [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /Users/jung-ah/Library/Android/sdk • Platform android-34, build-tools 34.0.0 • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 15.4) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 15F31d • CocoaPods version 1.15.1 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2022.2) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694) [✓] VS Code (version 1.89.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.88.0 [✓] Connected device (4 available) • iPhone 15 Pro (mobile) • E926406A-6244-4B8E-87B9-EF3510032DB3 • ios • com.apple.CoreSimulator.SimRuntime.iOS-17-2 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 14.5 23F79 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.5 23F79 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 124.0.6367.208 [✓] Network resources • All expected network resources are available. • No issues found! ```
malandr2 commented 5 months ago

Hi @jung-ah-choi I am unable to reproduce this issue using https://github.com/googleads/googleads-mobile-flutter/tree/main/samples/admob/native_platform_example. I also created a new flutter project from scratch and could not reproduce. Can you provide a sample project?

In step 2 you also need to add <key>GADApplicationIdentifier</key> as part of <string>ca-app-pub-3940256099942544~1458002511</string>

jung-ah-choi commented 5 months ago

Hi @malandr2,

Thank you for your response. I created a simple project including all the mentioned steps and attempted an iOS build, but I encountered the same error stating that the Info.plist file doesn't exist. Please refer to the project link below. https://github.com/jung-ah-choi/google_mobile_ads_example

Thank you.

malandr2 commented 5 months ago

Hi @jung-ah-choi I'm able to run your project just fine. This leads me to believe the issue may be with your setup. I'm Xcode 15.4 and CocoaPods 1.15.2 - for starters I recommend updating to the latest version of CocoaPods as it appears you're on 1.15.1

Phlphat746 commented 5 months ago

I'm afraid that if I update, I won't be able to return to the original version. Thank you for helping me.

ในวันที่ ศ. 31 พ.ค. 2024 02:06 น. Justin Malandruccolo < @.***> เขียนว่า:

Hi @jung-ah-choi https://github.com/jung-ah-choi I'm able to run your project https://github.com/jung-ah-choi/google_mobile_ads_example just fine. This leads me to believe the issue may be with your setup. I'm Xcode 15.4 and CocoaPods 1.15.2 - for starters I recommend updating to the latest version of CocoaPods as it appears you're on 1.15.1

— Reply to this email directly, view it on GitHub https://github.com/googleads/googleads-mobile-flutter/issues/1094#issuecomment-2140702846, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5HBM7JFYK76UQ27U64VYZLZE52D5AVCNFSM6AAAAABH2LZCSWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBQG4YDEOBUGY . You are receiving this because you are subscribed to this thread.Message ID: @.***>