bytedance / Fastbot_iOS

About Fastbot(2.0) is a model-based testing tool for modeling GUI transitions to discover app stability problems
Other
563 stars 114 forks source link

使用命令行执行报错error: No profiles for 'bytedance.FastbotRunner.xctrunner' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'bytedance.FastbotRunner.xctrunner'. #97

Closed yanzhangzhangyan closed 1 year ago

yanzhangzhangyan commented 2 years ago

命令行: BUNDLEID=com.xxx.xxx duration=240 throttle=300 xcodebuild test -workspace /Users/code/Fastbot_iOS/Fastbot-iOS/Fastbot-iOS.xcworkspace -scheme FastbotRunner -configuration Release -destination 'platform=iOS,id=xxx-000C4D6E14xxxx' -only-testing:FastbotRunner/FastbotRunner/testFastbot

报错: Command line invocation: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild test -workspace /Users/code/Fastbot_iOS/Fastbot-iOS/Fastbot-iOS.xcworkspace -scheme FastbotRunner -configuration Release -destination platform=iOS,id=00008030-xxxxx "-only-testing:FastbotRunner/FastbotRunner/testFastbot"

User defaults from command line: IDEPackageSupportUseBuiltinSCM = YES

note: Using new build system note: Planning Analyze workspace

Create build description Build description signature: 5aa77e099549c30bd5e007cssss Build description path: /Users/Library/Developer/Xcode/DerivedData/Fastbot-iOS-erxshbocltjumwaxylxownvqomuv/Build/Intermediates.noindex/XCBuildData/5aa77e099549c007c93e5919da-desc.xcbuild

note: Build preparation complete note: Building targets in parallel error: No profiles for 'bytedance.FastbotRunner.xctrunner' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'bytedance.FastbotRunner.xctrunner'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'FastbotRunner' from project 'Fastbot-iOS')

Test session results, code coverage, and logs: /Users/Library/Developer/Xcode/DerivedData/Fastbot-iOS-erxshbocltjumwaxylxownvqomuv/Logs/Test/Test-FastbotRunner-2022.07.13_09-34-12-+0800.xcresult

Testing failed: No profiles for 'bytedance.FastbotRunner.xctrunner' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'bytedance.FastbotRunner.xctrunner'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. Testing cancelled because the build failed.

TEST FAILED

yanzhangzhangyan commented 2 years ago

已经解决了,因为我product bundle identifier配置的原因