- 此问题在此处已有答案**:
multiple commands produce error in xcode 11.4 react native my copy bundle resources are empty(1个答案)
6分钟前就关门了。
你好,我正在尝试为TestFlight构建一个版本。我正确地配置了所有证书和git repo,但是它还是不工作。我可以在xCode和模拟器或电缆连接的设备上运行build。但是我无法发布ipa文件。老实说,我甚至不知道是什么错误
我的快速文件
default_platform(:ios)
platform :ios do
desc 'Fetch certificates and provisioning profiles'
lane :certificates do
match(
readonly: true
)
end
desc 'Fetch code signing secrets. Build the iOS application.'
lane :build do
certificates
# Creates a signed file
gym(
export_method: "app-store",
)
end
desc "Upload to TestFlight"
lane :beta do
# Using default env variable names for fastlane to pick them up.
app_store_connect_api_key(
is_key_content_base64: true,
)
pilot
end
end
Fastlane iOS构建版本的错误日志
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace ./NativeNfcFastConfig.xcworkspace -scheme NativeNfcFastConfig -destination generic/platform=iOS -archivePath "/Users/deepcontrolmacbookpro/Library/Developer/Xcode/Archives/2023-02-09/NativeNfcFastConfig 2023-02-09 12.24.02.xcarchive" archive
User defaults from command line:
IDEArchivePathOverride = /Users/deepcontrolmacbookpro/Library/Developer/Xcode/Archives/2023-02-09/NativeNfcFastConfig 2023-02-09 12.24.02.xcarchive
IDEPackageSupportUseBuiltinSCM = YES
Prepare packages
Computing target dependency graph and provisioning inputs
Create build description
Build description signature: 4d3e133bf8ba6d1198922adad77059ec
Build description path: /Users/deepcontrolmacbookpro/Library/Developer/Xcode/DerivedData/NativeNfcFastConfig-ewyimnoosnhlyzdsbwwdsbnkcthu/Build/Intermediates.noindex/ArchiveIntermediates/NativeNfcFastConfig/IntermediateBuildFilesPath/XCBuildData/4d3e133bf8ba6d1198922adad77059ec-desc.xcbuild
note: Building targets in dependency order
error: Multiple commands produce '/Users/deepcontrolmacbookpro/Library/Developer/Xcode/DerivedData/NativeNfcFastConfig-ewyimnoosnhlyzdsbwwdsbnkcthu/Build/Intermediates.noindex/ArchiveIntermediates/NativeNfcFastConfig/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AccessibilityResources.bundle'
note: Target 'React-Core-60309c9c-AccessibilityResources' (project 'Pods') has create directory command with output '/Users/deepcontrolmacbookpro/Library/Developer/Xcode/DerivedData/NativeNfcFastConfig-ewyimnoosnhlyzdsbwwdsbnkcthu/Build/Intermediates.noindex/ArchiveIntermediates/NativeNfcFastConfig/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AccessibilityResources.bundle'
note: Target 'React-Core-AccessibilityResources' (project 'Pods') has create directory command with output '/Users/deepcontrolmacbookpro/Library/Developer/Xcode/DerivedData/NativeNfcFastConfig-ewyimnoosnhlyzdsbwwdsbnkcthu/Build/Intermediates.noindex/ArchiveIntermediates/NativeNfcFastConfig/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AccessibilityResources.bundle'
warning: Run script build phase 'Start Packager' will be run during every build because it does not specify any outputs. To address this warning, 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 'NativeNfcFastConfig' from project 'NativeNfcFastConfig')
warning: Run script build phase 'Bundle React Native code and images' will be run during every build because it does not specify any outputs. To address this warning, 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 'NativeNfcFastConfig' from project 'NativeNfcFastConfig')
/Users/deepcontrolmacbookpro/NativeNfcFastConfig/ios/Pods/Pods.xcodeproj: error: Signing for "React-Core-60309c9c-AccessibilityResources" requires a development team. Select a development team in the Signing & Capabilities editor. (in target 'React-Core-60309c9c-AccessibilityResources' from project 'Pods')
warning: unexpected mutating task ('SetOwnerAndGroup deepcontrolmacbookpro:staff /Users/deepcontrolmacbookpro/Library/Developer/Xcode/DerivedData/NativeNfcFastConfig-ewyimnoosnhlyzdsbwwdsbnkcthu/Build/Intermediates.noindex/ArchiveIntermediates/NativeNfcFastConfig/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AccessibilityResources.bundle') with no relation to prior mutator ('SetOwnerAndGroup deepcontrolmacbookpro:staff /Users/deepcontrolmacbookpro/Library/Developer/Xcode/DerivedData/NativeNfcFastConfig-ewyimnoosnhlyzdsbwwdsbnkcthu/Build/Intermediates.noindex/ArchiveIntermediates/NativeNfcFastConfig/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AccessibilityResources.bundle') (in target 'React-Core-60309c9c-AccessibilityResources' from project 'Pods')
warning: unexpected mutating task ('SetMode u+w,go-w,a+rX /Users/deepcontrolmacbookpro/Library/Developer/Xcode/DerivedData/NativeNfcFastConfig-ewyimnoosnhlyzdsbwwdsbnkcthu/Build/Intermediates.noindex/ArchiveIntermediates/NativeNfcFastConfig/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AccessibilityResources.bundle') with no relation to prior mutator ('SetMode u+w,go-w,a+rX /Users/deepcontrolmacbookpro/Library/Developer/Xcode/DerivedData/NativeNfcFastConfig-ewyimnoosnhlyzdsbwwdsbnkcthu/Build/Intermediates.noindex/ArchiveIntermediates/NativeNfcFastConfig/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AccessibilityResources.bundle') (in target 'React-Core-60309c9c-AccessibilityResources' from project 'Pods')
warning: duplicate output file '/Users/deepcontrolmacbookpro/Library/Developer/Xcode/DerivedData/NativeNfcFastConfig-ewyimnoosnhlyzdsbwwdsbnkcthu/Build/Intermediates.noindex/ArchiveIntermediates/NativeNfcFastConfig/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AccessibilityResources.bundle/en.lproj' on task: CpResource /Users/deepcontrolmacbookpro/Library/Developer/Xcode/DerivedData/NativeNfcFastConfig-ewyimnoosnhlyzdsbwwdsbnkcthu/Build/Intermediates.noindex/ArchiveIntermediates/NativeNfcFastConfig/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AccessibilityResources.bundle/en.lproj /Users/deepcontrolmacbookpro/NativeNfcFastConfig/node_modules/react-native/React/AccessibilityResources/en.lproj (in target 'React-Core-AccessibilityResources' from project 'Pods')
warning: duplicate output file '/Users/deepcontrolmacbookpro/Library/Developer/Xcode/DerivedData/NativeNfcFastConfig-ewyimnoosnhlyzdsbwwdsbnkcthu/Build/Intermediates.noindex/ArchiveIntermediates/NativeNfcFastConfig/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AccessibilityResources.bundle' on task: MkDir /Users/deepcontrolmacbookpro/Library/Developer/Xcode/DerivedData/NativeNfcFastConfig-ewyimnoosnhlyzdsbwwdsbnkcthu/Build/Intermediates.noindex/ArchiveIntermediates/NativeNfcFastConfig/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AccessibilityResources.bundle (in target 'React-Core-AccessibilityResources' from project 'Pods')
warning: duplicate output file '' on task: MkDir /Users/deepcontrolmacbookpro/Library/Developer/Xcode/DerivedData/NativeNfcFastConfig-ewyimnoosnhlyzdsbwwdsbnkcthu/Build/Intermediates.noindex/ArchiveIntermediates/NativeNfcFastConfig/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AccessibilityResources.bundle (in target 'React-Core-AccessibilityResources' from project 'Pods')
warning: duplicate output file '/Users/deepcontrolmacbookpro/Library/Developer/Xcode/DerivedData/NativeNfcFastConfig-ewyimnoosnhlyzdsbwwdsbnkcthu/Build/Intermediates.noindex/ArchiveIntermediates/NativeNfcFastConfig/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AccessibilityResources.bundle/Info.plist' on task: ProcessInfoPlistFile /Users/deepcontrolmacbookpro/Library/Developer/Xcode/DerivedData/NativeNfcFastConfig-ewyimnoosnhlyzdsbwwdsbnkcthu/Build/Intermediates.noindex/ArchiveIntermediates/NativeNfcFastConfig/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AccessibilityResources.bundle/Info.plist /Users/deepcontrolmacbookpro/NativeNfcFastConfig/ios/Pods/Target Support Files/React-Core/ResourceBundle-AccessibilityResources-React-Core-Info.plist (in target 'React-Core-AccessibilityResources' from project 'Pods')
warning: duplicate output file '' on task: RegisterExecutionPolicyException /Users/deepcontrolmacbookpro/Library/Developer/Xcode/DerivedData/NativeNfcFastConfig-ewyimnoosnhlyzdsbwwdsbnkcthu/Build/Intermediates.noindex/ArchiveIntermediates/NativeNfcFastConfig/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AccessibilityResources.bundle (in target 'React-Core-AccessibilityResources' from project 'Pods')
warning: duplicate output file '' on task: SetMode u+w,go-w,a+rX /Users/deepcontrolmacbookpro/Library/Developer/Xcode/DerivedData/NativeNfcFastConfig-ewyimnoosnhlyzdsbwwdsbnkcthu/Build/Intermediates.noindex/ArchiveIntermediates/NativeNfcFastConfig/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AccessibilityResources.bundle (in target 'React-Core-AccessibilityResources' from project 'Pods')
warning: duplicate output file '' on task: SetOwnerAndGroup deepcontrolmacbookpro:staff /Users/deepcontrolmacbookpro/Library/Developer/Xcode/DerivedData/NativeNfcFastConfig-ewyimnoosnhlyzdsbwwdsbnkcthu/Build/Intermediates.noindex/ArchiveIntermediates/NativeNfcFastConfig/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AccessibilityResources.bundle (in target 'React-Core-AccessibilityResources' from project 'Pods')
warning: duplicate output file '' on task: SetOwnerAndGroup deepcontrolmacbookpro:staff /Users/deepcontrolmacbookpro/Library/Developer/Xcode/DerivedData/NativeNfcFastConfig-ewyimnoosnhlyzdsbwwdsbnkcthu/Build/Intermediates.noindex/ArchiveIntermediates/NativeNfcFastConfig/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AccessibilityResources.bundle (in target 'React-Core-AccessibilityResources' from project 'Pods')
warning: duplicate output file '' on task: Touch /Users/deepcontrolmacbookpro/Library/Developer/Xcode/DerivedData/NativeNfcFastConfig-ewyimnoosnhlyzdsbwwdsbnkcthu/Build/Intermediates.noindex/ArchiveIntermediates/NativeNfcFastConfig/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AccessibilityResources.bundle (in target 'React-Core-AccessibilityResources' from project 'Pods')```
I tried to check certificates, identifiers and profiles
1条答案
按热度按时间7eumitmz1#
对于我这种情况的人来说,下面的评论解决了我的问题
https://stackoverflow.com/a/67406304/21178914