MadLeo
MadLeo

Reputation: 496

Build error in Xcode on cloud-hosted Mac on VSTS

I'm getting following error while building my project on cloud

no such module 'RxCocoa' import RxCocoa

** BUILD FAILED **

The following build commands failed:
CompileSwift normal arm64
CompileSwiftSources normal arm64com.apple.xcode.tools.swift.compiler (2 failures) Error: /usr/bin/xcodebuild failed with return code: 65

the reason is same as building on local machine when frameworks are not added in 'Link Binary With Libraries' then Xcode throw this error.

So my question is how to fix this issue in Xcode on cloud-hosted Mac?

Thanks in Advance

Upvotes: 4

Views: 4292

Answers (2)

Chathurka
Chathurka

Reputation: 625

I have faced another issue and fixed this issue after 4 days.

Please check your configuration: '$(configuration)' scheme: '$(scheme)'

Most of example tell you "configuration" as "Release" if you have custom configuration please use particular name.

Upvotes: 2

MadLeo
MadLeo

Reputation: 496

ok so just replacing **/*.xcodeproj/project.xcworkspace with projectname.xcworkspace fixed my issue

May be it will help others.

Thanks

Upvotes: 11

Related Questions