有人可以帮忙吗? 当Fastlane将IOS App部署到AppStore时,“String Not Matched”一直存在。
这是输出:
INFO [2017-09-21 17:03:17.54]: Making sure the latest version on iTunes Connect matches '1.0' from the ipa file...
INFO [2017-09-21 17:03:20.00]: '1.0' is the latest version on iTunes Connect
INFO [2017-09-21 17:03:22.36]: Loading './fastlane/metadata/en-US/description.txt'...
INFO [2017-09-21 17:03:22.36]: Loading './fastlane/metadata/en-US/keywords.txt'...
INFO [2017-09-21 17:03:22.36]: Loading './fastlane/metadata/en-US/release_notes.txt'...
INFO [2017-09-21 17:03:22.36]: Loading './fastlane/metadata/en-US/support_url.txt'...
WARN [2017-09-21 17:03:22.97]: Lane Context:
INFO [2017-09-21 17:03:22.97]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios release", :BUILD_NUMBER=>"7", :IPA_OUTPUT_PATH=>"/Users/me/Desktop/xxx/xxx.ipa", :DSYM_OUTPUT_PATH=>"/Users/me/Desktop/xxx/xxx.app.dSYM.zip", :XCODEBUILD_ARCHIVE=>"/Users/me/Library/Developer/Xcode/Archives/2017-09-21/xxx 2017-09-21 17.02.40.xcarchive"}
**ERROR [2017-09-21 17:03:22.98]: string not matched**
INFO [2017-09-21 17:03:22.98]: Successfully generated documentation at path '/Users/me/Desktop/xxx/fastlane/README.md'
答案 0 :(得分:0)
这可能是您自己的一个脚本中的一个问题,可能在Fastfile中。当您认为自己拥有哈希但实际上有一个字符串时,会发生这种情况:
s = "a string"
s["position"] = "an other string"
IndexError: string not matched