Particle-Network / particle-ios

Particle iOS SDK
https://particle.network
Apache License 2.0
17 stars 3 forks source link

Pod install not working on Xcode 14 #3

Closed andresfilia closed 2 years ago

andresfilia commented 2 years ago

When I run pod install using this Podfile

Screenshot 2022-10-27 at 16 57 51

The Pods returns that error...

Screenshot 2022-10-27 at 16 56 27

If I remove the specific version from pod ParticleNetworkBase, when I run the Project the Xcode returns this error:

Module compiled with Swift 5.6.1 cannot be imported by the Swift 5.7 compiler: /Users/andre/Documents/XXX/xxx-ios/Pods/ParticleNetworkBase/Frameworks/ParticleNetworkBase.framework/Modules/ParticleNetworkBase.swiftmodule/arm64-apple-ios.swiftmodule

Screenshot 2022-10-27 at 17 03 16

SunZhiC commented 2 years ago

If you are using Xcode 14, you should specify version number in Podfile. Remove Podfile.lock then execute 'pod install' in terminal again.

andresfilia commented 2 years ago

Thanks, It worked! I tried this yesterday but not working! Today it worked when I deleted the derived data to.

Thanks for your help.