1

:)

我使用 eas (ExpoApplicationService) 来构建我的反应原生 NFC iOS 应用程序,当我使用

com.apple.developer.nfc.readersession.iso7816.select-identifiers

com.apple.developer.nfc.readersession.iso7816.select-identifiers

我总是从 fastlane 收到这个错误:

❌ 错误:配置文件“*[expo] com.freeridre.senityApp AppStore 2021-07-23T21:58:47.340Z”不包括 com.apple.developer.nfc.readersession.felica.systemcodes 和 com.apple。 developer.nfc.readersession.iso7816.select-identifiers 权利。(在项目“senity”的目标“senity”中)

我的权利如下所示:

<?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>aps-environment</key>
    <string>development</string>
    <key>com.apple.developer.nfc.readersession.felica.systemcodes</key>
    <array>
      <string>12FC</string>
    </array>
    <key>com.apple.developer.nfc.readersession.formats</key>
    <array>
      <string>NDEF</string>
      <string>TAG</string>
    </array>
    <key>com.apple.developer.nfc.readersession.iso7816.select-identifiers</key>
    <array>
      <string>A0000001020304</string>
      <string>A000000063504B43532D3135</string>
      <string>E828BD080F</string>
      <string>D2760000850100</string>
      <string>D2760000850101</string>
    </array>
  </dict>
</plist>

我的 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>CFBundleDisplayName</key>
    <string>senity</string>
    <key>CFBundleShortVersionString</key>
    <string>1.0.1</string>
    <key>CFBundleURLTypes</key>
    <array>
      <dict>
        <key>CFBundleURLSchemes</key>
        <array>
          <string>com.freeridre.senityApp</string>
        </array>
      </dict>
      <dict>
        <key>CFBundleURLSchemes</key>
        <array>
          <string>exp+senityiosnfc</string>
        </array>
      </dict>
    </array>
    <key>CFBundleVersion</key>
    <string>1</string>
    <key>NFCReaderUsageDescription</key>
    <string>Senity Security Systems Ltd.</string>
    <key>UILaunchStoryboardName</key>
    <string>SplashScreen</string>
    <key>UIRequiresFullScreen</key>
    <true/>
    <key>UISupportedInterfaceOrientations</key>
    <array>
      <string>UIInterfaceOrientationPortrait</string>
      <string>UIInterfaceOrientationPortraitUpsideDown</string>
    </array>
    <key>com.apple.developer.nfc.readersession.felica.systemcodes</key>
    <array>
      <string>12FC</string>
    </array>
    <key>com.apple.developer.nfc.readersession.formats</key>
    <array>
      <string>NDEF</string>
      <string>TAG</string>
    </array>
    <key>com.apple.developer.nfc.readersession.iso7816.select-identifiers</key>
    <array>
      <string>A0000001020304</string>
      <string>A000000063504B43532D3135</string>
      <string>E828BD080F</string>
      <string>D2760000850100</string>
      <string>D2760000850101</string>
    </array>
  </dict>
</plist>

我怎样才能解决这个问题?先感谢您!

4

0 回答 0