Xcode-build-for-test step fails

Bitrise Build Issue Report template

xcode-build-for-test fails

Getting error on building xcode-build-for-test step:

Environment:

Stack : Hybrid(Xamarin,Ionic) on MacOS,includes Visual Studio for Mac,Stable channel.

Step xcode-build-for-test fails 0.2.1

Reproducibility

  • Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : NO
  • Does a rebuild without caches help? (You can remove the Cache:Pull and Cache:Push steps temporarily to not to use the cache, or you can delete all the caches on the Settings tab of the app. : NO
  • Does the issue happen sporadically, or every time? : Every time
  • Does upgrading the build Step to the latest version help? : NO
  • When did the issue start? : This issue was resolved on 14th Dec but it started occurring again on 17th Dec.

Local reproduction

No, it works fine on developers machine.

Build log

URL : Bitrise - Mobile Continuous Integration and Delivery - iOS & Android Build Automation

Error log: Copying PhotoSlider-umbrella.h
:x: /Users/vagrant/git/Pods/PhotoSlider/Sources/Classes/ImageView.swift:9:8: module file’s minimum deployment target is ios10.0 v10.0: /Users/vagrant/Library/Developer/Xcode/DerivedData/Juster-gyeutqkamlqinncmmompsdccjron/Build/Products/Debug_production-iphoneos/Kingfisher/Kingfisher.framework/Modules/Kingfisher.swiftmodule/arm.swiftmodule
import Kingfisher
^
Last lines of the Xcode’s build log:
Command CompileSwift failed with a nonzero exit code
** TEST BUILD FAILED **
The following build commands failed:
CompileSwift normal armv7
CompileSwiftSources normal armv7 com.apple.xcode.tools.swift.compiler
CompileSwift normal arm64
(3 failures)
You can find the last couple of lines of Xcode’s build log above, but the full log is also available in the raw-xcodebuild-output.log
The log file is stored in $BITRISE_DEPLOY_DIR, and its full path is available in the $BITRISE_XCODE_RAW_RESULT_TEXT_PATH environment variable
(value: /Users/vagrant/deploy/raw-xcodebuild-output.log)
Build failed, error: exit status 65
| |
±–±--------------------------------------------------------------±---------+
| x | xcode-build-for-test (exit code: 1) | 13.7 min |
±–±--------------------------------------------------------------±---------+
| Issue tracker: …thub.com/bitrise-steplib/steps-xcode-build-for-test/issues |
| Source: GitHub - bitrise-steplib/steps-xcode-build-for-test |
±–±--------------------------------------------------------------±---------+

Hello @exzeo-release!

there are some ideas I have, are you using the same xcode version locallty then the on installed on the stack?
is the deployment target 10.0 or up? and it would be great to have the raw xcode build log, if you were to inert a deploy to bitrise.io step and rebuild it could help us big time. :upside_down_face:

This issue has been resolved. There is an issue between PhotoSlider 0.18.0 and the Kingfisher 5.0.1 pods. So we have specifiied specific version PhotoSlider v0.22.0 and Kingfisher v4.8.0 in our code. This resolved the issue.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.