如果info.plist中存在FacebookAppID,Flutter应用程序将崩溃



在迁移到flutter 3.0.5后,如果info.plist中存在FacebookAppID,我的应用程序就会崩溃。如果我把它注释掉,一切都会好起来。有什么想法吗?

我使用的是flaft_facebook_auth:^4.4.1

有崩溃报告:https://drive.google.com/file/d/1Kxoyb8FcZCX54MjND6aYjjt6nnFkJpZV/view?usp=sharing

除了这些没有日志:

executing: /usr/bin/plutil -convert xml1 -o - /Users/vytautaspranskunas/Desktop/Development/senioassist-mobile/build/ios/iphonesimulator/Runner.app/Info.plist
[   +8 ms] Exit code 0 from: /usr/bin/plutil -convert xml1 -o - /Users/vytautaspranskunas/Desktop/Development/senioassist-mobile/build/ios/iphonesimulator/Runner.app/Info.plist
[        ] <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>21F79</string>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>Senio Assist</string>
<key>CFBundleExecutable</key>
<string>Runner</string>
<key>CFBundleIcons</key>
<dict>
<key>CFBundlePrimaryIcon</key>
<dict>
<key>CFBundleIconFiles</key>
<array>
<string>AppIcon60x60</string>
</array>
<key>CFBundleIconName</key>
<string>AppIcon</string>
</dict>
</dict>
<key>CFBundleIcons~ipad</key>
<dict>
<key>CFBundlePrimaryIcon</key>
<dict>
<key>CFBundleIconFiles</key>
<array>
<string>AppIcon60x60</string>
<string>AppIcon76x76</string>
</array>
<key>CFBundleIconName</key>
<string>AppIcon</string>
</dict>
</dict>
<key>CFBundleIdentifier</key>
<string>-----</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>senio_assist</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>99.99.99</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>iPhoneSimulator</string>
</array>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLSchemes</key>
<array>
<string>------</string>
</array>
</dict>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>3ds.stripesdk.io</string>
<key>CFBundleURLSchemes</key>
<array>
<string>stripesdk</string>
</array>
</dict>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>com.senio.assist</string>
<key>CFBundleURLSchemes</key>
<array>
<string>-----</string>
</array>
</dict>
</array>
<key>CFBundleVersion</key>
<string>99</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>19C51</string>
<key>DTPlatformName</key>
<string>iphonesimulator</string>
<key>DTPlatformVersion</key>
<string>15.2</string>
<key>DTSDKBuild</key>
<string>19C51</string>
<key>DTSDKName</key>
<string>iphonesimulator15.2</string>
<key>DTXcode</key>
<string>1321</string>
<key>DTXcodeBuild</key>
<string>13C100</string>
<key>FacebookAppID</key>
<string>----</string>
<key>FacebookDisplayName</key>
<string>-----</string>
<key>FirebaseAppDelegateProxyEnabled</key>
<false/>
<key>FirebaseDynamicLinksCustomDomains</key>
<array>
<string>----</string>
</array>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>fbapi</string>
<string>fbapi20130214</string>
<string>fbapi20130410</string>
<string>fbapi20130702</string>
<string>fbapi20131010</string>
<string>fbapi20131219</string>
<string>fbapi20140410</string>
<string>fbapi20140116</string>
<string>fbapi20150313</string>
<string>fbapi20150629</string>
<string>fbapi20160328</string>
<string>fbauth</string>
<string>fb-messenger-share-api</string>
<string>fbauth2</string>
<string>fbshareextension</string>
<string>itms-beta</string>
<string>itms</string>
</array>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>MinimumOSVersion</key>
<string>11.0</string>
<key>NSBonjourServices</key>
<array>
<string>_dartobservatory._tcp</string>
</array>
<key>NSCameraUsageDescription</key>
<string>Will allow to attach photos to request and complete identity check</string>
<key>NSLocalNetworkUsageDescription</key>
<string>Allow Flutter tools on your computer to connect and debug your application. This prompt will not appear on release builds.</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>In order to find closes service providers</string>
<key>NSLocationAlwaysUsageDescription</key>
<string>In order to find closes service providers</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>In order to find closes service providers</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>Will allow to attach images to request and complete identity check</string>
<key>UIBackgroundModes</key>
<array>
<string>fetch</string>
<string>remote-notification</string>
</array>
<key>UIDeviceFamily</key>
<array>
<integer>1</integer>
<integer>2</integer>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>io.flutter.embedded_views_preview</key>
<true/>
</dict>
</plist>

引入了新属性:FacebookClientToken丢失,如果没有它,应用程序将崩溃

最新更新