Closed racacere closed 4 years ago
Edit ios/Podfile
, comment-out following line:
target 'Runner' do
+ #use_frameworks!
cd ios
pod install
I've just created a flutter create foo
and clearly there's something messed up with Flutter.
I just add shared_preferences
and I get the same issue.
However, after closing / re-opening XCode and running:
cd ios
pod install
The problem went away.
Hi Chris, thanks for the fast answer. After commenting on the line you mention above, the error persists.
My podfile is the following:
# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'
target 'Runner' do
# Comment the next line if you don't want to use dynamic frameworks
#use_frameworks!
# Pods for Runner
pod 'Firebase/Core'
pod 'Firebase/MLVisionTextModel'
pod 'GoogleMaps'
end
And after running the pod install
command again, the output was:
~$ pod install
Analyzing dependencies
Downloading dependencies
Using Firebase (6.5.0)
Using FirebaseAnalytics (6.0.4)
Using FirebaseCore (6.1.0)
Using FirebaseInstanceID (4.2.2)
Using FirebaseMLVisionTextModel (0.17.0)
Using GTMSessionFetcher (1.2.2)
Using GoogleAppMeasurement (6.0.4)
Using GoogleMaps (3.3.0)
Using GoogleMobileVision (1.6.0)
Using GoogleToolboxForMac (2.2.1)
Using GoogleUtilities (6.2.3)
Using Protobuf (3.9.0)
Using nanopb (0.3.901)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 3 dependencies from the Podfile and 13 total pods installed.
[!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target `Runner` to `Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig` or include the `Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig` in your build configuration (`Flutter/Release.xcconfig`).
I tried to fix the warning, but my ios/Flutter/Release.xcconfig
already have that line:
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include "Generated.xcconfig"
In the Search Paths
section of the Builds Settings
of the project all items are non-recursive
Now when i tried to run the app, appears a lot of warnings in the output and the build ends with the same error. The complete output is the following:
Launching lib/main.dart on iPad in debug mode...
Signing iOS app for device deployment using developer identity: "[identity]"
Xcode build done. 63.5s
Failed to build iOS app
Error output from Xcode build:
↳
2019-09-19 20:12:29.573 XCBBuildService[62597:2437467] Failed to remove: /Users/[myUser]/Library/Developer/Xcode/DerivedData/Runner-eqyceweyjyfqymgekhtfrokbsbzc/Build/Intermediates.noindex/XCBuildData/1d3b21800db068c65025a4db508f2a01-manifest.xcbuild: unlink(/Users/[myUser]/Library/Developer/Xcode/DerivedData/Runner-eqyceweyjyfqymgekhtfrokbsbzc/Build/Intermediates.noindex/XCBuildData/1d3b21800db068c65025a4db508f2a01-manifest.xcbuild): No such file or directory (2)
2019-09-19 20:12:29.669 XCBBuildService[62597:2437467] Failed to remove: /Users/[myUser]/Library/Developer/Xcode/DerivedData/Runner-eqyceweyjyfqymgekhtfrokbsbzc/Build/Intermediates.noindex/XCBuildData/1d3b21800db068c65025a4db508f2a01-desc.xcbuild: unlink(/Users/[myUser]/Library/Developer/Xcode/DerivedData/Runner-eqyceweyjyfqymgekhtfrokbsbzc/Build/Intermediates.noindex/XCBuildData/1d3b21800db068c65025a4db508f2a01-desc.xcbuild): No such file or directory (2)
** BUILD FAILED **
Xcode's output:
↳
warning: The iOS deployment target is set to 4.3, but the range of supported deployment target versions for this platform is 8.0 to 12.4.99. (in target 'nanopb')
warning: The iOS deployment target is set to 7.0, but the range of supported deployment target versions for this platform is 8.0 to 12.4.99. (in target 'GTMSessionFetcher')
warning: The iOS deployment target is set to 7.0, but the range of supported deployment target versions for this platform is 8.0 to 12.4.99. (in target 'Protobuf')
warning: The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference” logging enabled, and then disable inference by changing the "Swift 3 @objc Inference" build setting to "Default" for the "Runner" target. (in target 'Runner')
warning: The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference” logging enabled, and then disable inference by changing the "Swift 3 @objc Inference" build setting to "Default" for the "Runner" target. (in target 'Runner')
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Runner.app/Frameworks/GTMSessionFetcher.framework' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Runner.app/Frameworks/GoogleToolboxForMac.framework' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Runner.app/Frameworks/GoogleUtilities.framework' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Runner.app/Frameworks/Protobuf.framework' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Runner.app/Frameworks/nanopb.framework' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/nanopb/nanopb.framework' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/nanopb/nanopb.framework/Headers' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/nanopb/nanopb.framework/Headers/nanopb-umbrella.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/nanopb/nanopb.framework/Headers/pb.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/nanopb/nanopb.framework/Headers/pb_common.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/nanopb/nanopb.framework/Headers/pb_decode.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/nanopb/nanopb.framework/Headers/pb_encode.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/nanopb/nanopb.framework/Info.plist' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/nanopb/nanopb.framework/Modules/module.modulemap' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/nanopb/nanopb.framework/nanopb' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GTMSessionFetcher/GTMSessionFetcher.framework' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GTMSessionFetcher/GTMSessionFetcher.framework/GTMSessionFetcher' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GTMSessionFetcher/GTMSessionFetcher.framework/Headers' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GTMSessionFetcher/GTMSessionFetcher.framework/Headers/GTMSessionFetcher-umbrella.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GTMSessionFetcher/GTMSessionFetcher.framework/Headers/GTMSessionFetcher.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GTMSessionFetcher/GTMSessionFetcher.framework/Headers/GTMSessionFetcherLogging.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GTMSessionFetcher/GTMSessionFetcher.framework/Headers/GTMSessionFetcherService.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GTMSessionFetcher/GTMSessionFetcher.framework/Headers/GTMSessionUploadFetcher.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GTMSessionFetcher/GTMSessionFetcher.framework/Info.plist' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GTMSessionFetcher/GTMSessionFetcher.framework/Modules/module.modulemap' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseInstanceID/FirebaseInstanceID.framework' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseInstanceID/FirebaseInstanceID.framework/FirebaseInstanceID' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseInstanceID/FirebaseInstanceID.framework/Headers' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseInstanceID/FirebaseInstanceID.framework/Headers/FIRInstanceID.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseInstanceID/FirebaseInstanceID.framework/Headers/FirebaseInstanceID-umbrella.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseInstanceID/FirebaseInstanceID.framework/Headers/FirebaseInstanceID.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseInstanceID/FirebaseInstanceID.framework/Info.plist' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseInstanceID/FirebaseInstanceID.framework/Modules/module.modulemap' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseInstanceID/FirebaseInstanceID.framework/PrivateHeaders' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseInstanceID/FirebaseInstanceID.framework/PrivateHeaders/FIRInstanceID_Private.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseCore/FirebaseCore.framework' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseCore/FirebaseCore.framework/FirebaseCore' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseCore/FirebaseCore.framework/Headers' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseCore/FirebaseCore.framework/Headers/FIRApp.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseCore/FirebaseCore.framework/Headers/FIRConfiguration.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseCore/FirebaseCore.framework/Headers/FIRLoggerLevel.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseCore/FirebaseCore.framework/Headers/FIROptions.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseCore/FirebaseCore.framework/Headers/FirebaseCore-umbrella.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseCore/FirebaseCore.framework/Headers/FirebaseCore.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseCore/FirebaseCore.framework/Info.plist' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseCore/FirebaseCore.framework/Modules/module.modulemap' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseCore/FirebaseCore.framework/PrivateHeaders' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseCore/FirebaseCore.framework/PrivateHeaders/FIRAnalyticsConfiguration.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseCore/FirebaseCore.framework/PrivateHeaders/FIRAppAssociationRegistration.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseCore/FirebaseCore.framework/PrivateHeaders/FIRAppInternal.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseCore/FirebaseCore.framework/PrivateHeaders/FIRBundleUtil.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseCore/FirebaseCore.framework/PrivateHeaders/FIRComponent.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseCore/FirebaseCore.framework/PrivateHeaders/FIRComponentContainer.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseCore/FirebaseCore.framework/PrivateHeaders/FIRComponentContainerInternal.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseCore/FirebaseCore.framework/PrivateHeaders/FIRComponentType.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseCore/FirebaseCore.framework/PrivateHeaders/FIRConfigurationInternal.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseCore/FirebaseCore.framework/PrivateHeaders/FIRDependency.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseCore/FirebaseCore.framework/PrivateHeaders/FIRErrorCode.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseCore/FirebaseCore.framework/PrivateHeaders/FIRErrors.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseCore/FirebaseCore.framework/PrivateHeaders/FIRLibrary.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseCore/FirebaseCore.framework/PrivateHeaders/FIRLogger.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseCore/FirebaseCore.framework/PrivateHeaders/FIROptionsInternal.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/FirebaseCore/FirebaseCore.framework/PrivateHeaders/FIRVersion.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleUtilities/GoogleUtilities.framework' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleUtilities/GoogleUtilities.framework/GoogleUtilities' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleUtilities/GoogleUtilities.framework/Headers' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleUtilities/GoogleUtilities.framework/Headers/GULLoggerCodes.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleUtilities/GoogleUtilities.framework/Headers/GULLoggerLevel.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleUtilities/GoogleUtilities.framework/Headers/GULNSData+zlib.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleUtilities/GoogleUtilities.framework/Headers/GoogleUtilities-umbrella.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleUtilities/GoogleUtilities.framework/Info.plist' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleUtilities/GoogleUtilities.framework/Modules/module.modulemap' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleUtilities/GoogleUtilities.framework/PrivateHeaders' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleUtilities/GoogleUtilities.framework/PrivateHeaders/GULAppDelegateSwizzler.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleUtilities/GoogleUtilities.framework/PrivateHeaders/GULAppEnvironmentUtil.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleUtilities/GoogleUtilities.framework/PrivateHeaders/GULApplication.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleUtilities/GoogleUtilities.framework/PrivateHeaders/GULLogger.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleUtilities/GoogleUtilities.framework/PrivateHeaders/GULMutableDictionary.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleUtilities/GoogleUtilities.framework/PrivateHeaders/GULNetwork.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/Any.pbobjc.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleUtilities/GoogleUtilities.framework/PrivateHeaders/GULNetworkConstants.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/Api.pbobjc.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleUtilities/GoogleUtilities.framework/PrivateHeaders/GULNetworkLoggerProtocol.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/Duration.pbobjc.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleUtilities/GoogleUtilities.framework/PrivateHeaders/GULNetworkMessageCode.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/Empty.pbobjc.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/FieldMask.pbobjc.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleUtilities/GoogleUtilities.framework/PrivateHeaders/GULNetworkURLSession.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/GPBArray.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleUtilities/GoogleUtilities.framework/PrivateHeaders/GULOriginalIMPConvenienceMacros.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/GPBArray_PackagePrivate.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleUtilities/GoogleUtilities.framework/PrivateHeaders/GULReachabilityChecker.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/GPBBootstrap.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleUtilities/GoogleUtilities.framework/PrivateHeaders/GULReachabilityMessageCode.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/GPBCodedInputStream.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleUtilities/GoogleUtilities.framework/PrivateHeaders/GULSwizzler.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleUtilities/GoogleUtilities.framework/PrivateHeaders/GULUserDefaults.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/GPBCodedInputStream_PackagePrivate.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/GPBCodedOutputStream.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/GPBCodedOutputStream_PackagePrivate.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/GPBDescriptor.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/GPBDescriptor_PackagePrivate.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/GPBDictionary.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/GPBDictionary_PackagePrivate.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/GPBExtensionInternals.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/GPBExtensionRegistry.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/GPBMessage.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/GPBMessage_PackagePrivate.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/GPBProtocolBuffers.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/GPBProtocolBuffers_RuntimeSupport.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/GPBRootObject.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/GPBRootObject_PackagePrivate.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/GPBRuntimeTypes.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/GPBUnknownField.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/GPBUnknownFieldSet.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/GPBUnknownFieldSet_PackagePrivate.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/GPBUnknownField_PackagePrivate.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/GPBUtilities.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/GPBUtilities_PackagePrivate.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/GPBWellKnownTypes.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/GPBWireFormat.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/Protobuf-umbrella.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/SourceContext.pbobjc.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/Struct.pbobjc.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/Timestamp.pbobjc.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/Type.pbobjc.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Headers/Wrappers.pbobjc.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Info.plist' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Modules/module.modulemap' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Protobuf/Protobuf.framework/Protobuf' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleToolboxForMac/GoogleToolboxForMac.framework' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleToolboxForMac/GoogleToolboxForMac.framework/GoogleToolboxForMac' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleToolboxForMac/GoogleToolboxForMac.framework/Headers' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleToolboxForMac/GoogleToolboxForMac.framework/Headers/GTMDefines.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleToolboxForMac/GoogleToolboxForMac.framework/Headers/GTMLogger.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleToolboxForMac/GoogleToolboxForMac.framework/Headers/GTMNSData+zlib.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleToolboxForMac/GoogleToolboxForMac.framework/Headers/GoogleToolboxForMac-umbrella.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleToolboxForMac/GoogleToolboxForMac.framework/Info.plist' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/GoogleToolboxForMac/GoogleToolboxForMac.framework/Modules/module.modulemap' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Pods_Runner.framework' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Pods_Runner.framework/Headers' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Pods_Runner.framework/Headers/Pods-Runner-umbrella.h' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Pods_Runner.framework/Info.plist' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Pods_Runner.framework/Modules/module.modulemap' is located outside of the allowed root paths.
warning: Stale file '/Users/[myUser]/Projects/[app-name]/build/ios/Debug-iphoneos/Pods_Runner.framework/Pods_Runner' is located outside of the allowed root paths.
/Users/[myUser]/Projects/[app-name]/ios/Runner/GeneratedPluginRegistrant.m:6:9: fatal error: 'background_fetch/BackgroundFetchPlugin.h' file not found
#import <background_fetch/BackgroundFetchPlugin.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
note: Using new build systemnote: Planning buildnote: Constructing build description
Could not build the precompiled application for the device.
Error launching application on iPad.
Exited (sigterm)
Here a caption of the error in Xcode:
I also tried to close Xcode and re-open it after re-run pod install
but the error persists
Do you know what can be the error? Thanks for you time
If that doesn't work, I suggest you flutter create foo
and setup the plugin in a fresh hello world app to test it in isolation of your app.
I tried with a new flutter project and the error was caused because my Podfile
was poorly defined. Solution: Keep the default Flutter Podfile
and add it the use_frameworks!
line. Thanks for the suggestion and your time.
Your Environment
Plugin version: 1.2.2
Platform: IOS
OS version: 12.4
Device manufacturer / model: Iphone X
Flutter info (
flutter doctor
):Plugin config:
Expected Behavior
Build the app for IOS device
Actual Behavior
The app build fails with the following error:
Steps to Reproduce
Context
Debug logs
Logs
``` ```