alpha-wallet-ios icon indicating copy to clipboard operation
alpha-wallet-ios copied to clipboard

Unable to build AlphaWallet from Xcode Cloud

Open michael-geurtjens opened this issue 2 years ago • 4 comments

I get the following error when trying to build alpha wallet with Xcode cloud.

Archive - iOS encountered a failure that caused the build to fail. Image AlphaWalletFoundation Undefined symbol: _$s10RealmSwift7ResultsVyxGAA0A14CollectionImplAAMc Image AlphaWalletFoundation Undefined symbol: _$s10RealmSwift0A14CollectionImplPAAE12makeIteratorAA11RLMIteratorVy7ElementQzGyF

It does most things. You have to setup cocoa pods as stated in this document https://developer.apple.com/documentation/xcode/making-dependencies-available-to-xcode-cloud in the section "Make CocoaPods dependencies available to Xcode Cloud"

michael-geurtjens avatar Feb 03 '23 03:02 michael-geurtjens

Thanks for the tip. We don't use Xcode Cloud at the moment. Would you be able to submit a PR if you need the functionality? From the documentation you posted, it looks like we just need a script which installs CocoaPods tools and use it to install the pods.

hboon avatar Feb 06 '23 03:02 hboon

What is your build process? Maybe I can adopt that one rather than using Xcode Cloud.

michael-geurtjens avatar Feb 06 '23 22:02 michael-geurtjens

For CI with GitHub PRs:

.travis.yml

For TestFlight/submissions:

env FASTLANE_USER=<email> FASTLANE_PASSWORD=<password> FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD=<password2> bundle exec fastlane upload

Also see the Makefile for make test. But it's only used locally

hboon avatar Feb 07 '23 00:02 hboon

Same issue with me but i take build without xcode cloud. Can you please help ?

akhilccrb avatar Apr 13 '23 08:04 akhilccrb