1***@163.com
1***@163.com
  • 发布:2025-04-02 01:44
  • 更新:2025-04-02 12:38
  • 阅读:1052

uts ios 插件打包出错doesn't include the ...iso7816.select-identifiers entitlement.

分类:uts

Appid: UNIEF873C3
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild archive -sdk iphoneos18.1 -project [PackagePath]/HBuilder.xcodeproj -archivePath [PackagePath]/XArchive/HBuilder.xcarchive -scheme HBuilder -configuration Debug

User defaults from command line:
IDEArchivePathOverride = [PackagePath]/XArchive/HBuilder.xcarchive
IDEPackageSupportUseBuiltinSCM = YES

Build settings from command line:
SDKROOT = iphoneos18.1

Prepare packages

ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (1 target)
Target 'HBuilder' in project 'HBuilder' (no dependencies)

GatherProvisioningInputs

CreateBuildDescription

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.1.sdk -x objective-c -c /dev/null

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --version --output-format xml1

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.1.sdk -x c -c /dev/null

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/actool --print-asset-tag-combinations --output-format xml1 [PackagePath]/HBuilder/Assets.xcassets

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/actool --version --output-format xml1

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.1.sdk -x c -c /dev/null

Build description signature: 7a63371e82b85df9e92ef42319c2b9e3
Build description path: /Users/[Name]/Library/Developer/Xcode/DerivedData/HBuilder-cwzpsevccujmpmcmrrlnvwdfwnll/Build/Intermediates.noindex/ArchiveIntermediates/HBuilder/IntermediateBuildFilesPath/XCBuildData/7a63371e82b85df9e92ef42319c2b9e3.xcbuilddata
[PackagePath]/HBuilder.xcodeproj: error: Provisioning profile \"linktag\" doesn't include the com.apple.developer.nfc.readersession.iso7816.select-identifiers entitlement. Profile qualification is using entitlement definitions that may be out of date. Connect to network to update. (in target 'HBuilder' from project 'HBuilder')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'HBuilder' from project 'HBuilder')
warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking \"Based on dependency analysis\" in the script phase. (in target 'HBuilder' from project 'HBuilder')--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00008112-000D29A41AFB401E, name:My Mac }
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
{ platform:iOS Simulator, id:555388F8-BC5E-4416-BC24-E689DF79B56A, OS:18.1, name:iPad (10th generation) }
{ platform:iOS Simulator, id:555388F8-BC5E-4416-BC24-E689DF79B56A, OS:18.1, name:iPad (10th generation) }
{ platform:iOS Simulator, id:E9EF897B-6A5E-4A00-9B20-739B884D6818, OS:18.1, name:iPad Air 11-inch (M2) }
{ platform:iOS Simulator, id:E9EF897B-6A5E-4A00-9B20-739B884D6818, OS:18.1, name:iPad Air 11-inch (M2) }
{ platform:iOS Simulator, id:A5B1969D-9C86-4872-AFB0-7A00AC88238E, OS:18.1, name:iPad Air 13-inch (M2) }
{ platform:iOS Simulator, id:A5B1969D-9C86-4872-AFB0-7A00AC88238E, OS:18.1, name:iPad Air 13-inch (M2) }
{ platform:iOS Simulator, id:5EABA124-4458-4C87-A59A-367427D7BC83, OS:18.1, name:iPad Pro 11-inch (M4) }
{ platform:iOS Simulator, id:5EABA124-4458-4C87-A59A-367427D7BC83, OS:18.1, name:iPad Pro 11-inch (M4) }
{ platform:iOS Simulator, id:2D9ABA85-91BA-4BD6-A81A-49F891864840, OS:18.1, name:iPad Pro 13-inch (M4) }
{ platform:iOS Simulator, id:2D9ABA85-91BA-4BD6-A81A-49F891864840, OS:18.1, name:iPad Pro 13-inch (M4) }
{ platform:iOS Simulator, id:8022080A-80D2-418C-991D-9D9C753B381B, OS:18.1, name:iPad mini (A17 Pro) }
{ platform:iOS Simulator, id:8022080A-80D2-418C-991D-9D9C753B381B, OS:18.1, name:iPad mini (A17 Pro) }
{ platform:iOS Simulator, id:3F9ACF45-21BC-4DE8-AEB2-F1591AF66519, OS:18.1, name:iPhone 16 }
{ platform:iOS Simulator, id:3F9ACF45-21BC-4DE8-AEB2-F1591AF66519, OS:18.1, name:iPhone 16 }
{ platform:iOS Simulator, id:930286D2-B9AF-404C-AEBB-B0347FE9C7A9, OS:18.1, name:iPhone 16 Plus }
{ platform:iOS Simulator, id:930286D2-B9AF-404C-AEBB-B0347FE9C7A9, OS:18.1, name:iPhone 16 Plus }
{ platform:iOS Simulator, id:2FE2CC93-497A-4A99-9FEA-085C7A002426, OS:18.1, name:iPhone 16 Pro }
{ platform:iOS Simulator, id:2FE2CC93-497A-4A99-9FEA-085C7A002426, OS:18.1, name:iPhone 16 Pro }
{ platform:iOS Simulator, id:3BC7C1F0-3971-4824-9E4D-ABEF88200044, OS:18.1, name:iPhone 16 Pro Max }
{ platform:iOS Simulator, id:3BC7C1F0-3971-4824-9E4D-ABEF88200044, OS:18.1, name:iPhone 16 Pro Max }
{ platform:iOS Simulator, id:D58D64F3-5EFB-40CB-BC1E-1A770886658C, OS:18.1, name:iPhone SE (3rd generation) }
{ platform:iOS Simulator, id:D58D64F3-5EFB-40CB-BC1E-1A770886658C, OS:18.1, name:iPhone SE (3rd generation) }
ARCHIVE FAILED The following build commands failed:
Archiving project HBuilder with scheme HBuilder
(1 failure)

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>NSNFCReaderUsageDescription</key>
<string>需要使用 NFC 功能来读取卡片信息</string>
<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>*</string>
</array>
</dict>
</plist>

UTS.entitlements如下:
<?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>com.apple.developer.nfc.readersession.formats</key>
<array>
<string>NDEF</string>
<string>TAG</string>
</array>
</dict>
</plist>

apple 开发者账号后台 已配置NFC Tag Reading
打包总是出现以上错误

2025-04-02 01:44 负责人:无 分享
已邀请:
DCloud_App_Array

DCloud_App_Array

在苹果后台更新profile文件后重新下载再提交云端打包。

  • 1***@163.com (作者)

    我删了profile 重新生成,也选了nfc ,下载打包自定义包还是一样

    2025-04-02 21:46

  • DCloud_App_Array

    回复 1***@163.com: 把云端打包的错误链接地址发出来

    2025-04-03 16:55

要回复问题请先登录注册