Comments (7)
I suspect those locations are enough. As for clang_x64
and clang_arm64
, there isn't any way to programmatically retrieve those locations from somewhere that I can think of off the top of my head, but those are the standard names for the output directory for targets that are cross-built during our GN build.
You might also walk the tree looking for paths that end in .../gen/SDKs/
, and assume that the contents is the symlinks that need to be removed.
from flutter.
src/out/host_debug_unopt_arm64/gen/SDKs/MacOSX13.3.sdk
is a symlink pointing to osx_sdk/xcode_14e300c/XCode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk
.
Too many levels of symbolic links
happens due to some defult symlinks related to ruby from the xcode CIPD pacakge.
from flutter.
Have tried a couple of LED runs based on the drone build:
Failed:
- Attempt1: remove symlink, copy target to src/out, copy directly from xcode/sdk (self.m.path['cache'].join('osx_sdk', 'xcode_14e300c', 'XCode.app', 'Contents', 'Developer', 'Platforms', 'MacOSX.platform', 'Developer', 'SDKs', 'MacOSX13.3.sdk') to build_dir.join('gen', 'SDKs', 'MacOSX13.3.sdk') - Too many levels of symbolic links
- Attempt2: remove symlink, copy target to src/out, zip xcode/sdk - Not all files were readable
- Attempt3: remove symlink, copy target to src/out, recreate symlink in src/out pointing to xcode/sdk - infra error when uploaded to cas
- Attempt4: copy target to src/out with symlinks=True - infra error when uploaded to cas
Succeeded:
- Attempt5: remove symlink, copy target to src/out, upload without MacOS_SDK - Pass
from flutter.
Following up with the above Attempt5. By removing symlink and upload to CAS without MacOS_SDK, it also passes on parent build:
Linux mac_unopt
Mac mac_ios_engine
Mac mac_host_engine
Since this affects only the digest uploaded to CAS, it would not affect artifacts uploaded to GCS and then should not affect Framework side.
from flutter.
To make it work, I have to manually remove the symlinks of MacOS SDK
in three locations:
src/out/`build name`/gen/SDKs - host_debug_unopt & host_debug_unopt_arm64
src/out/`build name`/clang_x64/gen/SDKs - ios_debug_sim
src/out/`build name`/clang_arm64/gen/SDKs - ios_debug_sim_arm64_extension_safe
@zanderso Are these three locations enough? Is there any way to auto retrieve these three locations, I mean clang_x64
/clang_arm64
?
from flutter.
https://flutter-review.googlesource.com/c/recipes/+/53803 is a potential fix. But a better approach to move the MacOS SDK to a different location works. Closing.
from flutter.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v
and a minimal reproduction of the issue.
from flutter.
Related Issues (20)
- Assertion error when using FittedBox (BoxFit.scaleDown,) inside AspectRatio within a Container with fixed width HOT 3
- Unwanted Padding/Divider between headerSliverBuilder widgets and body in NestedScrollView. HOT 2
- [tool_crash] ProcessException: Failed to find "C:\Users\seyed\.jdks\corretto-17.0.6\bin\bin\java" in the search path. Command: C:\Users\seyed\.jdks\corretto-17.0.6\bin\bin\java, OS error code: 0 HOT 2
- Exif data from ImagePicker -> ImageSource.camera on iOS not containing GPS data HOT 7
- Black screen when startup macOS app HOT 5
- Mac_build_test doesn't prepare iOS device HOT 8
- 3.20 beta release branching HOT 2
- Make Linux Template simpler/Have a gobject subclass FlutterApplication HOT 5
- menuChildren by MenuAnchor gets hidden behind mobile keyboard HOT 3
- linux-55 lost external connection from phone device. HOT 1
- mac-23 lost external connection from phone device. HOT 1
- linux-44 is getting internal temperature issue to room temperature is getting hot. HOT 2
- linux-39 is getting internal temperature issue to room temperature is getting hot. HOT 1
- mac-28 lost external connection from phone device. HOT 2
- mac-30 lost external connection from phone device. HOT 1
- linux-20 is dead. HOT 2
- `FocusManager` does not respond to changes in app lifecycle state HOT 2
- [camera][camera_avfoundation] Suspicious EXIF "FocalLengthIn35mmFilm" field value HOT 7
- Drop the timeout of fuchsia_linux from 75 minutes to 60 minutes HOT 2
- Native assets: visionOS support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter.