techwizard1000
techwizard1000

Reputation: 71

Xcode with Apple M1 error: Class is implemented in both /usr/lib/libauthinstall.dylib and /System/Library/PrivateFrameworks/MobileDevice.framework

In Terminal getting the following message running code using gfortran. Seems to be an Xcode 12.5 on Big Sur and M1 chip:

objc[1554]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libauthinstall.dylib (0x1f2022c10) and /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1147bc2b8). One of the two will be used. Which one is undefined.
objc[1554]: Class AMSupportURLSession is implemented in both /usr/lib/libauthinstall.dylib (0x1f2022c60) and /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1147bc308). One of the two will be used. Which one is undefined.

suggestions?

Upvotes: 6

Views: 4214

Answers (2)

Solved this problem. Force delete everything in ~/.pub-cahe/hosted/pub.dartlang.org and then in the project in the flutter pub get console

Upvotes: 0

Jayson Brennan
Jayson Brennan

Reputation: 11

My issue was related to changing the username on my Mac account. I resolved this by deleting the ~/Library/Developer/Xcode/DerivedData folder.

Upvotes: 1

Related Questions