twilio / conversations-ios

SPM releases
https://www.twilio.com/docs/conversations/ios/changelog
10 stars 5 forks source link

Xcode build fails in Azure DevOps Pipeline #14

Closed jvigneshcs closed 2 years ago

jvigneshcs commented 2 years ago

We are trying to build the iOS application from Azure DevOps and we are getting following error there

⚠️ ld: ignoring file /Users/runner/Library/Developer/Xcode/DerivedData/Product_Name-hgkhrgsmdzyoslehotgkkdwfvyrm/Build/Products/Release-iphoneos/TwilioConversationsClient.framework/TwilioConversationsClient, building for iOS-armv7 but attempting to link with file built for iOS-arm64

❌ Undefined symbols for architecture armv7

Symbol: _OBJCCLASS$_TCHUser Referenced from: objc-class-ref in TwilioConversationsViewController.o

❌ ld: symbol(s) not found for architecture armv7

We are able to build and generate IPA from our local Mac machine. Any idea how can we fix this?

jvigneshcs commented 2 years ago

Never mind I just checked the TwilioConversationsClient framework only supports arm64 architecture not armv7 or earlier. So closing this issue.