mattermost / mattermost/react-native-network-client

build issues

Open
#72 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
48
Forks
26
Avg merge
1h 29m
Merged PRs (30d)
2

Description

Hey everyone, wanted to say I stumbled upon your repo by pure luck. I really need a library that I can do raw network requests since fetch() won’t work the way I need it to. I noticed you had taken down your npm so I forked the repo and published it myself. I rather not but I really want to try this library out.

Right now when I try to consume the published package I get the following error:

The following build commands failed:
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
CompileSwift normal x86_64 /Users/greg/Documents/code/testo/tax-react-native-starterkit/node_modules/react-native-network-client/ios/WebSocketManager.swift
(2 failures)

not much description as to what is really wrong?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the published package build and review the reported Xcode commands, especially CompileSwiftSources for ios/WebSocketManager.swift. Inspect that file and the package's iOS build configuration to identify the compiler failure. Done means the package builds successfully for the reported x86_64 target and can be consumed without this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, swift, typescript
Domain
build-system, mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.