Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Illegal instruction: 4 error while using map or for loop #23

Open
balasaida opened this issue Oct 17, 2018 · 2 comments
Open

Getting Illegal instruction: 4 error while using map or for loop #23

balasaida opened this issue Oct 17, 2018 · 2 comments

Comments

@balasaida
Copy link

Hi, I am trying to get the array of the xml elements by using the map / flatmap or for loop but I am getting Illegal instruction: 4 error.

let b = xml["S:Envelope", "S:Body", "ModelArrayElement", "model"].map { $0.Name.text }

@kazuhiro4949
Copy link
Member

@balasaida Could you show me a sample xml document to reproduce the output?

@omar-Tickerchart
Copy link

omar-Tickerchart commented Nov 18, 2021

I have the same issue, happened when I replaced the frame work with a source code files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants