![]() CocoaPods is an independent project from Google and from Apple: įor more info on packages vs. Without CocoaPods, Flutter plugins will not work on iOS or macOS. It is used by Flutter's Dart plugin to call iOS and macOS platform's plugins. The Ruby package manager CocoaPods is meant for iOS development. In the menu Xcode > Preferences…, tab Locations, check that the version of Command Line Tools to use is Xcode 13.3. We are anticipating on the need when installing the Flutter SDK in Part 3 because in March 2022 the latest stable Flutter still uses a Dart SDK that is using legacy Intel X86_64 code.Īt first launch, Xcode immediately requires some additional installations before it installs Rosetta 2.Ĭlick Install. Now comes the reason why on Mac M1 we install Flutter by starting installing Xcode: Xcode installs Rosetta 2 that helps using legacy Intel X86_64 code.ĭouble-click to run Xcode once, that installs Rosetta 2. The message doesn't appear anymore if, after installing Rosetta as below, you run `xcodebuild` from a Terminal that is open using Rosetta (from the Finder, File > Get Info > checkbox Open using Rosetta). It seems to be caused by Xcode 13.3 having the executable of `xcodebuild` built for Intel X64. objc: Class AppleTypeCRetimerRestoreInfoHelper is implemented in both /usr/lib/libauthinstall.dylib (0x1f9681eb0) and /Library/Apple/System/Library/PrivateFrameworks/amework/Versions/A/MobileDevice (0x106e644f8). It has no impact on the use of Xcode and CocoaPods by Flutter. Note: disregard the strange error message below if it is displayed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |