crisp-im / crisp-sdk-ios

:package: Crisp iOS SDK, add a chat in any iOS app and communicate with your users.
https://docs.crisp.chat/guides/chatbox-sdks/ios-sdk/
Other
43 stars 18 forks source link

IOS Version #32

Closed ArchiReport closed 3 years ago

ArchiReport commented 3 years ago

What is the minimum version of IOS? I cant submit with 12.0. Thanks for your help Julien (I have no error with Pod install)

ArchiReport commented 3 years ago
Capture d’écran 2020-11-20 à 13 22 31
nesium commented 3 years ago

Hi Julien. That is puzzling. We're building the app with an iOS deployment target of 10.0. If you look at the binary with otool, you can see that the minimum version is 10.0…

$ otool -l ./Crisp.xcframework/ios-arm64_armv7/Crisp.framework/Crisp
…
Load command 9
      cmd LC_VERSION_MIN_IPHONEOS
  cmdsize 16
  version 10.0
      sdk 14.2
…
nesium commented 3 years ago

Hi Julien. I was able to upload a build with a iOS 12 deployment target to App Store Connect. Currently I have no idea what the problem could be. The ITMS-90125 error looks suspicious as well. Do you have any idea where that is coming from?

ArchiReport commented 3 years ago

Thanks Marc, I'll look. I have compilation issues when using the code in Swift. I had to redo everything in Objective-c.

jcotteaux commented 3 years ago

When i want to import Crisp in my Swift class, I have this error

"Failed to build module 'Crisp' from its module interface; it may have been damaged or it may have triggered a bug in the Swift compiler when it was produced"

Do you have an idea ?

The 2 things may be related.

Capture d’écran 2020-11-23 à 10 00 01

Thanks for your help

jcotteaux commented 3 years ago

With the same configuration, all is ok with 1.0.3 version

nesium commented 3 years ago

@jcotteaux What version of Xcode and Cocoapods are you using? Do you happen to run your build on an Apple Silicon machine?

jcotteaux commented 3 years ago

I archive my build on my Mac

nesium commented 3 years ago

Thanks Julien! Could you please try again with Cocoapods version 1.10.0 as it contains changes related to XCFrameworks.

Please also make sure to perform a clean build afterwards and potentially clean the pods cache and reinstall the pods again, as I'm not sure how Cocoapods behaves after an upgrade.

jcotteaux commented 3 years ago

TOP @nesium !! Everything seems to work. Thank you for your help. Have a nice day. Julien

ArchiReport commented 3 years ago

👍