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

Build error - iOS #11

Open
KrunalXpress opened this issue Jun 16, 2020 · 14 comments
Open

Build error - iOS #11

KrunalXpress opened this issue Jun 16, 2020 · 14 comments

Comments

@KrunalXpress
Copy link

Getting this error after adding swift file and adding a bridging header.

Screenshot 2020-06-16 at 12 55 28 PM

My project looks like this -
Screenshot 2020-06-16 at 1 03 11 PM

Content of MQTTBridge.swift
import Foundation

Content of Project-Bridging-Header.h
#ifndef project_Bridging_Header_h #define project_Bridging_Header_h #endif

Pls help

@bmeverett
Copy link

I'm getting the same issue

 "react": "16.11.0",
 "react-native": "0.62.2",

@dev-marceloborba
Copy link

Same problem here

@FrozenPyrozen
Copy link

Same problem

@FrozenPyrozen
Copy link

FrozenPyrozen commented Nov 26, 2020

@davesters can you fix it or do you have some suggestions?

"react": "16.13.1",
"react-native": "0.63.3",

@FrozenPyrozen
Copy link

@256hz can you suggest what to do with that error?
image

@dpyeates
Copy link

Getting the same errors as the screen shot above. Has anyone had any success in resolving?

@averypelle
Copy link

Also experiencing this issue. @davesters Any advice on a fix?
For others in this thread, what XCode version and macOS version are you on? I am experiencing this on XCode 12.3 and macOS 11.1 Big Sur

@Victor-Varghese
Copy link

@davesters any updates on this? Any workaround?

@shyam-bihari
Copy link

I'm facing same error, Do anyone have suggestion to solve it, @KrunalXpress @Victor-Varghese @averypelle

@Victor-Varghese
Copy link

I couldn't make this library work, i moved on to https://github.com/AnxiousDarkly/react-native-mqtt as this was the only library that connected with auth and SSL

@semr9
Copy link

semr9 commented Apr 28, 2021

Does anyone resolve the problem?

@unixbigot
Copy link

I'm still struggling with it. The branch from @FrozenPyrozen works for me on android, but won't compile on ios. I've collected some fixes from various branches but there's one last build error I can't get past. https://github.com/accelerando-consulting/rn-native-mqtt

@konradcho
Copy link

In Project(NOT TARGET) Build Settings -> Library Search Paths - remove "$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)"

Then in Pod Settings for react-native-native-mqtt -> Build Phases -> Compile Sources - remove 2 files: - GDCAsyncSocket.m - GDCAsyncUdpSocket.m

@FrozenPyrozen
Copy link

FrozenPyrozen commented Oct 26, 2021

Updated my fork of this lib with working iOS build https://github.com/FrozenPyrozen/rn-native-mqtt

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