espressif / esp-rainmaker-ios

ESP RainMaker iOS app sources
https://rainmaker.espressif.com/
Apache License 2.0
48 stars 25 forks source link

Error #2

Closed Vishnu2201 closed 3 years ago

Vishnu2201 commented 3 years ago

When I run ESPRainmaker it shows 4 error as the follows Type 'ConnectViewController' does not conform to protocol 'ESPDeviceConnectionDelegate' Type 'ProvisionLandingViewController' does not conform to protocol 'ESPDeviceConnectionDelegate' Type 'ScannerViewController' does not conform to protocol 'ESPDeviceConnectionDelegate' Command CompileSwift failed with a nonzero exit code Can you please walk me through these error correction

Screenshot 2021-05-21 at 9 52 52 AM
vikas-chandra-mnnit commented 3 years ago

@Vishnu2201 You need to edit your PodFile to use older version of the ESPProvision library.

pod 'ESPProvision', '2.0.9'

Do pod clean and pod install and rebuild the app.

Vishnu2201 commented 3 years ago
Screenshot 2021-05-21 at 5 44 26 PM

Am getting a single error now as Command PhaseScriptExecution failed with a nonzero exit code

vikas-chandra-mnnit commented 3 years ago

@Vishnu2201 You need to instal SwiftFormat using brew install swiftformat.

Vishnu2201 commented 3 years ago

Thankyou its working