During setting up the pipeline for a app i ran into the issue that the
“npx cap build ios” command always failed → then i found out that the ampersand & within the signing identity caused the problem, because its pasted directly into an EsportOptions.plist xml file without escaping it to and & which destroys the format.
this are the specific error details:
Building xArchive in 131.56s
Building IPA - failed!
[error] error: Couldn’t load -exportOptionsPlist: The data couldn’t be read because it isn’t in the correct format.
Swift.DecodingError.dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not a valid property list.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Encountered unknown ampersand-escape sequence at line 15" UserInfo={NSDebugDescription=Encountered unknown ampersand-escape sequence at line 15, kCFPropertyListOldStyleParsingError=Error Domain=NSCocoaErrorDomain Code=3840 "Malformed data byte group at line 1; invalid hex" UserInfo={NSDebugDescription=Malformed data byte group at line 1; invalid hex}})))
could you please fix that in one of the following versions ?
for now i replace the ampersand in the bash script manually…