Post

Replies

Boosts

Views

Activity

XML Parser - resolveExternalEntityName : how to resolve an code 26 error
Hello, i'm using XMLParser to parse a RSSFeed. It was fine until few weeks ago. Now, I'm getting a code 26 error : `Error Domain=NSXMLParserErrorDomain Code=26 "(null)" UserInfo={NSXMLParserErrorColumn=29, NSXMLParserErrorLineNumber=11, NSXMLParserErrorMessage=Entity 'rsquo' not defined which relies to a special characters: ' . Once said, I found this function to help me resolving it but I don't manage to use it correctly, I don't know what to return to solve the error : func parser(_ parser: XMLParser, resolveExternalEntityName name: String, systemID: String?) -> Data? {     print(" entity \(name) || \(systemID)") // gives : entity rsquo || nil     let newData = " ".data(using: .utf8)     print("newdata \(newData)") //Optional(1 bytes)     return newData After this method is called, I still get a parseErrorOccured. What should i return ? Thanks in advance for feedbacks
1
0
575
Oct ’21
XCode 15 - issue while building archive - file or directory not found
I use Xcode 15, pods 1.14.0, ruby 3.2.2. My project builds fine for simulator, but I get an error when trying to build archive : rsync: [sender] change_dir "/Users/myname/MyApp../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos" failed: No such file or directory (2) brew is up to date, so is rsync All updates look good. I'm struggling for days now, I can't get what's wrong. Did anyone faced this issue ?
3
0
1.1k
Oct ’23