:wave: Anyone here tried fastlane gym to archive ...
# multiplatform
s
👋 Anyone here tried fastlane gym to archive a KMP based iOS project to distribute to firebase (or any other platform) through circleCI? The build gets stuck trying to run
embedAndSignAppleFrameworkForXcode
on circleCI. Everything (including the firebase distribution) works fine locally.
s
I've done all that but on bitrise rather than circle ci, what's the error you're getting?
s
I don't get any error. The build on circleCI runs that script from xcode build phase and just sits there until timeout.
s
Does the xcode version on circle match the one locally? Maybe you could add --verbose to the script step for more output?
s
I assume you used
fastlane build_gym
too
s
Yep! All through fastlane
s
I tried --verbose. Nothing showed up.
and the gradle command from xcode build phase?
plus one 1
s
Yeah, if verbose also gave you nothing I can't think what else could help, other than to double check the xcode version
s
xcode version is set to 13.4.1
Copy code
./gradlew :kmp:orchestrators:saks:embedAndSignAppleFrameworkForXcode --verbose &> $LOG_FILE_PATH
That's what I am doing in the .sh script that gets triggered from build phase
s
You're redirecting the output to a log file? Is that log file empty?
Have you ever had this working? If not I'd advise seeing if you can get a bare bones project building on circle ci?
s
The log file stops at
tasks:AndSignAppleFrameworkForXcode
Yeah. The gradle works fine with fastlane scan on other PRs
c
I got something similar to this when trying to add KMM to an old project which was using Xcode legacy build system. I had to upgrade to use the new build system.
All built fine locally but the KMM gradle build would just hang on CI
s
@coolcat I am using the build system with xcode 13.4.1
@coolcat Were you able to archive on CI? I am only seeing the issue when I archive.
c
The only build issues I saw were when the project was using Legacy Build System, instead of New Build System. (Xcode, File > Workspace Settings/Project Settings)