Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

10.1.4 Creating Build Error for iOS target (XF solution) #2378

Closed
dgerding opened this issue May 14, 2021 · 8 comments
Closed

10.1.4 Creating Build Error for iOS target (XF solution) #2378

dgerding opened this issue May 14, 2021 · 8 comments
Assignees
Labels
More-information-needed More information is needed to progress. The issue will close automatically in 2 weeks. O-Community

Comments

@dgerding
Copy link

Goals

Tried updating from 10.1.3 to 10.1.4 realm-dotnet nuget package.

Expected Results

Continued operation.

Actual Results

Got the following error during build for iOS.
MessagingRemoteException: An error occurred on client Build169000292 while executing a reply for topic xvs/build/execute-task/appName.iOS/5c2edeb002fCodesign
AggregateException: One or more errors occurred.
DirectoryNotFoundException: Could not find a part of the path '/Users/davidgerding/Library/Caches/Xamarin/mtbs/builds/appName.iOS/5c2edeb1da9145e38b77d21bf03639cf474b6aa439e357820025632e07dc2a21/bin/iPhoneSimulator/Debug/appName.iOS.app/Frameworks/realm-wrappers.framework/_CodeSignature'. appName.XF.iOS

Steps to Reproduce

Downgrading 10.1.3 makes build error go away. Tried twice both ways.

Version of Realm and Tooling

10.1.3 and 10.1.4
Visual Studio 2019 (latest) on both Windows and Mac build machine . (Building from Windows)

@papafe
Copy link
Contributor

papafe commented May 17, 2021

Hi @dgerding, have you tried removing the content of the build cache on the Mac? That is removing the subfolders of Users/davidgerding/Library/Caches/Xamarin/mtbs/builds/
Another thing that could be useful is doing a clean and removing also the obj/bin folders.

@papafe
Copy link
Contributor

papafe commented May 21, 2021

Hi @dgerding did you manage to solve your issue?

@papafe papafe self-assigned this May 21, 2021
@nirinchev
Copy link
Member

Someone on the forums has reported the same issue: https://developer.mongodb.com/community/forums/t/mongodb-realm-xamarin-forms-issue/107853/

@dgerding
Copy link
Author

Hi @dgerding, have you tried removing the content of the build cache on the Mac? That is removing the subfolders of Users/davidgerding/Library/Caches/Xamarin/mtbs/builds/
Another thing that could be useful is doing a clean and removing also the obj/bin folders.

I couldn't find the Xamarin folder along that path. I'll search for mtbs and report back.

@papafe
Copy link
Contributor

papafe commented May 26, 2021

Hi @dgerding let us know how it goes.
It could also be that you are seeing the same error as another user on the MongoDB forums here. In that case the user is going around the issue temporarily by building directly on Mac.

@nirinchev
Copy link
Member

Likely duplicate of #2448.

@papafe
Copy link
Contributor

papafe commented Jul 6, 2021

@dgerding Did you possibly check if building directly on Mac works for you?

@nirinchev nirinchev added the More-information-needed More information is needed to progress. The issue will close automatically in 2 weeks. label Jul 10, 2021
@nirinchev
Copy link
Member

This was a regression in VS for Windows which has now been addressed.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
More-information-needed More information is needed to progress. The issue will close automatically in 2 weeks. O-Community
Projects
None yet
Development

No branches or pull requests

3 participants