Невозможно прочитать список свойств из файла, проблема info.plist, когда я использую Mapbox SDK в моем приложенииIOS

Программируем под IOS
Ответить Пред. темаСлед. тема
Anonymous
 Невозможно прочитать список свойств из файла, проблема info.plist, когда я использую Mapbox SDK в моем приложении

Сообщение Anonymous »

Я сталкиваюсь с проблемой в одном из моих приложений Flutter. Я использовал плагин Mapbox-SDK, но когда я тестировал приложение на iOS, он попросил меня обновить свой Mapbox-SDK для какой-то версии (что я сделал с помощью команды Pop Install). Теперь, после всего, я сталкиваюсь с новыми ошибками в моем файле info.plist. Я забыл сделать резервную копию моего старого файла info.plist.
в любом случае, новая info.plist: < /p>



YES
io.flutter.embedded_views_preview

MGLMapboxAccessToken
Mapbox-key-not-visible

NSLocationWhenInUseUsageDescription
NSLocationAlwaysUsageDescription
NSPhotoLibraryUsageDescription
NSCameraUsageDescription
NSMicrophoneUsageDescription
This app needs access to location when open.
CFBundleDevelopmentRegion
$(DEVELOPMENT_LANGUAGE)
CFBundleExecutable
$(EXECUTABLE_NAME)
CFBundleIdentifier
$(PRODUCT_BUNDLE_IDENTIFIER)
CFBundleInfoDictionaryVersion
6.0
CFBundleName
project1
CFBundlePackageType
APPL
CFBundleShortVersionString
$(FLUTTER_BUILD_NAME)
CFBundleSignature
????
CFBundleVersion
$(FLUTTER_BUILD_NUMBER)
LSRequiresIPhoneOS

UILaunchStoryboardName
LaunchScreen
UIMainStoryboardFile
Main
UISupportedInterfaceOrientations

UIInterfaceOrientationPortrait
UIInterfaceOrientationLandscapeLeft
UIInterfaceOrientationLandscapeRight

UISupportedInterfaceOrientations~ipad

UIInterfaceOrientationPortrait
UIInterfaceOrientationPortraitUpsideDown
UIInterfaceOrientationLandscapeLeft
UIInterfaceOrientationLandscapeRight

UIViewControllerBasedStatusBarAppearance




Ошибка, с которой я столкнулась при создании приложения: < /p>

Ошибка: < /p>

Users/apple/flutter-practice/Project-Casky/casky/ios/Runner/Info.plist: Property List error: Found non-key inside at line 10 / JSON error: JSON text did not start with array or object and option to allow fragments not set.
Xcode build done. 24.2s
Failed to build iOS app
Error output from Xcode build:

** BUILD FAILED **
Xcode's output:

error: unable to read property list from file: /Users/apple/flutter-practice/Project- Casky/casky/ios/Runner/Info.plist: The operation couldn’t be completed. (XCBUtil.PropertyListConversionError error 1.) (in target 'Runner' from project 'Runner')
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
warning: Mapping architecture armv7 to i386. Ensure that this target's Architectures and Valid Architectures build settings are configured correctly for the iOS Simulator platform. (in target 'image_picker' from project 'Pods')
warning: Mapping architecture arm64 to x86_64. Ensure that this target's Architectures and Valid Architectures build settings are configured correctly for the iOS Simulator platform. (in target 'image_picker' from project 'Pods')
warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the Runner editor. (in target 'Runner' from project 'Runner')
Could not build the application for the simulator.
Error launching application on iPhone 11 Pro Max.
Exited (sigterm)
< /code>

Ребята, я не могу найти решение для этого. Пожалуйста, помогите мне в любом случае. Заранее спасибо.


Подробнее здесь: https://stackoverflow.com/questions/617 ... pbox-sdk-i
Реклама
Ответить Пред. темаСлед. тема

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

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

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

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

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

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